/*
 * Professores Newcastle 1.0.0
 * Base visual consolidada da aplicação, administração, login e instalação.
 * Mantida sem dependências externas para funcionar também em projeção e PWA.
 */

:root {
  --nci-blue: #14246b;
  --nci-blue-2: #0b1544;
  --nci-blue-3: #1d327f;
  --nci-red: #e53438;
  --nci-red-2: #c62429;
  --nci-yellow: #f4c542;
  --nci-ink: #141414;
  --nci-muted: #667085;
  --nci-soft: #f4f6fb;
  --nci-soft-2: #eef1f8;
  --nci-line: rgba(20, 20, 20, .09);
  --nci-white: #fff;
  --nci-green: #1a9a62;
  --nci-radius-xl: 32px;
  --nci-radius-lg: 24px;
  --nci-radius-md: 18px;
  --nci-shadow-soft: 0 24px 70px rgba(9, 18, 62, .14);
  --nci-shadow-card: 0 14px 42px rgba(9, 18, 62, .10);
  --nci-container: 1180px;
  --sidebar-width: 360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--nci-ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  fill: currentColor;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(229, 52, 56, .22);
  outline-offset: 2px;
}

.container {
  width: min(100% - 40px, var(--nci-container));
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--nci-red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .84);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--nci-red);
  border-color: var(--nci-red);
  box-shadow: 0 14px 30px rgba(229, 52, 56, .25);
}

.btn-primary:hover {
  background: var(--nci-red-2);
  border-color: var(--nci-red-2);
}

.btn-light {
  color: var(--nci-blue);
  background: #fff;
  border-color: #fff;
}

.btn-light:hover {
  color: #fff;
  background: transparent;
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .08);
}

.btn-ghost-light:hover {
  color: var(--nci-blue);
  background: #fff;
  border-color: #fff;
}

.btn-full {
  width: 100%;
}


.login-page {
  min-height: 100vh;
  background: var(--nci-soft);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
}

.login-visual {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background: var(--nci-blue-2) url('../images/brand-hero.jpg') center/cover no-repeat;
}

.login-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(229, 52, 56, .34), transparent 32%),
    linear-gradient(135deg, rgba(7, 18, 45, .96) 0%, rgba(20, 36, 107, .84) 58%, rgba(7, 18, 45, .80) 100%);
}

.login-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .18;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 38px 38px;
}

.login-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 78px rgba(255, 255, 255, .025), 0 0 0 150px rgba(255, 255, 255, .018);
}

.login-visual-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(100% - 96px, 760px);
  margin: 0 auto;
  padding: 58px 0 62px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.login-brand img {
  width: 168px;
  max-height: 58px;
  object-fit: contain;
}

.login-brand span {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .32);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.login-message {
  max-width: 660px;
  padding: 70px 0;
}

.login-message h1 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.4vw, 82px);
  font-weight: 880;
  letter-spacing: -.055em;
  line-height: .98;
}

.login-message p {
  max-width: 600px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.75;
}

.login-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.login-stats article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
}

.login-stats strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.login-stats span {
  color: rgba(255, 255, 255, .70);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.login-access {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 54px 40px 30px;
  background: #fff;
}

.login-card {
  width: min(100%, 480px);
}

.login-mobile-brand {
  display: none;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.login-mobile-brand img {
  width: 158px;
}

.login-mobile-brand span {
  padding-left: 12px;
  border-left: 1px solid var(--nci-line);
  color: var(--nci-muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.login-card-heading h2 {
  margin: 0;
  color: var(--nci-ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 870;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.login-card-heading p {
  margin: 16px 0 0;
  color: var(--nci-muted);
  line-height: 1.7;
}

.login-form {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: #252a39;
  font-size: 13px;
  font-weight: 800;
}

.field-control {
  position: relative;
}

.field-control>svg {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 19px;
  height: 19px;
  color: #8b93a7;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-control input {
  width: 100%;
  min-height: 54px;
  padding: 0 52px 0 48px;
  border: 1px solid #dfe3ec;
  border-radius: 16px;
  color: var(--nci-ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field-control input::placeholder {
  color: #a0a6b5;
}

.field-control input:focus {
  border-color: rgba(20, 36, 107, .48);
  box-shadow: 0 0 0 4px rgba(20, 36, 107, .08);
  outline: 0;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  color: #7e8798;
  background: transparent;
  transform: translateY(-50%);
}

.password-toggle:hover {
  background: var(--nci-soft);
  color: var(--nci-blue);
}

.password-toggle svg {
  width: 19px;
  height: 19px;
}

.login-alert {
  display: none;
  margin-top: 22px;
  padding: 13px 15px;
  border: 1px solid rgba(229, 52, 56, .20);
  border-radius: 14px;
  color: #9b2024;
  background: rgba(229, 52, 56, .07);
  font-size: 13px;
}

.login-alert.is-visible {
  display: block;
}

.login-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 26px;
  padding: 15px 16px;
  border: 1px solid rgba(20, 36, 107, .09);
  border-radius: 16px;
  background: var(--nci-soft);
}

.login-demo-note p {
  margin: 0;
  color: var(--nci-muted);
  font-size: 12px;
  line-height: 1.55;
}

.status-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--nci-green);
  box-shadow: 0 0 0 5px rgba(26, 154, 98, .11);
}

.login-copyright {
  margin: auto 0 0;
  padding-top: 46px;
  color: #9aa1af;
  font-size: 11px;
  text-align: center;
}


.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(20, 20, 20, .07);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.app-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.app-brand img {
  width: 154px;
}

.app-brand span {
  padding-left: 13px;
  border-left: 1px solid var(--nci-line);
  color: var(--nci-muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.app-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4f5668;
  font-size: 13px;
  font-weight: 800;
  transition: .2s ease;
}

.app-nav a:hover,
.app-nav a.is-active {
  color: var(--nci-blue);
  background: rgba(20, 36, 107, .07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user {
  position: relative;
}

.header-user-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px 5px 5px;
  border: 1px solid var(--nci-line);
  border-radius: 999px;
  color: var(--nci-ink);
  background: #fff;
}

.header-user-button:hover {
  background: var(--nci-soft);
}

.user-copy {
  display: grid;
  min-width: 105px;
  text-align: left;
  line-height: 1.15;
}

.user-copy strong {
  font-size: 12px;
}

.user-copy span {
  margin-top: 4px;
  color: var(--nci-muted);
  font-size: 10px;
}

.chevron {
  width: 16px;
  height: 16px;
  color: #8b93a7;
  transition: transform .2s ease;
}

.header-user-button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  width: 245px;
  padding: 9px;
  border: 1px solid var(--nci-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--nci-shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: .18s ease;
}

.user-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-menu-profile {
  display: grid;
  padding: 11px 12px 14px;
  border-bottom: 1px solid var(--nci-line);
  margin-bottom: 7px;
}

.user-menu-profile strong {
  font-size: 13px;
}

.user-menu-profile span {
  margin-top: 3px;
  color: var(--nci-muted);
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-menu a,
.user-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: #444b5d;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
  text-align: left;
}

.user-menu a:hover,
.user-menu button:hover {
  color: var(--nci-blue);
  background: var(--nci-soft);
}

.header-user.compact .header-user-button {
  padding-right: 5px;
}








.app-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .62);
  background: #07122d;
}

.app-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.app-footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.app-footer-brand img {
  width: 130px;
  max-height: 44px;
  object-fit: contain;
}

.app-footer-brand span {
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.app-footer p {
  margin: 0;
  font-size: 10px;
}


.toast-stack {
  position: fixed;
  z-index: 3000;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 10px;
  width: min(calc(100% - 44px), 360px);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 1080px) {
  .login-shell {
    grid-template-columns: 1fr 470px;
  }

  .login-visual-content {
    width: min(100% - 64px, 700px);
  }

  :root {
    --sidebar-width: 330px;
  }
}

@media (max-width: 920px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    display: none;
  }

  .login-access {
    min-height: 100vh;
  }

  .login-mobile-brand {
    display: flex;
  }

  .app-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--nci-container));
  }

  .login-access {
    padding: 34px 22px 24px;
  }

  .login-copyright {
    padding-top: 32px;
  }

  .app-header-inner {
    min-height: 70px;
  }

  .app-brand img {
    width: 135px;
  }

  .app-brand span {
    display: none;
  }

  
  .user-copy {
    display: none;
  }

  .app-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}


.flash-stack{position:fixed;top:88px;right:24px;z-index:9999;display:grid;gap:10px;width:min(390px,calc(100% - 32px))}.flash{padding:14px 16px;border-radius:16px;background:#fff;box-shadow:0 18px 50px rgba(7,18,45,.18);font-weight:750;transition:.25s ease}.flash-success{border-left:4px solid #2f9e68}.flash-error{border-left:4px solid var(--nci-red)}.flash-warning{border-left:4px solid #e3a008}.login-alert.error,.login-alert.warning{display:block;background:rgba(229,52,56,.08);color:#9f1f24}.user-menu form{margin:0}.user-menu form button{width:100%;text-align:left}.app-nav a{white-space:nowrap}.admin-page .app-footer{margin-top:64px}.admin-page .btn{font-family:inherit}
@media(max-width:920px){.app-nav{display:none}}
@media(max-width:700px){.flash-stack{top:72px;right:16px}}



.install-card {
  width: min(100%, 500px);
}

.install-card .login-card-heading h2 {
  font-size: clamp(34px, 3.4vw, 46px);
}

@media (max-width: 920px) {
  .install-card {
    width: min(100%, 520px);
  }
}

@media (max-width: 700px) {

  .install-card .login-card-heading h2 {
    font-size: 36px;
  }
}





.platform-page h1,
.platform-page h2,
.platform-page h3,
.login-page h1,
.login-page h2,
.login-page h3 {
  font-weight: 720;
  letter-spacing: -.018em;
}

.login-message h1 {
  font-weight: 720;
  letter-spacing: -.028em;
  line-height: 1.04;
}

.login-card-heading h2 {
  font-weight: 720;
  letter-spacing: -.02em;
  line-height: 1.12;
}





@media (max-width: 620px) {

  .platform-page h1,
  .platform-page h2,
  .platform-page h3,
  .login-page h1,
  .login-page h2,
  .login-page h3 {
    letter-spacing: -.012em;
  }
}








.btn-primary,
.btn-primary:hover {
  box-shadow: none !important;
}



.support-email-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 20px 0 12px;
  padding: 14px 18px;
  border: 1px solid rgba(20, 36, 107, .14);
  border-radius: 15px;
  color: var(--nci-blue);
  background: var(--nci-soft);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  overflow-wrap: anywhere;
}





@media (max-width: 920px) {
  
  .header-user { display: none; }
}




.platform-page .modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.platform-page .modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.platform-page .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 28, .72);
  backdrop-filter: blur(5px);
}

.platform-page .modal-dialog {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
  box-sizing: border-box;
}

.platform-page .modal-dialog-small {
  width: min(540px, 100%);
}

.platform-page .modal-dialog h2 {
  margin: 8px 0 10px;
  color: var(--nci-blue-2);
  font-size: 32px;
  font-weight: 720;
  letter-spacing: -.018em;
  line-height: 1.12;
}

.platform-page .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--nci-blue);
  background: var(--nci-soft);
  box-shadow: none !important;
  font-size: 26px;
  line-height: 1;
}


.platform-page .support-modal .support-dialog {
  width: min(500px, 100%) !important;
  padding: 34px !important;
  overflow: hidden !important;
  text-align: center;
}

.platform-page .support-dialog .eyebrow {
  display: block;
  text-align: center;
}

.platform-page .support-dialog h2 {
  margin-top: 7px;
  font-size: clamp(28px, 5vw, 36px);
}

.platform-page .support-email-card {
  min-height: 0;
  margin: 20px 0 14px;
  padding: 14px 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}




@media (max-width: 920px) {

  .header-user {
    display: block !important;
    position: relative;
    z-index: 1302;
  }

  .header-user-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 3px !important;
    border-radius: 50%;
  }

  .header-user-button .user-copy,
  .header-user-button .chevron {
    display: none !important;
  }

  .header-user .user-menu {
    position: fixed;
    top: 78px;
    right: 14px;
    width: min(310px, calc(100vw - 28px));
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    z-index: 1400;
  }

}

@media (max-width: 700px) {
  .header-user .user-menu {
    top: 70px;
  }

}

@media (max-width: 560px) {
  .platform-page .modal {
    align-items: flex-end;
    padding: 10px;
  }

  .platform-page .support-modal .support-dialog {
    width: 100% !important;
    max-height: calc(100dvh - 20px);
    padding: 28px 20px 22px !important;
    border-radius: 24px;
  }

  .platform-page .support-dialog h2 {
    padding-right: 28px;
    font-size: 29px;
  }
}




html {
  scrollbar-color: var(--nci-red) #eceff5;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-track { background: #eceff5; }
*::-webkit-scrollbar-thumb {
  border: 3px solid #eceff5;
  border-radius: 999px;
  background: var(--nci-red);
}
*::-webkit-scrollbar-thumb:hover { background: #b71218; }


.platform-page select {
  border-radius: 14px !important;
  background-color: #fff;
}


.platform-page .modal {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
}
.platform-page .modal-dialog {
  width: min(620px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
  border-radius: 26px;
  box-sizing: border-box;
}
.platform-page .modal-dialog > *,
.platform-page .modal-dialog form,
.platform-page .modal-dialog fieldset,
.platform-page .modal-dialog label,
.platform-page .modal-dialog input,
.platform-page .modal-dialog select,
.platform-page .modal-dialog textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }







@media (min-width: 921px) {
  
  .platform-page body,
  .platform-page p,
  .platform-page span,
  .platform-page small,
  .platform-page label,
  .platform-page td,
  .platform-page li { font-weight: 400; }
  .platform-page h1 { font-weight: 700; letter-spacing: -.018em; }
  .platform-page h2 { font-weight: 680; letter-spacing: -.012em; }
  .platform-page h3,
  .platform-page strong { font-weight: 650; }
  .platform-page .btn,
  .platform-page button,
  .platform-page .eyebrow { font-weight: 680; }
}

@media (max-width: 700px) {
  .platform-page .modal-dialog { width: calc(100vw - 16px); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .app-footer,
  .app-footer .container,
  .app-footer-inner { text-align: center !important; justify-content: center !important; }
}




@media (min-width: 921px) {
  .custom-select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
  }

  .custom-select-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  .custom-select-trigger {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid var(--nci-line);
    border-radius: 14px;
    color: var(--nci-blue-2);
    background: #fff;
    box-shadow: none;
    font: inherit;
    font-size: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  }

  .custom-select-trigger:hover { border-color: rgba(20,36,107,.34); background: #fbfcff; }
  .custom-select-trigger:focus-visible,
  .custom-select.is-open .custom-select-trigger {
    outline: 0;
    border-color: var(--nci-blue);
    box-shadow: 0 0 0 3px rgba(20,36,107,.11);
  }
  .custom-select-trigger:disabled { opacity: .55; cursor: not-allowed; }
  .custom-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .custom-select-chevron {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
  }
  .custom-select.is-open .custom-select-chevron { margin-top: 4px; transform: rotate(225deg); }

  .custom-select-menu {
    position: absolute;
    z-index: 12050;
    top: calc(100% + 7px);
    left: 0;
    display: grid;
    width: 100%;
    min-width: max(100%, 190px);
    max-height: 270px;
    padding: 7px;
    overflow: auto;
    border: 1px solid rgba(20,36,107,.14);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.985);
    transform-origin: top;
    background: #fff;
    box-shadow: 0 22px 54px rgba(9,18,62,.17);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
    box-sizing: border-box;
  }
  .custom-select.is-open .custom-select-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .custom-select-option {
    display: block;
    width: 100%;
    min-height: 39px;
    padding: 9px 11px;
    border: 0;
    border-radius: 11px;
    color: var(--nci-blue-2);
    background: transparent;
    box-shadow: none;
    font: inherit;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
  }
  .custom-select-option:hover,
  .custom-select-option:focus-visible { outline: 0; background: #eef2ff; }
  .custom-select-option.is-selected { color: #fff; background: var(--nci-blue); }
  .custom-select-option:disabled { opacity: .45; cursor: not-allowed; }

  
  .platform-page .modal,
  .admin-page .modal {
    align-items: flex-start !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
  }
  .platform-page .modal-dialog,
  .admin-page .modal-dialog {
    flex: 0 0 auto;
    max-height: none !important;
    margin: auto !important;
    overflow: visible !important;
    scrollbar-gutter: auto !important;
  }
}







[hidden] { display: none !important; }




.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.status-ok { color: #147047; background: #e8f8ef; }
.status-warning { color: #8a5a00; background: #fff4d7; }
.status-critical { color: #a4261f; background: #feeceb; }










@media (max-width: 700px) {
  .app-footer,
  .app-footer .container,
  .app-footer-inner { width: 100%; text-align: center; }
  .app-footer-inner {
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 14px !important;
  }
  .app-footer-brand { justify-content: center; margin-inline: auto; }
  .app-footer p { width: 100%; text-align: center !important; }
}



.platform-page input::placeholder,
.platform-page textarea::placeholder,
.login-page input::placeholder,
.login-page textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(84, 94, 116, .52) !important;
  font-weight: 400 !important;
  opacity: 1;
}






@media (min-width: 921px) {
  body.platform-page,
  body.platform-page button,
  body.platform-page input,
  body.platform-page select,
  body.platform-page textarea {
    font-synthesis: none;
  }

  body.platform-page,
  .platform-page p,
  .platform-page span,
  .platform-page small,
  .platform-page label,
  .platform-page td,
  .platform-page li {
    font-weight: 400 !important;
  }

  .platform-page h1,
  .platform-page h2,
  .platform-page h3 {
    font-weight: 600 !important;
  }

  .platform-page strong {
    font-weight: 500 !important;
  }

  .platform-page .eyebrow {
    font-weight: 500 !important;
  }

  .platform-page .btn,
  .platform-page button,
  .platform-page .app-nav a {
    font-weight: 600 !important;
  }
}


:root {
  --nci-surface: #fff;
  --nci-surface-2: #f8f9fc;
  --nci-page: #fff;
  --nci-dark-surface: #111827;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.header-tool-button {
  position: relative;
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--nci-line);
  border-radius: 14px;
  color: var(--nci-blue);
  background: var(--nci-surface);
}

.header-tool-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .header-tool-button,
  .header-user { display: none; }
}




html {
  color-scheme: light !important;
}




.platform-page input::placeholder,
.platform-page textarea::placeholder,
.login-page input::placeholder,
.login-page textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(84, 94, 116, .50) !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}

@media (max-width: 1100px) {
  .app-header-inner {
    gap: 16px;
  }

  .header-actions {
    gap: 7px;
  }

  .user-copy {
    min-width: 88px;
  }
}

@media (max-width: 920px) {
}



@media (max-width: 900px) {

  .header-actions {
    gap: 8px;
  }
}














.platform-page .modal,
.admin-page .modal {
  position: fixed !important;
  inset: 0 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.platform-page .modal.is-open,
.admin-page .modal.is-open {
  display: flex !important;
}
.platform-page .modal-dialog,
.admin-page .modal-dialog {
  position: relative;
  flex: 0 1 auto !important;
  width: min(620px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.platform-page .modal-backdrop,
.admin-page .modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
}











@media (max-width: 760px) {
  .platform-page .modal,
  .admin-page .modal { padding: 8px !important; }
  .platform-page .modal-dialog,
  .admin-page .modal-dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }
}







.platform-page .toast-stack,
.toast-stack {
  z-index: 20000 !important;
}




.support-modal{z-index:12000}.toast-stack,.flash-stack{z-index:13000}






@media (max-width: 700px) {
  .app-footer-inner {
    justify-content: center;
    text-align: center;
  }
  .app-footer-inner > p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }
}


.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  transform: translateY(-160%);
  padding: 11px 16px;
  border-radius: 10px;
  color: #fff;
  background: #101d57;
  box-shadow: 0 12px 35px rgba(12, 26, 78, .25);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }




@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


.human-check-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}






.app-footer-brand img {
  width: 154px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}







@media (max-width: 640px) {
  .app-footer-brand img { width: 144px; }
}























body.admin-page {
  min-height: 100vh;
  background: var(--nci-soft);
}

.admin-page .eyebrow.light {
  color: rgba(255,255,255,.84);
}

.admin-page .admin-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-page .admin-page-heading h1 {
  margin: 8px 0;
  color: var(--nci-blue-2);
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -.04em;
  line-height: 1.05;
}

.admin-page .admin-page-heading p {
  margin: 0;
  color: var(--nci-muted);
}

.admin-page .status-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.admin-page .status-badge.active {
  color: var(--nci-green);
  background: rgba(26,154,98,.11);
}

.admin-page fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.admin-page fieldset legend {
  margin-bottom: 10px;
  color: var(--nci-blue-2);
  font-size: 13px;
  font-weight: 850;
}

.admin-page .modal {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.admin-page .modal.is-open {
  opacity: 1;
  visibility: visible;
}

.admin-page .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,8,28,.72);
  backdrop-filter: blur(5px);
}

.admin-page .modal-dialog {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.35);
}

.admin-page .modal-dialog h2 {
  margin: 8px 0 10px;
  color: var(--nci-blue-2);
  font-size: 32px;
}

.admin-page .modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--nci-blue);
  background: var(--nci-soft);
  font-size: 26px;
  line-height: 1;
}

.admin-page .app-footer {
  margin-top: 0;
}

@media (max-width: 760px) {

  .admin-page .admin-page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page .admin-page-heading .btn {
    width: 100%;
  }

  .admin-page .modal {
    padding: 12px;
  }

  .admin-page .modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 26px 20px;
    border-radius: 22px;
  }
}

@media (max-width: 520px) {

  
  .admin-page .admin-page-heading h1 {
    font-size: 34px;
  }
}





.admin-page .admin-page-heading h1,
.admin-page .modal-dialog h2 {
  font-weight: 720;
  letter-spacing: -.018em;
  line-height: 1.12;
}







.admin-page .status-badge.expired {
  color: #855b00;
  background: rgba(245, 183, 39, .16);
}

.admin-page .admin-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.admin-page .modal-dialog-small {
  width: min(calc(100% - 32px), 540px);
}

@media (max-width: 1280px) {
  .admin-page .filter-search { grid-column: span 2; }
}

@media (max-width: 900px) {
  .admin-page .filter-search { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .admin-page .admin-pagination { align-items: stretch; flex-direction: column; }
}

.admin-page .status-detail-label {
  display: block;
  max-width: 150px;
  margin-top: 7px;
  color: var(--nci-muted);
  font-size: 10px;
  line-height: 1.4;
}








.admin-page .status-badge { min-height: 24px; padding: 0 8px; font-size: 8px; }
.admin-page .status-badge.archived { color: #4f5768; background: #e9ebef; }







.admin-page select { border-radius: 14px !important; }


.admin-page .modal { overflow-y: auto !important; overflow-x: hidden !important; padding: 20px; }
.admin-page .modal-dialog {
  width: min(640px, calc(100vw - 40px));
  max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable;
  border-radius: 26px;
  box-sizing: border-box;
}
.admin-page .modal-dialog form,
.admin-page .modal-dialog fieldset { min-width: 0; max-width: 100%; }





@media (min-width: 921px) {
  
  .admin-page .admin-page-heading h1 { font-weight: 680 !important; letter-spacing: -.012em; }
}

@media (max-width: 700px) {
  .admin-page .modal { padding: 8px; }
  .admin-page .modal-dialog { width: calc(100vw - 16px); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
}





.admin-page [data-support],
.admin-page [data-support]:hover,
.admin-page [data-support]:focus-visible { box-shadow: none !important; filter: none !important; text-shadow: none !important; }








@media (min-width: 921px) {
  .admin-page .modal {
    align-items: flex-start !important;
    padding: 20px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .admin-page .modal-dialog {
    max-height: none !important;
    margin: auto !important;
    overflow: visible !important;
  }
  .admin-page .modal-dialog > *,
  .admin-page .modal-dialog form,
  .admin-page .modal-dialog section,
  .admin-page .modal-dialog fieldset { min-width: 0; max-width: 100%; box-sizing: border-box; }
  .admin-page .custom-select { width: 100%; }
  .admin-page .custom-select-trigger { min-height: 42px; font-size: 12px; }
  .admin-page .custom-select-menu { z-index: 13000; }
}



.admin-page input[type="search"],
.admin-page input[type="text"],
.admin-page input[type="email"],
.admin-page input[type="password"],
.admin-page input[type="date"],
.admin-page input[type="number"],
.admin-page select,
.admin-page textarea {
  border-radius: 14px !important;
}









.admin-page input::placeholder,
.admin-page textarea::placeholder {
  color: rgba(84, 94, 116, .52) !important;
  font-weight: 400 !important;
  opacity: 1;
}






@media (min-width: 921px) {

  .admin-page .admin-page-heading h1,
  .admin-page .modal-dialog h2 {
    font-weight: 650 !important;
    letter-spacing: -.012em;
  }

  
  .admin-page .eyebrow,
  .admin-page label,
  .admin-page fieldset legend {
    font-weight: 560 !important;
  }

  .admin-page .btn,
  .admin-page button {
    font-weight: 620 !important;
  }

  
  .admin-page .status-badge,
  .admin-page .status-pill,
  .admin-page .status-detail-label {
    font-weight: 620 !important;
  }

  .admin-page input,
  .admin-page select,
  .admin-page textarea {
    font-weight: 400 !important;
  }
}


@media (min-width: 921px) {
  body.admin-page,
  body.admin-page button,
  body.admin-page input,
  body.admin-page select,
  body.admin-page textarea {
    font-synthesis: none;
  }

  body.admin-page,
  .admin-page .status-detail-label {
    font-weight: 400 !important;
  }

  .admin-page h1,
  .admin-page h2,
  .admin-page h3,
  .admin-page .admin-page-heading h1,
  .admin-page .modal-dialog h2 {
    font-weight: 600 !important;
  }

  .admin-page strong {
    font-weight: 500 !important;
  }

  .admin-page label,
  .admin-page fieldset legend {
    font-weight: 500 !important;
  }

  
  .admin-page .eyebrow {
    font-weight: 600 !important;
  }

  
  .admin-page .status-badge,
  .admin-page .status-pill,
  .admin-page .status-detail-label {
    font-weight: 500 !important;
  }

  .admin-page .btn,
  .admin-page button {
    font-weight: 600 !important;
  }

  .admin-page input,
  .admin-page select,
  .admin-page textarea {
    font-weight: 400 !important;
  }
}





.update-feature-list { display: grid; gap: 9px; margin: 20px 0 26px; padding: 0; list-style: none; }
.update-feature-list li { position: relative; padding-left: 25px; color: var(--nci-muted); }
.update-feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--nci-green); font-weight: 700; }







.admin-page input::placeholder,
.admin-page textarea::placeholder {
  color: rgba(84, 94, 116, .50) !important;
  font-size: inherit !important;
  font-style: normal !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  opacity: 1 !important;
}
















.admin-page .modal {
  align-items: flex-start !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 20px !important;
}
.admin-page .modal-dialog {
  position: relative;
  margin: auto;
  max-height: calc(100dvh - 40px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}





@media (max-width: 820px) {
  .admin-page .modal { padding: 8px !important; }
  .admin-page .modal-dialog { width: calc(100vw - 16px) !important; max-width: calc(100vw - 16px) !important; max-height: calc(100dvh - 16px) !important; margin: auto; border-radius: 18px; }
}




.modal[aria-hidden="false"] .modal-dialog{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}




.admin-page .modal {
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}
.admin-page .modal.is-open {
  display: flex !important;
}
.admin-page .modal-dialog {
  position: relative !important;
  width: min(1060px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - 32px) !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.admin-page .modal-dialog:not(.modal-dialog-wide) {
  width: min(640px, calc(100vw - 32px)) !important;
}
.admin-page .modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
}
@media (max-width: 700px) {
  .admin-page .modal {
    padding: 8px !important;
  }
  .admin-page .modal-dialog {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
  }
}






.admin-page button:disabled {
  opacity: .48;
  cursor: not-allowed;
}











































:root {
  --nci-admin-canvas: #f5f7fb;
  --nci-admin-surface: #ffffff;
  --nci-admin-surface-soft: #f8faff;
  --nci-admin-line: #e2e7f0;
  --nci-admin-ink: #101936;
  --nci-admin-muted: #667085;
  --nci-admin-shadow: 0 1px 2px rgba(16,24,40,.03), 0 10px 30px rgba(16,31,91,.055);
  --nci-admin-shadow-raised: 0 24px 70px rgba(9,18,62,.16);
  --nci-admin-radius: 18px;
}


body.admin-page {
  color: var(--nci-admin-ink);
  background:
    radial-gradient(circle at 4% 0%, rgba(20,36,107,.045), transparent 28rem),
    var(--nci-admin-canvas);
}

.admin-page .app-header {
  border-bottom-color: rgba(16,25,54,.08);
  box-shadow: 0 1px 0 rgba(16,25,54,.03);
}

.admin-page .app-header-inner {
  width: min(calc(100% - 48px), 1440px);
}


.admin-workspace-nav {
  border-top: 1px solid rgba(16,25,54,.065);
  background: rgba(249,250,253,.94);
}

.admin-workspace-nav-inner {
  display: flex;
  width: min(calc(100% - 48px), 1440px);
  min-height: 50px;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.admin-workspace-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
  padding-right: 18px;
  border-right: 1px solid var(--nci-admin-line);
  color: #7c869a;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.admin-workspace-label svg { width: 17px; height: 17px; color: var(--nci-blue); }

.admin-workspace-nav a {
  position: relative;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-radius: 10px;
  color: #58647c;
  font-size: 12px;
  font-weight: 650;
  transition: color .18s ease, background .18s ease;
}

.admin-workspace-nav a:hover { color: var(--nci-blue); background: #eef2fb; }
.admin-workspace-nav a.is-active { color: var(--nci-blue); background: #e9eefb; }
.admin-workspace-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -8px;
  left: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--nci-red);
}

.admin-workspace-nav a > span {
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--nci-red);
  font-size: 9px;
  line-height: 1;
}


.admin-page .admin-page-heading {
  align-items: flex-start;
  margin-bottom: 24px;
}

.admin-page .admin-page-heading > div:first-child { max-width: 840px; }

.admin-page .admin-page-heading h1 {
  margin: 4px 0 8px;
  color: var(--nci-admin-ink);
  font-size: clamp(34px, 3.35vw, 46px);
  font-weight: 650 !important;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.admin-page .admin-page-heading h2 {
  color: var(--nci-admin-ink);
  font-weight: 650 !important;
  letter-spacing: -.025em;
}

.admin-page .admin-page-heading p {
  max-width: 780px;
  color: var(--nci-admin-muted);
  font-size: 14px;
  line-height: 1.65;
}

.admin-page .eyebrow {
  margin-bottom: 9px;
  font-size: 10px;
  font-weight: 700 !important;
  letter-spacing: .12em;
}


.admin-page .btn {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 650 !important;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: none;
}

.admin-page .btn:hover { transform: translateY(-1px); }
.admin-page .btn-primary { border-color: var(--nci-blue); background: var(--nci-blue); box-shadow: 0 8px 20px rgba(20,36,107,.16); }
.admin-page .btn-primary:hover { border-color: #0f1d5b; background: #0f1d5b; }
.admin-page .btn-secondary { border-color: #d7ddea; color: #24345f; background: #fff; }
.admin-page .btn-secondary:hover { border-color: #b8c3da; color: var(--nci-blue); background: #f8faff; }







.admin-page :is(input[type="text"],input[type="search"],input[type="email"],input[type="password"],input[type="date"],input[type="number"],input[type="url"],select,textarea),
.admin-page .custom-select-trigger {
  border: 1px solid #d8deea !important;
  border-radius: 11px !important;
  color: #17213d;
  background-color: #fff;
  font-size: 13px;
  font-weight: 400 !important;
  box-shadow: 0 1px 2px rgba(16,24,40,.025);
}

.admin-page :is(input,select):not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="file"]),
.admin-page .custom-select-trigger { min-height: 44px; padding-inline: 13px; }
.admin-page textarea { min-height: 96px; padding: 12px 13px; line-height: 1.55; resize: vertical; }

.admin-page :is(input,select,textarea):focus,
.admin-page .custom-select.is-open .custom-select-trigger,
.admin-page .custom-select-trigger:focus-visible {
  border-color: rgba(20,36,107,.52) !important;
  box-shadow: 0 0 0 3px rgba(20,36,107,.10) !important;
  outline: 0;
}

.admin-page input::placeholder,
.admin-page textarea::placeholder { color: #98a1b3; opacity: 1; }

.admin-page .custom-select-menu {
  padding: 7px;
  border-color: #d9dfeb;
  border-radius: 13px;
  box-shadow: 0 18px 45px rgba(9,18,62,.17);
}
.admin-page .custom-select-option { min-height: 38px; padding: 9px 11px; border-radius: 8px; font-size: 12px; }
.admin-page .custom-select-option.is-selected { background: var(--nci-blue); }


.admin-page .status-badge { min-height: 25px; padding: 4px 9px; border-radius: 7px; font-size: 9px; font-weight: 650 !important; }

.admin-page .admin-pagination {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--nci-admin-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--nci-admin-shadow);
}




.admin-page .modal { padding: 24px; }
.admin-page .modal-backdrop { background: rgba(4,9,28,.66); backdrop-filter: blur(8px); }
.admin-page .modal-dialog {
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(3,8,28,.34);
  scrollbar-width: thin;
  scrollbar-color: #bdc5d3 transparent;
}
.admin-page .modal-dialog { padding: 28px; }
.admin-page .modal-dialog h2 { margin: 5px 0 8px; color: var(--nci-admin-ink); font-size: 28px; font-weight: 650 !important; letter-spacing: -.025em; }
.admin-page .modal-close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid #e0e5ee;
  border-radius: 10px;
  color: #52607b;
  background: #f7f9fc;
  font-size: 22px;
}
.admin-page .modal-close:hover { color: var(--nci-blue); background: #edf1fa; }


@media (hover: hover) {
  body.admin-page::-webkit-scrollbar,
  .admin-page .modal-dialog::-webkit-scrollbar { width: 10px; }
  body.admin-page::-webkit-scrollbar-track,
  .admin-page .modal-dialog::-webkit-scrollbar-track { background: #eef1f6; }
  body.admin-page::-webkit-scrollbar-thumb,
  .admin-page .modal-dialog::-webkit-scrollbar-thumb { border: 2px solid #eef1f6; border-radius: 999px; background: #adb7c9; }
}



@media (max-width: 1100px) {
  .admin-workspace-label { display: none; }
  .admin-workspace-nav-inner { justify-content: center; }
  .admin-workspace-nav a { padding-inline: 10px; }
}

@media (max-width: 920px) {
  .admin-workspace-nav { display: none; }
  .admin-page .app-header-inner { width: min(calc(100% - 28px), 1440px); }
  .admin-page .admin-page-heading h1 { font-size: 34px; }
  .admin-page .modal { padding: 10px; }
  .admin-page .modal-dialog { width: calc(100vw - 20px) !important; max-width: calc(100vw - 20px) !important; max-height: calc(100dvh - 20px) !important; border-radius: 19px; }
}

@media (max-width: 620px) {
  .admin-page .admin-page-heading h1 { font-size: 31px; }
  .admin-page .modal-dialog { padding: 23px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .admin-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}














@media (min-width: 1000px) {
  body.login-page { background: #07122d; }
  .login-page .login-shell { grid-template-columns: minmax(0,1.12fr) minmax(460px,.88fr); }
  .login-page .login-visual { background-position: center 42%; }
  .login-page .login-visual-overlay {
    background:
      radial-gradient(circle at 16% 16%,rgba(229,52,56,.34),transparent 30%),
      linear-gradient(135deg,rgba(7,18,45,.97),rgba(20,36,107,.86) 62%,rgba(7,18,45,.82));
  }
  .login-page .login-visual-content {
    width: min(calc(100% - 104px),760px);
    padding: 48px 0 46px;
  }
  .login-page .login-message { max-width: 640px; padding: 54px 0; }
  .login-page .login-message h1 { font-size: clamp(46px,4.7vw,72px); font-weight: 720; letter-spacing: -.05em; }
  .login-page .login-message p { max-width: 570px; margin-top: 20px; font-size: 16px; line-height: 1.65; }
  .login-page .login-stats { gap: 10px; }
  .login-page .login-stats article {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.075);
    box-shadow: inset 0 1px rgba(255,255,255,.06);
  }
  .login-page .login-stats strong { font-size: 25px; }
  .login-page .login-access {
    position: relative;
    padding: 48px;
    overflow: hidden;
    background:
      radial-gradient(circle at 100% 0%,rgba(20,36,107,.075),transparent 25rem),
      #f5f7fb;
  }
  .login-page .login-access::before {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -170px;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(20,36,107,.07);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(20,36,107,.018);
  }
  .login-page .login-card {
    position: relative;
    z-index: 1;
    width: min(100%,520px);
    padding: 36px;
    border: 1px solid #e0e5ef;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(9,18,62,.13);
    margin: auto 0;
  }
  .login-page .login-card-heading h2 { color: #101936; font-size: 40px; font-weight: 680; letter-spacing: -.04em; }
  .login-page .login-card-heading p { margin-top: 11px; color: #6c768a; font-size: 14px; }
  .login-page .login-form { gap: 17px; margin-top: 27px; }
  .login-page .field-control input { min-height: 52px; border-radius: 13px; }
  .login-page .login-form .btn-primary {
    min-height: 51px;
    border-radius: 13px;
    border-color: var(--nci-blue);
    background: var(--nci-blue);
    box-shadow: 0 12px 28px rgba(20,36,107,.20);
  }
  .login-page .login-form .btn-primary:hover { border-color: #0d194e; background: #0d194e; }
  .login-page .login-demo-note { margin-top: 22px; padding: 13px 14px; border-radius: 13px; background: #f7f9fc; }
  .login-page .login-copyright {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 20px;
    left: 24px;
    margin: 0;
  }
}
.login-page .login-alert.success {
  border-color: #c7e8d6;
  color: #176a46;
  background: #f0faf5;
}
.login-page .login-alert.warning {
  border-color: #f0dfad;
  color: #805b00;
  background: #fff9e9;
}






.login-message { max-width: 620px; padding-block: 54px; }
.login-message h1 {
  max-width: 620px;
  font-size: clamp(42px, 4.75vw, 72px);
  font-weight: 720;
  letter-spacing: -.04em;
  line-height: 1.04;
  text-wrap: balance;
}
.login-message p { max-width: 570px; margin-top: 22px; font-size: 17px; line-height: 1.65; }
.login-brand span { font-weight: 700; }
.login-stats article { display: grid; align-content: center; min-height: 90px; padding: 17px 18px; }
.login-stats strong { font-size: 27px; font-weight: 750; }
.login-stats span { font-weight: 580; }
.login-card-heading h2 { font-weight: 760; }





@media (max-width: 920px) {
  html, body.login-page { min-height: 100%; }
  .login-shell, .login-access { min-height: 100svh; }
  .login-access {
    justify-content: space-between;
    padding: 24px 22px 12px;
    overflow: hidden;
  }
  .login-card { margin: auto 0; }
  .login-mobile-brand { margin-bottom: 20px; }
  .login-card-heading h2 { font-size: clamp(30px, 9vw, 40px); }
  .login-card-heading p { margin-top: 10px; line-height: 1.5; }
  .login-form { gap: 15px; margin-top: 23px; }
  .login-demo-note { margin-top: 18px; padding: 12px 14px; }
  .login-copyright { flex: 0 0 auto; margin: 10px 0 0; padding: 0; line-height: 1.35; }
}

@media (max-height: 720px) and (max-width: 920px) {
  .login-access { padding-top: 14px; padding-bottom: 8px; }
  .login-mobile-brand { margin-bottom: 12px; }
  .login-mobile-brand img { width: 138px; }
  .login-card-heading p { font-size: 13px; }
  .login-form { margin-top: 16px; }
  .field-control input { min-height: 49px; }
  .login-demo-note { margin-top: 12px; }
}








@media (min-width: 1000px) {
  .login-page .login-brand { gap: 16px; }
  .login-page .login-brand span {
    padding-left: 16px;
    font-size: 12px;
    font-weight: 620;
    letter-spacing: .085em;
  }
  .login-page .login-message {
    max-width: 660px;
    padding-block: 58px;
  }
  .login-page .login-message .eyebrow {
    margin-bottom: 18px;
    font-weight: 650;
    letter-spacing: .16em;
  }
  .login-page .login-message h1 {
    max-width: 650px;
    font-size: clamp(44px, 4.45vw, 68px);
    font-weight: 620;
    letter-spacing: .002em;
    line-height: 1.075;
    text-wrap: pretty;
  }
  .login-page .login-message p {
    max-width: 590px;
    margin-top: 23px;
    font-size: 16px;
    font-weight: 450;
    letter-spacing: .004em;
    line-height: 1.7;
  }
  .login-page .login-stats { gap: 12px; }
  .login-page .login-stats article {
    min-height: 88px;
    padding: 17px 18px;
  }
  .login-page .login-stats strong {
    margin-bottom: 8px;
    font-size: 26px;
    font-weight: 650;
    letter-spacing: -.01em;
  }
  .login-page .login-stats span {
    font-size: 12px;
    font-weight: 520;
    letter-spacing: .005em;
    line-height: 1.45;
  }
}



































@keyframes page-loader-spin { to { transform: rotate(360deg); } }
@keyframes page-loader-failsafe { to { opacity: 0; visibility: hidden; } }




.toast-stack { width: min(calc(100% - 32px), 410px); gap: 12px; }
@keyframes toast-timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }



@media (max-width: 760px) {
  .toast-stack { right: 12px; bottom: 12px; width: calc(100% - 24px); }
}





@keyframes coffeeSteam{0%{transform:translateY(5px);opacity:0}30%{opacity:.65}100%{transform:translateY(-5px);opacity:0}}@keyframes coffeeOrbit{to{transform:rotate(360deg)}}@keyframes coffeeSteamLarge{0%,100%{transform:translateY(10px);opacity:0}30%{opacity:.8}75%{transform:translateY(-18px) translateX(5px);opacity:.15}}@keyframes coffeeReveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}





@keyframes premiumConfetti{0%{transform:translateY(-20px) rotate(0);opacity:0}15%{opacity:1}100%{transform:translateY(430px) rotate(520deg);opacity:0}}



@keyframes coffeeIconSteam {
  0%, 100% { opacity: .18; transform: translateY(1.5px); }
  45% { opacity: 1; transform: translateY(-1.5px); }
}





@media (max-width: 920px) {
  

  
  .header-user {
    display: block !important;
    position: relative;
    z-index: 1302;
  }

  .header-user .user-menu {
    max-height: calc(100dvh - 92px);
    overscroll-behavior: contain;
  }
}

@media (max-width: 700px) {
  .app-header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
}

@media (max-width: 560px) {
  .app-header-inner {
    min-height: 66px;
    gap: 6px;
  }

  .app-brand img { width: 108px; }
  .header-actions { gap: 5px; }

  
  .header-user-button {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
  }

  .header-user-button { padding: 2px !important; }

  .header-user .user-menu {
    top: 70px;
    right: 10px;
    width: min(310px, calc(100vw - 20px));
    max-height: calc(100dvh - 82px);
  }
}

@media (max-width: 360px) {
  .container.app-header-inner { width: calc(100% - 18px); }
  .app-brand img { width: 98px; }
  .header-actions { gap: 4px; }

  
  .header-user-button {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }
}










@media (max-width:560px){
  

  
}







@media (min-width:761px){
  

  

  
}





@media (min-width:561px){

  
}

@media (max-width:560px) and (max-height:700px){
  
}




@media (min-width:561px){

  
}











:root{--teacher-blue:#14246b;--teacher-blue-2:#243ca6;--teacher-red:#e22f3f;--teacher-gold:#f3b72e;--teacher-green:#18a46b;--teacher-surface:#f4f6fb;--teacher-ink:#17213c;--teacher-muted:#66708a;--teacher-line:#e2e7f1;--teacher-shadow:0 18px 50px rgba(20,36,107,.12)}
body.teachers-platform{background:#f7f8fc;color:var(--teacher-ink)}
.teachers-header .app-brand span{font-weight:800;color:var(--teacher-blue)}
.teacher-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,var(--teacher-blue),var(--teacher-blue-2));color:#fff;font-weight:800;letter-spacing:.04em}
.teachers-history-button svg{width:22px;height:22px;fill:currentColor}
.teacher-main{min-height:calc(100vh - 170px);padding:42px 0 70px}
.teacher-hero{background:linear-gradient(135deg,#10205e 0%,#203a9d 58%,#2c4bc5 100%);color:#fff;padding:58px 0;overflow:hidden;position:relative}
.teacher-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-220px;background:rgba(255,255,255,.08)}
.teacher-hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.7fr);gap:38px;align-items:center;position:relative;z-index:1}
.teacher-hero h1{font-size:clamp(2rem,4vw,3.7rem);line-height:1.04;margin:12px 0 18px;max-width:820px}.teacher-hero p{font-size:1.08rem;max-width:720px;color:rgba(255,255,255,.82)}
.teacher-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.teacher-hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:26px;backdrop-filter:blur(8px)}
.teacher-hero-card strong{display:block;font-size:2.3rem}.teacher-hero-card span{color:rgba(255,255,255,.78)}
.teacher-section{padding:42px 0}.teacher-section+.teacher-section{padding-top:10px}.teacher-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.teacher-section-heading h2{margin:5px 0 0;font-size:clamp(1.55rem,3vw,2.2rem)}.teacher-section-heading p{margin:8px 0 0;color:var(--teacher-muted);max-width:700px}
.teacher-level-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.teacher-level-card{display:block;position:relative;min-height:230px;border-radius:22px;overflow:hidden;color:#fff;box-shadow:var(--teacher-shadow)}.teacher-level-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.teacher-level-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,16,53,.08),rgba(8,16,53,.92))}.teacher-level-copy{position:absolute;z-index:2;left:22px;right:22px;bottom:20px}.teacher-level-copy small{display:block;color:rgba(255,255,255,.78);font-weight:700;text-transform:uppercase;letter-spacing:.08em}.teacher-level-copy strong{display:block;font-size:1.45rem;margin:4px 0}.teacher-level-copy span{font-size:.92rem;color:rgba(255,255,255,.82)}
.teacher-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.teacher-activity-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--teacher-line);border-radius:22px;overflow:hidden;box-shadow:0 10px 30px rgba(20,36,107,.07);transition:.2s ease}.teacher-activity-card:hover{transform:translateY(-4px);box-shadow:var(--teacher-shadow)}.activity-card-top{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 0}.game-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;background:#eef2ff;font-size:1.7rem}.favorite-form{margin:0}.favorite-button{border:0;background:#f2f4f8;color:#a5aec1;width:40px;height:40px;border-radius:50%;font-size:1.25rem;cursor:pointer}.favorite-button.is-active{background:#fff3c6;color:#d79700}.activity-card-body{padding:18px 20px;flex:1}.activity-card-tags{display:flex;gap:7px;flex-wrap:wrap}.activity-card-tags span{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#3f4c73;background:#f0f3f9;padding:6px 8px;border-radius:999px}.activity-card-body h3{font-size:1.22rem;margin:14px 0 8px}.activity-card-body p{color:var(--teacher-muted);line-height:1.55;margin:0 0 12px}.activity-card-body small{color:#7b849b}.activity-card-actions{padding:0 20px 20px}
.teacher-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.teacher-tool-card{display:flex;gap:18px;align-items:center;background:#fff;border:1px solid var(--teacher-line);border-radius:20px;padding:22px;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(20,36,107,.06);transition:.2s}.teacher-tool-card:hover{transform:translateY(-3px);border-color:#cbd5f1}.teacher-tool-card .tool-icon{display:grid;place-items:center;flex:0 0 56px;height:56px;border-radius:18px;background:#eef2ff;font-size:1.8rem}.teacher-tool-card h3{margin:0 0 5px}.teacher-tool-card p{margin:0;color:var(--teacher-muted);font-size:.92rem}
.library-hero{padding:42px 0 28px;background:#fff;border-bottom:1px solid var(--teacher-line)}.library-hero h1{margin:7px 0 10px;font-size:clamp(2rem,4vw,3rem)}.library-hero p{color:var(--teacher-muted);max-width:800px}.library-filter{display:grid;grid-template-columns:minmax(240px,1fr) repeat(2,minmax(160px,220px)) auto;gap:12px;margin-top:24px}.library-filter input,.library-filter select{height:50px;border:1px solid #d9dfeb;border-radius:13px;background:#fff;padding:0 14px;color:var(--teacher-ink)}
.teacher-empty-state{text-align:center;background:#fff;border:1px dashed #cfd6e6;border-radius:22px;padding:58px 24px}.teacher-empty-state>span{font-size:3rem}.teacher-empty-state h2{margin:14px 0 8px}.teacher-empty-state p{color:var(--teacher-muted);max-width:600px;margin:0 auto 20px}
.game-page{background:#eef1f8}.game-shell{min-height:calc(100vh - 80px);padding:24px}.game-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--teacher-line);border-radius:18px;padding:14px 18px;margin-bottom:18px;box-shadow:0 8px 24px rgba(20,36,107,.06)}.game-topbar-left{display:flex;align-items:center;gap:12px}.game-topbar .game-icon{width:44px;height:44px}.game-topbar h1{font-size:1.15rem;margin:0}.game-topbar p{margin:2px 0 0;color:var(--teacher-muted);font-size:.85rem}.game-topbar-actions{display:flex;gap:8px;flex-wrap:wrap}.game-stage{min-height:calc(100vh - 200px);background:#fff;border-radius:24px;border:1px solid var(--teacher-line);box-shadow:var(--teacher-shadow);padding:clamp(22px,4vw,48px);overflow:hidden}.game-stage.is-fullscreen{position:fixed;inset:0;z-index:9999;border-radius:0;overflow:auto}.game-welcome{display:grid;place-items:center;text-align:center;min-height:60vh}.game-welcome .game-icon{width:92px;height:92px;font-size:3.2rem;margin:0 auto 22px}.game-welcome h2{font-size:clamp(2rem,5vw,4rem);margin:0 0 14px;line-height:1.05}.game-welcome p{font-size:1.1rem;color:var(--teacher-muted)}.game-meta{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px 0}.game-meta span{padding:8px 12px;border-radius:999px;background:#f0f3f9;font-weight:700;font-size:.85rem}.game-controls-row{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:24px}
.game-question{text-align:center;max-width:1000px;margin:0 auto}.game-progress{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;color:var(--teacher-muted);font-weight:700}.game-question h2{font-size:clamp(1.7rem,4vw,3.3rem);line-height:1.15;margin:12px 0 28px}.game-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.game-option{border:2px solid #dce2ef;background:#f8f9fc;border-radius:18px;padding:20px;font-size:1.08rem;font-weight:750;cursor:pointer;transition:.18s;min-height:82px}.game-option:hover{border-color:#8fa2e5;background:#f0f3ff}.game-option.is-correct{border-color:#21a86b;background:#eaf9f2;color:#0c6b43}.game-option.is-wrong{border-color:#e3505c;background:#fff0f2;color:#a0202b}.game-answer-panel{margin-top:22px;padding:22px;border-radius:18px;background:#f2f5fb;text-align:left}.game-answer-panel strong{display:block;font-size:1.1rem;margin-bottom:6px}.game-answer-panel p{margin:0;color:var(--teacher-muted)}
.game-timer{display:inline-grid;place-items:center;min-width:78px;height:44px;padding:0 14px;border-radius:999px;background:#17265f;color:#fff;font-weight:900;font-size:1.1rem}.game-timer.is-low{background:#d52f40;animation:pulse .8s infinite alternate}@keyframes pulse{to{transform:scale(1.06)}}
.team-setup{max-width:760px;margin:0 auto;text-align:center}.team-name-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.team-scorebar{display:grid;grid-template-columns:repeat(var(--team-count,2),minmax(0,1fr));gap:10px;margin-bottom:24px}.team-score{padding:16px;border-radius:16px;background:#eef2ff;text-align:center}.team-score strong{display:block;font-size:1.8rem}.team-score.is-active{outline:3px solid var(--teacher-gold)}.battle-reveal{font-size:clamp(1.4rem,3vw,2.4rem);padding:24px;border-radius:18px;background:#f2f5fb;margin:24px 0;text-align:center}.battle-points{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.wheel-layout{display:grid;grid-template-columns:minmax(300px,600px) minmax(260px,1fr);gap:34px;align-items:center}.wheel-wrap{position:relative;aspect-ratio:1}.wheel-canvas{width:100%;height:100%;border-radius:50%;filter:drop-shadow(0 18px 24px rgba(20,36,107,.18));transition:transform 4s cubic-bezier(.12,.67,.12,1)}.wheel-pointer{position:absolute;right:-4px;top:50%;transform:translateY(-50%);width:0;height:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-right:38px solid var(--teacher-red);z-index:2}.wheel-result h2{font-size:clamp(2rem,4vw,3.5rem);margin:8px 0}.wheel-result p{color:var(--teacher-muted);font-size:1.05rem}
.sentence-zone{max-width:1000px;margin:0 auto;text-align:center}.word-bank,.sentence-build{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;min-height:86px;padding:18px;border-radius:18px;border:2px dashed #ccd5e8;margin:18px 0}.sentence-build{background:#f8f9fc}.word-token{border:0;background:#1d347f;color:#fff;padding:13px 17px;border-radius:12px;font-weight:800;cursor:pointer;font-size:1.05rem}.sentence-build .word-token{background:#fff;color:#18234b;border:1px solid #d6ddeb}.sentence-result{font-size:1.2rem;font-weight:800;margin-top:18px}
.memory-grid{display:grid;grid-template-columns:repeat(var(--memory-cols,4),minmax(80px,1fr));gap:12px;max-width:1100px;margin:0 auto}.memory-card{perspective:700px;min-height:130px;cursor:pointer}.memory-card-inner{position:relative;width:100%;height:100%;min-height:130px;transition:transform .45s;transform-style:preserve-3d}.memory-card.is-open .memory-card-inner,.memory-card.is-matched .memory-card-inner{transform:rotateY(180deg)}.memory-face{position:absolute;inset:0;display:grid;place-items:center;border-radius:16px;backface-visibility:hidden;padding:12px;text-align:center;font-weight:800}.memory-front{background:linear-gradient(135deg,#14246b,#2c4bc5);color:#fff;font-size:2rem}.memory-back{background:#fff;border:2px solid #dbe2f0;transform:rotateY(180deg)}.memory-card.is-matched .memory-back{border-color:#20a96c;background:#eaf9f2}
.bingo-toolbar{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-bottom:20px}.bingo-call{max-width:800px;margin:0 auto 24px;text-align:center;padding:26px;border-radius:20px;background:#17265f;color:#fff}.bingo-call strong{display:block;font-size:clamp(2rem,5vw,4rem)}.bingo-call p{margin:8px 0 0;color:rgba(255,255,255,.8)}.bingo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.bingo-card{background:#fff;border:2px solid #1f347c;border-radius:16px;padding:12px;break-inside:avoid}.bingo-card h3{text-align:center;margin:0 0 10px}.bingo-grid{display:grid;grid-template-columns:repeat(var(--bingo-size,4),1fr);border-top:1px solid #aab4cb;border-left:1px solid #aab4cb}.bingo-cell{min-height:82px;display:grid;place-items:center;text-align:center;padding:7px;border-right:1px solid #aab4cb;border-bottom:1px solid #aab4cb;font-size:.9rem;font-weight:750}
.clue-card{text-align:center;max-width:900px;margin:0 auto}.clue-list{display:grid;gap:12px;margin:24px 0}.clue-item{padding:18px;border-radius:15px;background:#f1f4fa;font-size:1.15rem}.clue-item.is-hidden{filter:blur(8px);user-select:none}.clue-counter{color:var(--teacher-muted);font-weight:700}
.category-board{display:grid;grid-template-columns:repeat(var(--category-count,4),minmax(130px,1fr));gap:8px}.category-column{display:grid;gap:8px}.category-title{min-height:80px;display:grid;place-items:center;text-align:center;background:#132565;color:#fff;border-radius:12px;padding:10px;font-weight:900;text-transform:uppercase}.category-question{min-height:95px;border:0;border-radius:12px;background:#2444b4;color:#f8cf45;font-size:1.7rem;font-weight:900;cursor:pointer}.category-question.is-used{background:#dbe0ec;color:#8d96aa;cursor:default}.board-modal-question{font-size:clamp(1.7rem,4vw,3.2rem);text-align:center}.board-answer{font-size:1.4rem;text-align:center;padding:20px;background:#f1f4fa;border-radius:16px;margin:20px 0}
.fill-sentence{font-size:clamp(1.7rem,4vw,3.4rem);text-align:center;margin:24px 0}.fill-blank{display:inline-block;min-width:150px;border-bottom:4px solid var(--teacher-blue);color:var(--teacher-blue)}
.truefalse-buttons{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:760px;margin:30px auto}.truefalse-button{border:0;border-radius:20px;padding:28px;font-size:1.5rem;font-weight:900;color:#fff;cursor:pointer}.truefalse-button.true{background:#19a46b}.truefalse-button.false{background:#d83b49}
.speaking-card{max-width:900px;margin:0 auto;text-align:center}.speaking-card h2{font-size:clamp(2rem,5vw,4rem);line-height:1.1}.speaking-followups{display:grid;gap:10px;margin:24px 0}.speaking-followups div{background:#f2f5fb;border-radius:14px;padding:14px;font-size:1.05rem}.speaking-clock{width:140px;height:140px;border-radius:50%;display:grid;place-items:center;margin:20px auto;background:#17265f;color:#fff;font-size:2.2rem;font-weight:900}
.listening-player{max-width:900px;margin:0 auto;text-align:center}.audio-box{padding:20px;background:#eef2ff;border-radius:18px;margin:20px auto}.audio-box audio{width:100%}.transcript-box{padding:18px;border-radius:16px;background:#f3f5f9;text-align:left;margin-top:18px}
.draw-card{text-align:center;max-width:850px;margin:0 auto}.draw-word{font-size:clamp(3rem,9vw,7rem);line-height:1;margin:24px 0;font-weight:950;color:var(--teacher-blue)}.taboo-list{display:flex;gap:9px;flex-wrap:wrap;justify-content:center}.taboo-list span{background:#fff0f2;color:#a82431;padding:8px 12px;border-radius:999px;font-weight:800}
.tool-shell{min-height:calc(100vh - 180px);padding:38px 0 70px}.tool-workspace{background:#fff;border:1px solid var(--teacher-line);border-radius:24px;padding:clamp(22px,4vw,44px);box-shadow:var(--teacher-shadow)}.tool-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px}.tool-heading h1{margin:4px 0 0}.tool-heading p{color:var(--teacher-muted);margin:6px 0 0}.tool-big-clock{text-align:center;font-size:clamp(5rem,18vw,13rem);line-height:1;font-weight:950;letter-spacing:-.06em;color:var(--teacher-blue);font-variant-numeric:tabular-nums}.tool-presets,.tool-controls{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px 0}.tool-input-panel{max-width:800px;margin:0 auto 24px}.tool-input-panel textarea{width:100%;min-height:180px;border:1px solid #d7deeb;border-radius:16px;padding:16px;resize:vertical}.scoreboard-grid{display:grid;grid-template-columns:repeat(var(--score-count,2),minmax(0,1fr));gap:18px}.score-team{text-align:center;border-radius:22px;padding:24px;background:#eef2ff}.score-team input{font-size:1.2rem;text-align:center;font-weight:900;background:transparent;border:0;border-bottom:2px solid #aebbe4;width:100%;padding:8px}.score-number{font-size:clamp(4rem,10vw,8rem);font-weight:950;color:var(--teacher-blue);line-height:1;margin:20px 0}.score-buttons{display:flex;justify-content:center;gap:8px}.score-buttons button{width:48px;height:48px;border:0;border-radius:50%;font-size:1.3rem;font-weight:900;cursor:pointer}.random-result{text-align:center;padding:34px;border-radius:22px;background:#17265f;color:#fff;margin:24px 0}.random-result strong{display:block;font-size:clamp(2.5rem,8vw,6rem);line-height:1.05}.teams-output{display:grid;grid-template-columns:repeat(var(--team-count,2),minmax(0,1fr));gap:16px}.team-output-card{background:#f1f4fa;border-radius:18px;padding:18px}.team-output-card h3{margin-top:0}.team-output-card ol{padding-left:22px}.pair-output{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pair-card{padding:16px;border-radius:14px;background:#f1f4fa;font-weight:800}.participation-table{width:100%;border-collapse:collapse}.participation-table th,.participation-table td{padding:12px;border-bottom:1px solid #e2e7f1;text-align:left}.participation-actions{display:flex;gap:6px}.participation-actions button{border:0;border-radius:9px;padding:8px 10px;cursor:pointer}
.admin-page-main{padding:36px 0 70px;min-height:calc(100vh - 190px)}.admin-page-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:24px}.admin-page-heading h1{margin:6px 0 0}.admin-page-heading p{margin:7px 0 0;color:var(--teacher-muted)}.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.admin-stat-card{background:#fff;border:1px solid var(--teacher-line);border-radius:18px;padding:20px}.admin-stat-card span{color:var(--teacher-muted);font-size:.85rem}.admin-stat-card strong{display:block;font-size:2rem;margin-top:6px}.admin-panel{background:#fff;border:1px solid var(--teacher-line);border-radius:20px;padding:22px;margin-bottom:22px;box-shadow:0 8px 24px rgba(20,36,107,.05)}.admin-panel h2{margin-top:0}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{text-align:left;padding:13px 10px;border-bottom:1px solid #e6eaf2;vertical-align:middle}.admin-table th{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#68738c}.admin-table-actions{display:flex;gap:6px;flex-wrap:wrap}.status-pill{display:inline-flex;padding:6px 9px;border-radius:999px;font-size:.74rem;font-weight:800}.status-published,.status-active{background:#e8f8f0;color:#0e7248}.status-draft{background:#fff5da;color:#8a5c00}.status-archived,.status-inactive{background:#edf0f5;color:#5f687b}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-form-grid .field-full{grid-column:1/-1}.admin-form label{display:block;font-weight:750;margin-bottom:7px}.admin-form input,.admin-form select,.admin-form textarea{width:100%;border:1px solid #d7deeb;border-radius:12px;padding:12px 13px;background:#fff}.admin-form textarea{min-height:120px;resize:vertical}.admin-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.activity-builder{margin-top:22px}.builder-item{border:1px solid #dde3ef;border-radius:16px;padding:16px;margin-bottom:12px;background:#fafbfe}.builder-item-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.builder-grid .full{grid-column:1/-1}.builder-help{padding:14px;border-radius:13px;background:#edf2ff;color:#344574;margin-bottom:14px}.builder-category{border:2px solid #dce3f1;border-radius:18px;padding:16px;margin-bottom:15px}.inline-check{display:flex!important;align-items:center;gap:8px}.inline-check input{width:auto!important}.danger-zone{border-color:#f0c8cd;background:#fff9fa}
.install-page{background:#f3f5fa;min-height:100vh;padding:40px 16px}.install-card{max-width:900px;margin:0 auto;background:#fff;border-radius:24px;padding:32px;box-shadow:var(--teacher-shadow)}.install-brand{text-align:center;margin-bottom:26px}.install-brand img{height:58px}.install-brand h1{margin:12px 0 5px}.install-step{padding:18px;border:1px solid var(--teacher-line);border-radius:16px;margin-bottom:14px}.install-ok{color:#0b7b4b}.install-error{color:#b62331}
@media (max-width:1050px){.teacher-level-grid{grid-template-columns:repeat(2,1fr)}.teacher-activity-grid{grid-template-columns:repeat(2,1fr)}.teacher-tool-grid{grid-template-columns:repeat(2,1fr)}.teacher-hero-grid{grid-template-columns:1fr}.admin-stat-grid{grid-template-columns:repeat(2,1fr)}.wheel-layout{grid-template-columns:1fr}.category-board{overflow-x:auto}.library-filter{grid-template-columns:1fr 1fr}.library-filter input{grid-column:1/-1}}
@media (max-width:720px){.teacher-main{padding-top:24px}.teacher-hero{padding:40px 0}.teacher-level-grid,.teacher-activity-grid,.teacher-tool-grid,.admin-stat-grid,.admin-form-grid{grid-template-columns:1fr}.library-filter{grid-template-columns:1fr}.game-shell{padding:10px}.game-stage{padding:18px;min-height:calc(100vh - 150px)}.game-topbar{align-items:flex-start}.game-topbar-actions{justify-content:flex-end}.game-options,.truefalse-buttons,.bingo-cards,.pair-output{grid-template-columns:1fr}.memory-grid{--memory-cols:3!important}.team-name-grid{grid-template-columns:1fr}.team-scorebar,.scoreboard-grid,.teams-output{overflow-x:auto;grid-template-columns:repeat(var(--team-count,2),minmax(190px,1fr))}.admin-page-heading,.teacher-section-heading,.tool-heading{align-items:flex-start;flex-direction:column}.admin-table-wrap{overflow-x:auto}.builder-grid{grid-template-columns:1fr}.builder-grid .full{grid-column:auto}.teacher-level-card{min-height:190px}}
@media print{.app-header,.app-footer,.game-topbar,.bingo-toolbar,.no-print{display:none!important}.game-shell,.game-stage{padding:0;box-shadow:none;border:0}.bingo-cards{display:grid;grid-template-columns:1fr 1fr}.bingo-card{page-break-inside:avoid}.bingo-cell{min-height:58px;font-size:.75rem}}
.memory-card{border:0;background:transparent;padding:0}


:root{
  --teacher-blue:#172b78;
  --teacher-blue-2:#2747bd;
  --teacher-blue-3:#5f78e8;
  --teacher-red:#dc3346;
  --teacher-gold:#f6bd45;
  --teacher-green:#15966a;
  --teacher-surface:#f5f7fb;
  --teacher-ink:#17213b;
  --teacher-muted:#667089;
  --teacher-line:#e1e6f0;
  --teacher-shadow-sm:0 8px 24px rgba(25,39,89,.07);
  --teacher-shadow:0 22px 60px rgba(18,35,104,.13);
}

body.teachers-platform{background:#f7f8fb;color:var(--teacher-ink)}
.teachers-header{background:rgba(255,255,255,.96);border-bottom:1px solid rgba(219,225,238,.9);box-shadow:0 6px 26px rgba(24,37,82,.05);backdrop-filter:blur(16px)}
.teachers-header .app-brand img{max-height:44px}
.teachers-header .app-brand span{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase}
.teachers-header .app-nav a{border-radius:10px;font-size:.88rem;font-weight:730}
.teachers-header .app-nav a:hover{background:#f1f4fb;color:var(--teacher-blue)}
.teachers-header .app-nav a.is-active{background:#eaf0ff;color:var(--teacher-blue)}
.teacher-avatar{box-shadow:inset 0 0 0 1px rgba(255,255,255,.2),0 7px 18px rgba(23,43,120,.22)}

.teacher-dashboard-redesign .teacher-main{padding:0 0 76px}
.teacher-hero-modern{padding:72px 0 70px;background:
  radial-gradient(circle at 82% 12%,rgba(118,144,255,.32),transparent 25%),
  radial-gradient(circle at 10% 100%,rgba(226,47,63,.14),transparent 30%),
  linear-gradient(128deg,#0c194d 0%,#172e82 50%,#294dc2 100%)}
.teacher-hero-modern:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(to right,#000,transparent 75%);pointer-events:none}
.teacher-hero-modern:after{width:520px;height:520px;right:-170px;top:-320px;background:rgba(255,255,255,.08)}
.teacher-hero-modern .teacher-hero-grid{grid-template-columns:minmax(0,1.38fr) minmax(330px,.72fr);gap:56px}
.teacher-hero-content{max-width:800px}
.teacher-hero-modern h1{max-width:760px;margin:14px 0 17px;font-size:clamp(2.5rem,4.8vw,4.65rem);letter-spacing:-.045em;line-height:.98;text-wrap:balance}
.teacher-hero-modern p{max-width:690px;font-size:1.08rem;line-height:1.7;color:rgba(255,255,255,.78)}
.teacher-hero-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;max-width:720px;margin-top:28px;padding:7px 7px 7px 17px;background:#fff;border:1px solid rgba(255,255,255,.55);border-radius:17px;box-shadow:0 18px 38px rgba(3,13,55,.25)}
.teacher-hero-search>span{font-size:1.45rem;line-height:1;color:#64708f;transform:rotate(-18deg)}
.teacher-hero-search input{min-width:0;height:47px;border:0;outline:0;background:transparent;padding:0 13px;color:var(--teacher-ink);font-size:.98rem}
.teacher-hero-search input::placeholder{color:#8a93a8}
.teacher-hero-search:focus-within{box-shadow:0 0 0 4px rgba(255,255,255,.25),0 18px 38px rgba(3,13,55,.25)}
.teacher-hero-search button{height:44px;border:0;border-radius:12px;padding:0 23px;background:var(--teacher-red);color:#fff;font-weight:800;cursor:pointer;transition:transform .2s ease,background .2s ease}
.teacher-hero-search button:hover{background:#c8283a;transform:translateY(-1px)}
.teacher-hero-modern .teacher-hero-actions{margin-top:22px}
.teacher-hero-modern .btn{min-height:46px;border-radius:12px;padding-inline:19px}

.teacher-overview-card{padding:0;overflow:hidden;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.22);border-radius:26px;box-shadow:0 26px 60px rgba(2,12,52,.24);backdrop-filter:blur(18px)}
.teacher-overview-head{padding:24px 25px 21px;border-bottom:1px solid rgba(255,255,255,.12)}
.teacher-overview-head .teacher-overview-kicker{display:block;margin-bottom:7px;color:rgba(255,255,255,.6);font-size:.7rem;font-weight:850;letter-spacing:.11em;text-transform:uppercase}
.teacher-overview-head strong{font-size:1.12rem;line-height:1.35}
.teacher-overview-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:22px 17px}
.teacher-overview-stats div{min-width:0;padding:0 10px;text-align:center;border-right:1px solid rgba(255,255,255,.13)}
.teacher-overview-stats div:last-child{border-right:0}
.teacher-overview-stats strong{font-size:1.7rem;line-height:1.1;font-variant-numeric:tabular-nums}
.teacher-overview-stats span{display:block;margin-top:5px;color:rgba(255,255,255,.62);font-size:.72rem;font-weight:730;text-transform:uppercase;letter-spacing:.06em}
.teacher-overview-note{display:flex;align-items:flex-start;gap:12px;margin:0 17px 17px;padding:15px;border-radius:15px;background:rgba(255,255,255,.1)}
.teacher-overview-note>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:10px;background:#fff;color:var(--teacher-blue);font-weight:900}
.teacher-overview-note p{margin:0;font-size:.82rem;line-height:1.48;color:rgba(255,255,255,.68)}
.teacher-overview-note p strong{color:#fff;font-size:.85rem}

.teacher-dashboard-redesign .teacher-section{padding:52px 0}
.teacher-dashboard-redesign .teacher-section+.teacher-section{padding-top:52px}
.teacher-section-first{padding-top:58px!important}
.teacher-dashboard-redesign .teacher-section-heading{align-items:flex-end;margin-bottom:26px}
.teacher-dashboard-redesign .teacher-section-heading h2{font-size:clamp(1.7rem,3vw,2.35rem);letter-spacing:-.025em;line-height:1.12}
.teacher-dashboard-redesign .teacher-section-heading p{max-width:650px;font-size:.98rem;line-height:1.6}
.teacher-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--teacher-blue);font-size:.88rem;font-weight:820;text-decoration:none;white-space:nowrap}
.teacher-text-link span{transition:transform .2s ease}
.teacher-text-link:hover span{transform:translateX(4px)}

.teacher-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.teacher-quick-card{position:relative;display:flex;flex-direction:column;min-height:225px;padding:22px;border:1px solid var(--teacher-line);border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:var(--teacher-shadow-sm);overflow:hidden;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.teacher-quick-card:before{content:"";position:absolute;width:115px;height:115px;right:-45px;top:-55px;border-radius:50%;background:#eef2ff;transition:transform .3s ease}
.teacher-quick-card:hover{transform:translateY(-5px);border-color:#cbd5ef;box-shadow:0 18px 38px rgba(25,39,89,.11)}
.teacher-quick-card:hover:before{transform:scale(1.25)}
.teacher-quick-icon{position:relative;display:grid;place-items:center;width:50px;height:50px;margin-bottom:24px;border-radius:15px;background:#edf1ff;font-size:1.55rem}
.teacher-quick-copy{display:flex;flex-direction:column;gap:5px}
.teacher-quick-copy small{color:#75809a;font-size:.68rem;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.teacher-quick-copy strong{font-size:1.22rem}
.teacher-quick-copy>span{color:var(--teacher-muted);font-size:.86rem;line-height:1.5}
.teacher-quick-arrow{position:absolute;right:20px;bottom:17px;color:var(--teacher-blue);font-size:1.15rem;font-weight:900}

.teacher-section-soft{position:relative;background:#f0f3f9;border-block:1px solid #e5e9f2}
.teacher-section-soft .teacher-section-heading{margin-bottom:28px}
.teacher-dashboard-redesign .teacher-level-grid{gap:17px}
.teacher-dashboard-redesign .teacher-level-card{min-height:310px;border:1px solid rgba(255,255,255,.12);border-radius:22px;box-shadow:0 16px 34px rgba(16,30,82,.16);transition:transform .24s ease,box-shadow .24s ease}
.teacher-dashboard-redesign .teacher-level-card:after{background:linear-gradient(180deg,rgba(7,15,48,.17) 0%,rgba(8,17,54,.34) 35%,rgba(7,15,48,.96) 100%)}
.teacher-dashboard-redesign .teacher-level-card:hover{transform:translateY(-6px);box-shadow:0 24px 48px rgba(16,30,82,.22)}
.teacher-dashboard-redesign .teacher-level-card img{transition:transform .55s ease}
.teacher-dashboard-redesign .teacher-level-card:hover img{transform:scale(1.045)}
.teacher-level-top{position:absolute;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:8px;left:17px;right:17px;top:17px}
.teacher-level-top small,.teacher-level-top>span{padding:7px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(7,15,48,.48);color:#fff;font-size:.66rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase;backdrop-filter:blur(10px)}
.teacher-dashboard-redesign .teacher-level-copy{left:20px;right:20px;bottom:19px}
.teacher-dashboard-redesign .teacher-level-copy strong{font-size:1.55rem;letter-spacing:-.02em}
.teacher-dashboard-redesign .teacher-level-copy>span{display:-webkit-box;min-height:42px;margin-top:7px;overflow:hidden;color:rgba(255,255,255,.76);font-size:.82rem;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.teacher-dashboard-redesign .teacher-level-copy b{display:flex;align-items:center;gap:7px;margin-top:15px;color:#fff;font-size:.78rem}

.teacher-dashboard-redesign .teacher-activity-grid{gap:18px}
.teacher-dashboard-redesign .teacher-activity-card{border-radius:20px;border-color:#e2e7f0;box-shadow:var(--teacher-shadow-sm)}
.teacher-dashboard-redesign .teacher-activity-card:hover{transform:translateY(-5px);border-color:#ced7ed;box-shadow:0 20px 42px rgba(20,36,107,.12)}
.teacher-dashboard-redesign .activity-card-top{padding:19px 19px 0}
.teacher-dashboard-redesign .game-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#f1f4ff,#e7edff);box-shadow:inset 0 0 0 1px #e1e7f8}
.teacher-dashboard-redesign .activity-card-body{padding:17px 19px}
.teacher-dashboard-redesign .activity-card-tags span{padding:5px 7px;font-size:.64rem;background:#f1f3f8;color:#52607f}
.teacher-dashboard-redesign .activity-card-body h3{font-size:1.13rem;line-height:1.32;letter-spacing:-.012em}
.teacher-dashboard-redesign .activity-card-body p{display:-webkit-box;overflow:hidden;font-size:.86rem;line-height:1.55;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.teacher-dashboard-redesign .activity-card-actions{padding:0 19px 19px}
.teacher-dashboard-redesign .activity-card-actions .btn{min-height:44px;border-radius:12px}

.teacher-tools-section{padding-top:34px!important}
.teacher-tools-surface{padding:38px;border:1px solid #dce2ef;border-radius:28px;background:linear-gradient(135deg,#fff 0%,#f6f8fd 100%);box-shadow:0 18px 48px rgba(19,34,88,.08)}
.teacher-tools-surface .teacher-tool-grid{gap:13px}
.teacher-tools-surface .teacher-tool-card{position:relative;gap:14px;padding:17px;border-radius:16px;box-shadow:none}
.teacher-tools-surface .teacher-tool-card:hover{transform:translateY(-3px);background:#fff;border-color:#c9d4ee;box-shadow:var(--teacher-shadow-sm)}
.teacher-tools-surface .teacher-tool-card .tool-icon{flex-basis:45px;height:45px;border-radius:13px;font-size:1.35rem}
.teacher-tools-surface .teacher-tool-card h3{font-size:.98rem}
.teacher-tools-surface .teacher-tool-card p{font-size:.78rem;line-height:1.42;padding-right:12px}
.teacher-tools-surface .teacher-tool-card>b{position:absolute;right:15px;top:16px;color:#8792ad}

.teacher-recent-section{padding-bottom:0!important}
.teacher-recent-list{display:grid;gap:9px}
.teacher-recent-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:14px 16px;border:1px solid var(--teacher-line);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(22,36,84,.04)}
.teacher-recent-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#eef2ff;font-size:1.3rem}
.teacher-recent-item>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:center}
.teacher-recent-item small{grid-column:1;color:#78839b;font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.teacher-recent-item strong{grid-column:1;font-size:.93rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.teacher-recent-item>div>span{grid-column:2;grid-row:1/3;color:#7d879e;font-size:.75rem}
.teacher-recent-item>a{display:inline-flex;gap:6px;align-items:center;padding:9px 12px;border-radius:10px;background:#f0f3fa;color:var(--teacher-blue);font-size:.78rem;font-weight:820;text-decoration:none}
.teacher-recent-item>a:hover{background:#e5ebfa}

.teacher-dashboard-redesign a:focus-visible,.teacher-dashboard-redesign button:focus-visible,.teacher-dashboard-redesign input:focus-visible{outline:3px solid #f7c857;outline-offset:3px}

@media (max-width:1180px){
  .teacher-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teacher-quick-card{min-height:190px}
  .teacher-hero-modern .teacher-hero-grid{gap:35px}
  .teacher-dashboard-redesign .teacher-level-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:920px){
  .teacher-hero-modern{padding:55px 0}
  .teacher-hero-modern .teacher-hero-grid{grid-template-columns:1fr}
  .teacher-overview-card{max-width:650px}
  .teacher-hero-modern h1{max-width:820px}
  .teacher-tools-surface{padding:30px}
}
@media (max-width:720px){
  .teacher-dashboard-redesign .teacher-main{padding-bottom:52px}
  .teacher-hero-modern{padding:42px 0 44px}
  .teacher-hero-modern h1{font-size:clamp(2.15rem,12vw,3.15rem);line-height:1.02}
  .teacher-hero-modern p{font-size:.98rem;line-height:1.6}
  .teacher-hero-search{grid-template-columns:auto minmax(0,1fr);padding:7px 10px 7px 15px}
  .teacher-hero-search button{grid-column:1/-1;width:100%;margin-top:5px}
  .teacher-overview-stats strong{font-size:1.45rem}
  .teacher-overview-stats span{font-size:.63rem}
  .teacher-dashboard-redesign .teacher-section,.teacher-dashboard-redesign .teacher-section+.teacher-section{padding:39px 0}
  .teacher-section-first{padding-top:42px!important}
  .teacher-dashboard-redesign .teacher-section-heading{align-items:flex-start;margin-bottom:22px}
  .teacher-quick-grid,.teacher-dashboard-redesign .teacher-level-grid{grid-template-columns:1fr}
  .teacher-quick-card{min-height:0;padding:18px 18px 44px}
  .teacher-quick-icon{margin-bottom:18px}
  .teacher-dashboard-redesign .teacher-level-card{min-height:285px}
  .teacher-tools-surface{padding:25px 18px;border-radius:22px}
  .teacher-recent-item{grid-template-columns:auto minmax(0,1fr);gap:12px}
  .teacher-recent-item>div{display:block}
  .teacher-recent-item>div>*{display:block;margin-bottom:3px}
  .teacher-recent-item>div>span{margin-bottom:0}
  .teacher-recent-item>a{grid-column:2;justify-self:start}
}
@media (max-width:430px){
  .teacher-overview-stats{padding-inline:8px}
  .teacher-overview-stats div{padding-inline:6px}
  .teacher-overview-note{margin-inline:12px;margin-bottom:12px}
  .teacher-dashboard-redesign .teacher-level-card{min-height:270px}
}
@media (prefers-reduced-motion:reduce){
  .teacher-dashboard-redesign *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}


.update-container{max-width:1180px}
.update-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.7fr);gap:20px;align-items:start}
.update-main-panel,.update-side-panel{margin-bottom:0}
.update-main-panel>h2,.update-side-panel>h2{margin:7px 0 20px;font-size:1.55rem}
.update-feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.update-feature-list article{display:flex;align-items:flex-start;gap:13px;padding:16px;border:1px solid #e1e6f0;border-radius:15px;background:#f9faff}
.update-feature-list article>span{display:grid;place-items:center;flex:0 0 45px;height:45px;border-radius:13px;background:#e9efff;color:var(--teacher-blue);font-size:.88rem;font-weight:900}
.update-feature-list strong{display:block;margin:2px 0 4px;font-size:.92rem}
.update-feature-list p{margin:0;color:var(--teacher-muted);font-size:.8rem;line-height:1.5}
.update-action-form{display:flex;align-items:center;gap:14px;margin-top:22px;padding-top:20px;border-top:1px solid #e5e9f2}
.update-action-form small{max-width:360px;color:var(--teacher-muted);line-height:1.45}
.update-side-panel ol{display:grid;gap:12px;margin:0 0 20px;padding-left:24px;color:#4f5a74;font-size:.88rem;line-height:1.5}
.update-note{padding:14px;border-radius:13px;background:#fff6dd;color:#735400;font-size:.82rem;line-height:1.5}.update-error-detail{margin-top:10px}.update-error-detail summary{cursor:pointer;font-weight:800}.update-error-detail code{display:block;margin-top:8px;padding:10px;border-radius:8px;background:rgba(127,29,29,.08);white-space:normal;word-break:break-word}
.update-success-panel{display:flex;align-items:center;gap:18px;border-color:#bde4d2;background:#f4fcf8}
.update-success-icon{display:grid;place-items:center;flex:0 0 54px;height:54px;border-radius:17px;background:#169666;color:#fff;font-size:1.45rem;font-weight:900;box-shadow:0 10px 24px rgba(22,150,102,.2)}
.update-success-panel h2{margin:4px 0 5px}.update-success-panel p{margin:0;color:#4e645b}
@media (max-width:900px){.update-grid{grid-template-columns:1fr}.update-feature-list{grid-template-columns:1fr}}
@media (max-width:620px){.update-action-form{align-items:stretch;flex-direction:column}.update-action-form .btn{width:100%}.update-success-panel{align-items:flex-start}}


.curriculum-main{padding-top:0}.curriculum-hero,.unit-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0c184a 0%,#172d7d 57%,#2545bb 100%);color:#fff}.curriculum-hero:after,.unit-hero:after{content:"";position:absolute;width:520px;height:520px;right:-190px;top:-290px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 75px rgba(255,255,255,.035),0 0 0 150px rgba(255,255,255,.02)}
.curriculum-hero>.container,.unit-hero>.container{position:relative;z-index:1}.curriculum-hero-index{padding:72px 0 68px}.curriculum-hero h1,.unit-hero h1{margin:10px 0 16px;max-width:920px;color:#fff;font-size:clamp(2.2rem,5vw,4.35rem);line-height:1.02;letter-spacing:-.045em}.curriculum-hero>div>p{max-width:760px;margin:0;color:rgba(255,255,255,.78);font-size:1.08rem;line-height:1.65}.eyebrow-light{color:#aebfff!important}
.curriculum-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.curriculum-course-card{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:290px;overflow:hidden;border:1px solid var(--teacher-line);border-radius:24px;background:#fff;color:var(--teacher-ink);box-shadow:0 14px 36px rgba(20,36,107,.08);text-decoration:none;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.curriculum-course-card:hover{transform:translateY(-5px);border-color:#cbd5ec;box-shadow:0 24px 48px rgba(20,36,107,.14)}.curriculum-course-image{position:relative;overflow:hidden}.curriculum-course-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,15,48,.05),rgba(7,15,48,.65))}.curriculum-course-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}.curriculum-course-card:hover img{transform:scale(1.04)}.curriculum-course-image>span{position:absolute;z-index:1;left:16px;bottom:16px;padding:7px 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(8,17,54,.65);color:#fff;font-size:.68rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase;backdrop-filter:blur(8px)}.curriculum-course-body{display:flex;flex-direction:column;padding:24px}.curriculum-course-body>small{color:var(--teacher-blue-2);font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.curriculum-course-body>strong{margin:5px 0 8px;font-size:1.5rem;letter-spacing:-.025em}.curriculum-course-body>p{margin:0 0 18px;color:var(--teacher-muted);font-size:.86rem;line-height:1.55}.curriculum-course-stats{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.curriculum-course-stats b{padding:6px 8px;border-radius:999px;background:#f0f3f9;color:#52607e;font-size:.67rem}.curriculum-course-body>em{margin-top:16px;color:var(--teacher-blue);font-size:.82rem;font-style:normal;font-weight:850}
.curriculum-course-hero{padding:32px 0 62px}.curriculum-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:42px;color:rgba(255,255,255,.7);font-size:.78rem}.curriculum-breadcrumb a{color:rgba(255,255,255,.82);text-decoration:none}.curriculum-breadcrumb a:hover{color:#fff}.curriculum-breadcrumb strong{color:#fff}.curriculum-course-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:end}.curriculum-course-hero-grid p{max-width:700px;margin:0;color:rgba(255,255,255,.78);font-size:1.05rem;line-height:1.65}.curriculum-course-hero-grid aside{display:grid;grid-template-columns:repeat(3,100px);overflow:hidden;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px)}.curriculum-course-hero-grid aside div{padding:20px 12px;text-align:center}.curriculum-course-hero-grid aside div+div{border-left:1px solid rgba(255,255,255,.16)}.curriculum-course-hero-grid aside strong,.curriculum-course-hero-grid aside span{display:block}.curriculum-course-hero-grid aside strong{font-size:1.7rem}.curriculum-course-hero-grid aside span{margin-top:3px;color:rgba(255,255,255,.68);font-size:.68rem;text-transform:uppercase;letter-spacing:.06em}
.curriculum-module-list{display:grid;gap:16px}.curriculum-module{overflow:hidden;border:1px solid var(--teacher-line);border-radius:20px;background:#fff;box-shadow:0 9px 26px rgba(20,36,107,.055)}.curriculum-module summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 25px;cursor:pointer;list-style:none}.curriculum-module summary::-webkit-details-marker{display:none}.curriculum-module summary>span:first-child{min-width:0}.curriculum-module summary small,.curriculum-module summary strong,.curriculum-module summary p{display:block}.curriculum-module summary small{color:var(--teacher-blue-2);font-size:.65rem;font-weight:850;text-transform:uppercase;letter-spacing:.075em}.curriculum-module summary strong{margin:3px 0 4px;font-size:1.25rem}.curriculum-module summary p{margin:0;color:var(--teacher-muted);font-size:.82rem}.curriculum-module-count{flex:0 0 auto;padding:8px 11px;border-radius:999px;background:#eef2ff;color:var(--teacher-blue);font-size:.72rem;font-weight:850}.curriculum-module[open] summary{border-bottom:1px solid var(--teacher-line);background:#fbfcff}.curriculum-unit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:18px}.curriculum-unit-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;padding:17px;border:1px solid #e5e9f2;border-radius:15px;background:#fff;color:var(--teacher-ink);text-decoration:none;transition:.2s ease}.curriculum-unit-card:hover{transform:translateY(-2px);border-color:#cbd5ec;background:#fafdff;box-shadow:0 11px 25px rgba(20,36,107,.08)}.curriculum-unit-number{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#eef2ff;color:var(--teacher-blue);font-size:.82rem;font-weight:900}.curriculum-unit-content>*{display:block}.curriculum-unit-content small{overflow:hidden;color:#74809a;font-size:.67rem;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.curriculum-unit-content strong{margin:4px 0 8px;font-size:1rem}.curriculum-unit-content>span{color:#5e6981;font-size:.76rem;line-height:1.45}.curriculum-unit-content em{margin-top:12px;color:var(--teacher-blue);font-size:.72rem;font-style:normal;font-weight:850}
.unit-hero{padding:30px 0 62px}.unit-hero .curriculum-breadcrumb{margin-bottom:46px}.unit-hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(270px,.55fr);gap:48px;align-items:end}.unit-sequence{display:inline-block;padding:7px 10px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(255,255,255,.1);font-size:.7rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.unit-hero h1{margin-top:13px}.unit-hero-grid>div>p{margin:0;color:#bdc9ed;font-size:1.08rem}.unit-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.unit-hero-tags span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.1);color:rgba(255,255,255,.86);font-size:.7rem;font-weight:750}.unit-goal-card{padding:24px;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px)}.unit-goal-card p{margin:8px 0 0;color:#fff;font-size:.95rem;line-height:1.6}.unit-main .teacher-section{padding:34px 0}.unit-planning-section{padding-top:44px!important}.unit-planning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.unit-planning-card{padding:26px;border:1px solid var(--teacher-line);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(20,36,107,.055)}.unit-planning-card h2,.unit-teacher-guide h2{margin:6px 0 18px;font-size:1.3rem}.unit-language-bank{display:flex;gap:7px;flex-wrap:wrap}.unit-language-bank span{padding:7px 10px;border:1px solid #dfe5f2;border-radius:999px;background:#f5f7fc;color:#44506e;font-size:.78rem;font-weight:720}.unit-model-list{display:grid;gap:9px;margin:0;padding:0;list-style:none;counter-reset:models}.unit-model-list li{position:relative;padding-left:30px;color:#46516d;font-size:.84rem;line-height:1.5;counter-increment:models}.unit-model-list li:before{content:counter(models);position:absolute;left:0;top:0;display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#e9efff;color:var(--teacher-blue);font-size:.66rem;font-weight:900}.unit-teacher-guide{display:grid;grid-template-columns:minmax(230px,.5fr) minmax(0,1.5fr);gap:26px;margin-top:18px;padding:26px;border:1px solid #cbd8f5;border-radius:20px;background:linear-gradient(135deg,#edf2ff,#f8faff)}.unit-teacher-guide ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}.unit-teacher-guide li{padding:13px 15px;border-radius:13px;background:#fff;color:#59647d;font-size:.79rem;line-height:1.5;box-shadow:0 5px 15px rgba(20,36,107,.05)}.unit-teacher-guide li strong{display:block;margin-bottom:2px;color:var(--teacher-ink)}.unit-activity-section+.unit-activity-section{border-top:1px solid #e7ebf3}.unit-activity-section:nth-of-type(even){background:#f2f5fa}
.curriculum-library-hero{padding:58px 0;background:linear-gradient(135deg,#0e1d56,#1f3da5);color:#fff}.curriculum-library-hero h1{margin:8px 0 10px;color:#fff;font-size:clamp(2rem,4vw,3.4rem)}.curriculum-library-hero>div>p{max-width:700px;margin:0;color:rgba(255,255,255,.76)}.curriculum-filter{display:grid;grid-template-columns:1.4fr repeat(5,minmax(140px,1fr)) auto;gap:8px;margin-top:25px;padding:10px;border:1px solid rgba(255,255,255,.15);border-radius:17px;background:rgba(255,255,255,.1);backdrop-filter:blur(10px)}.curriculum-filter input,.curriculum-filter select{width:100%;min-width:0;border-color:transparent;background:#fff}.curriculum-filter .btn{white-space:nowrap}.admin-activity-filter{grid-template-columns:1.5fr repeat(4,minmax(130px,1fr)) auto}.admin-activity-filter input,.admin-activity-filter select{min-width:0}
.game-teacher-guide{max-width:720px;margin:18px auto 0;padding:16px 18px;border:1px solid #dbe3f4;border-radius:15px;background:#f7f9ff;text-align:left}.game-teacher-guide>strong,.game-grammar-focus>strong{display:block;margin-bottom:8px;color:#263a82;font-size:.77rem;text-transform:uppercase;letter-spacing:.055em}.game-teacher-guide ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 22px;margin:0;padding-left:18px;color:#52607b;font-size:.8rem;line-height:1.45}.game-grammar-focus{display:flex;align-items:center;justify-content:center;gap:9px;max-width:720px;margin:16px auto 0;padding:10px 13px;border-radius:12px;background:#fff3cf;color:#58491f;font-size:.82rem}.game-grammar-focus>strong{display:inline;margin:0;color:#735b0f}
.admin-curriculum-list{display:grid;gap:18px}.admin-curriculum-course{margin:0}.admin-curriculum-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:start}.admin-curriculum-heading h2{margin:5px 0 6px}.admin-curriculum-heading p{margin:0;color:var(--teacher-muted)}.admin-curriculum-heading>div:last-child{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end;max-width:360px}.admin-curriculum-heading b,.admin-curriculum-heading a{padding:7px 10px;border-radius:999px;background:#f0f3f9;color:#53617e;font-size:.7rem;text-decoration:none}.admin-curriculum-heading a{background:#e8eeff;color:var(--teacher-blue)}.admin-curriculum-modules{display:grid;gap:8px;margin-top:22px}.admin-curriculum-modules details{overflow:hidden;border:1px solid #e2e7f0;border-radius:14px;background:#fbfcff}.admin-curriculum-modules summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;cursor:pointer}.admin-curriculum-modules summary span>*{display:block}.admin-curriculum-modules summary small{margin-top:3px;color:var(--teacher-muted);font-size:.74rem}.admin-curriculum-modules summary>b{font-size:.72rem}.admin-curriculum-units{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;border-top:1px solid #e2e7f0;background:#fff}.admin-curriculum-units a{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e7eaf1;border-radius:10px;color:var(--teacher-ink);text-decoration:none}.admin-curriculum-units a>span:first-child{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf2ff;color:var(--teacher-blue);font-size:.68rem;font-weight:900}.admin-curriculum-units strong,.admin-curriculum-units small{display:block}.admin-curriculum-units strong{font-size:.79rem}.admin-curriculum-units small{overflow:hidden;color:#758099;font-size:.68rem;text-overflow:ellipsis;white-space:nowrap}.admin-curriculum-units a>b{font-size:.68rem}
.curriculum-page a:focus-visible,.curriculum-page button:focus-visible,.curriculum-page summary:focus-visible,.curriculum-library-page input:focus-visible,.curriculum-library-page select:focus-visible{outline:3px solid #f3be3f;outline-offset:3px}
@media (max-width:1180px){.curriculum-course-grid{grid-template-columns:1fr}.curriculum-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.curriculum-filter .filter-search{grid-column:span 2}.curriculum-filter .btn{grid-column:span 1}.admin-activity-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-activity-filter input{grid-column:span 2}}
@media (max-width:900px){.curriculum-course-hero-grid,.unit-hero-grid{grid-template-columns:1fr}.curriculum-course-hero-grid aside{justify-self:start}.curriculum-unit-grid,.unit-planning-grid{grid-template-columns:1fr}.unit-teacher-guide{grid-template-columns:1fr}.admin-curriculum-heading{grid-template-columns:1fr}.admin-curriculum-heading>div:last-child{justify-content:flex-start;max-width:none}}
@media (max-width:720px){.curriculum-hero-index{padding:52px 0}.curriculum-hero h1,.unit-hero h1{font-size:clamp(2.05rem,12vw,3.3rem)}.curriculum-course-card{grid-template-columns:1fr}.curriculum-course-image{height:190px}.curriculum-course-body{padding:21px}.curriculum-course-hero,.unit-hero{padding-bottom:45px}.curriculum-breadcrumb{margin-bottom:30px}.curriculum-course-hero-grid aside{grid-template-columns:repeat(3,minmax(75px,1fr));width:100%}.curriculum-module summary{align-items:flex-start;padding:18px}.curriculum-module summary p{display:none}.curriculum-unit-grid{padding:10px}.curriculum-unit-card{grid-template-columns:39px minmax(0,1fr);padding:13px;gap:10px}.curriculum-unit-number{width:38px;height:38px}.unit-planning-card,.unit-teacher-guide{padding:20px}.unit-teacher-guide ul{grid-template-columns:1fr}.curriculum-filter,.admin-activity-filter{grid-template-columns:1fr}.curriculum-filter .filter-search,.curriculum-filter .btn,.admin-activity-filter input{grid-column:1}.game-teacher-guide ul{grid-template-columns:1fr}.game-grammar-focus{display:block;text-align:left}.admin-curriculum-units{grid-template-columns:1fr}}
@media (max-width:430px){.curriculum-course-hero-grid aside div{padding:15px 7px}.curriculum-course-hero-grid aside strong{font-size:1.4rem}.unit-hero-tags span{width:100%}.curriculum-module-count{display:none}.admin-curriculum-heading>div:last-child{display:grid;grid-template-columns:repeat(2,1fr)}}
@media (prefers-reduced-motion:reduce){.curriculum-page *,.curriculum-library-page *{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}


.activity-card-tags .activity-official-badge{background:#e7f8f0;color:#08764a}.activity-card-tags .activity-team-badge{background:#fff3d4;color:#8a5b00}
.teacher-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:32px}.teacher-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid var(--teacher-line);border-radius:12px;background:#fff;color:var(--teacher-blue);font-weight:800;text-decoration:none}.teacher-pagination a:hover{border-color:#b9c6ea}.teacher-pagination a.is-disabled{pointer-events:none;opacity:.42}.teacher-pagination span{color:var(--teacher-muted)}
.session-warning-modal.is-open{display:flex;opacity:1;visibility:visible}.session-warning-dialog{text-align:center}.session-warning-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 15px;border-radius:22px;background:#fff3d4;font-size:2rem}.session-warning-dialog h2{margin:8px 0}.session-warning-dialog p{color:var(--teacher-muted)}
.quick-lesson-hero{position:relative;overflow:hidden;padding:54px 0;background:linear-gradient(135deg,#10205e,#253fa7);color:#fff}.quick-lesson-hero:after{content:"";position:absolute;inset:auto -80px -180px auto;width:390px;height:390px;border-radius:50%;background:rgba(255,255,255,.08)}.quick-lesson-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.65fr);gap:34px;align-items:center}.quick-lesson-hero h1{margin:8px 0 12px;font-size:clamp(2rem,4vw,3.45rem)}.quick-lesson-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.83);font-size:1.08rem}.quick-lesson-time{padding:24px;border:1px solid rgba(255,255,255,.2);border-radius:22px;background:rgba(255,255,255,.11);backdrop-filter:blur(7px)}.quick-lesson-time span,.quick-lesson-time small{display:block;color:rgba(255,255,255,.74)}.quick-lesson-time strong{display:block;margin:8px 0;font-size:1.18rem}
.quick-lesson-main{padding-top:0}.quick-lesson-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:12px;align-items:end;padding:22px;border:1px solid var(--teacher-line);border-radius:22px;background:#fff;box-shadow:var(--teacher-shadow)}.quick-lesson-form label{display:block;margin-bottom:7px;font-size:.78rem;font-weight:800;color:#4b5877}.quick-lesson-form select{width:100%;height:50px;padding:0 13px;border:1px solid #d9dfeb;border-radius:13px;background:#fff}.quick-lesson-form .btn{height:50px;white-space:nowrap}.quick-plan-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.quick-plan-heading h2{margin:5px 0;font-size:clamp(1.7rem,3vw,2.4rem)}.quick-plan-heading p{margin:0;color:var(--teacher-muted)}.quick-plan-actions{display:flex;gap:10px;flex-wrap:wrap}.quick-plan-timeline{display:grid;gap:12px}.quick-plan-timeline article{display:grid;grid-template-columns:42px 54px minmax(0,1fr) auto;gap:15px;align-items:center;padding:17px 20px;border:1px solid var(--teacher-line);border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(20,36,107,.05)}.quick-plan-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--teacher-blue);color:#fff;font-weight:900}.quick-plan-timeline small{font-weight:800;color:#64708c}.quick-plan-timeline h3{margin:3px 0 4px}.quick-plan-timeline p{margin:0;color:var(--teacher-muted)}.quick-plan-timeline article>a{font-weight:800;color:var(--teacher-blue);text-decoration:none}.quick-plan-note,.last-unit-card{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:20px 22px;border-radius:18px;background:#eef2ff}.quick-plan-note>span{font-size:1.7rem}.quick-plan-note p{flex:1;margin:0;color:#455270}.quick-lesson-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.quick-lesson-guide article{padding:25px;border:1px solid var(--teacher-line);border-radius:20px;background:#fff}.quick-lesson-guide article>span{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#e8eeff;color:var(--teacher-blue);font-weight:900}.quick-lesson-guide h2{margin:16px 0 7px;font-size:1.15rem}.quick-lesson-guide p{margin:0;color:var(--teacher-muted)}.last-unit-card h2{margin:5px 0}.last-unit-card p{margin:0;color:var(--teacher-muted)}.last-unit-actions{display:flex;gap:10px;flex-wrap:wrap}.dashboard-last-unit-section{padding-bottom:0}.dashboard-last-unit-card{margin-top:-18px;background:#fff;border:1px solid var(--teacher-line);box-shadow:var(--teacher-shadow)}
.unit-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.lesson-progress-bar{display:grid;grid-template-columns:auto minmax(160px,1fr) auto;gap:18px;align-items:center;margin-bottom:14px;padding:12px 16px;border:1px solid #dbe2f2;border-radius:16px;background:#fff}.lesson-progress-bar>div:first-child span,.lesson-progress-bar>div:first-child strong{display:block}.lesson-progress-bar>div:first-child span{font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#66708a}.lesson-progress-track{height:8px;overflow:hidden;border-radius:999px;background:#e8ecf5}.lesson-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--teacher-blue),var(--teacher-blue-2))}.lesson-progress-actions{display:flex;align-items:center;gap:8px}.lesson-progress-actions form{margin:0}
@media(max-width:1100px){.quick-lesson-form{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-lesson-form .btn{grid-column:span 2}.lesson-progress-bar{grid-template-columns:1fr}.lesson-progress-actions{justify-content:flex-end}}
@media(max-width:800px){.quick-lesson-hero-grid{grid-template-columns:1fr}.quick-lesson-time{max-width:520px}.quick-plan-heading{align-items:flex-start;flex-direction:column}.quick-plan-timeline article{grid-template-columns:38px 48px minmax(0,1fr)}.quick-plan-timeline article>a{grid-column:3}.quick-lesson-guide{grid-template-columns:1fr}.last-unit-card{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.quick-lesson-form{grid-template-columns:1fr}.quick-lesson-form .btn{grid-column:1}.quick-plan-timeline article{grid-template-columns:36px minmax(0,1fr)}.quick-plan-timeline .game-icon{display:none}.quick-plan-timeline article>a{grid-column:2}.teacher-pagination{gap:8px}.teacher-pagination span{font-size:.78rem}.lesson-progress-actions{justify-content:flex-start;flex-wrap:wrap}.game-shell{padding:12px}.game-topbar{align-items:flex-start;flex-direction:column}.game-topbar-actions{width:100%}}
.official-content-notice{border-left:5px solid var(--teacher-gold);background:#fffaf0}.official-content-notice strong{color:#76520a}.official-content-notice p{margin:5px 0 0;color:var(--teacher-muted)}
.system-integrity-details{margin-top:18px;padding:16px;border-radius:14px;background:#fff7f7}.system-integrity-details summary{cursor:pointer;font-weight:800}.system-integrity-details ul{margin:13px 0;padding-left:20px}.system-integrity-details p{margin-bottom:0;color:var(--teacher-muted)}


.game-book-connection{display:grid;gap:7px;margin:17px 0;padding:15px 17px;border:1px solid #d8e0f2;border-left:4px solid var(--teacher-blue-2);border-radius:14px;background:#f5f7fc;text-align:left}
.game-book-connection>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.game-book-connection strong{color:var(--teacher-blue);font-size:.86rem}.game-book-connection span{color:#65718c;font-size:.76rem;font-weight:750}.game-book-connection p{margin:0!important;color:#4e5a74!important;font-size:.78rem!important;line-height:1.55!important}
.game-round-picker{margin:17px 0;padding:15px 17px;border:1px solid #dde3ef;border-radius:15px;background:#fff;text-align:left}.game-round-picker legend{padding:0 5px;color:#263555;font-size:.82rem;font-weight:900}.game-round-picker>div{display:flex;gap:8px;flex-wrap:wrap}.game-round-picker label{position:relative;cursor:pointer}.game-round-picker input{position:absolute;opacity:0;pointer-events:none}.game-round-picker span{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border:1px solid #d6ddea;border-radius:999px;background:#f8f9fc;color:#52607d;font-size:.76rem;font-weight:850;transition:.18s ease}.game-round-picker input:checked+span{border-color:var(--teacher-blue);background:var(--teacher-blue);color:#fff;box-shadow:0 7px 18px rgba(20,36,107,.18)}.game-round-picker input:focus-visible+span{outline:3px solid #f3be3f;outline-offset:2px}.game-round-picker small{display:block;margin-top:9px;color:#75809a;font-size:.71rem;line-height:1.45}
.quick-plan-summary{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.quick-plan-summary span{padding:6px 9px;border-radius:999px;background:#eef2fb;color:#54617d;font-size:.72rem;font-weight:850}
@media(max-width:620px){.game-book-connection>div{align-items:flex-start;flex-direction:column}.game-round-picker>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.game-round-picker span{justify-content:center;width:100%}}


:root{--premium-navy:#111c3f;--premium-blue:#2447d8;--premium-blue-soft:#edf2ff;--premium-surface:#fbfcff;--premium-line:#e4e9f3;--premium-muted:#69748c;--premium-focus:0 0 0 4px rgba(36,71,216,.14)}
body.teachers-platform{background:#f7f8fb}
.teachers-platform :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select){font:inherit;color:var(--premium-navy);border:1px solid #dce2ed;border-radius:14px;background-color:#fff;box-shadow:0 1px 2px rgba(17,28,63,.03);transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
.teachers-platform :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),select){min-height:48px}
.teachers-platform :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select):hover{border-color:#c5cede}
.teachers-platform :where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select):focus{outline:0;border-color:#5d76dc;box-shadow:var(--premium-focus)}
.teachers-platform :where(input,textarea)::placeholder{color:#929caf}
.teachers-platform select{appearance:none;padding-right:42px;background-image:linear-gradient(45deg,transparent 50%,#66728a 50%),linear-gradient(135deg,#66728a 50%,transparent 50%);background-position:calc(100% - 19px) 50%,calc(100% - 14px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.teachers-platform :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--premium-blue)}
.admin-form input,.admin-form select,.admin-form textarea,.library-filter input,.library-filter select{border-radius:14px;padding:12px 14px}
.admin-panel,.tool-workspace{border-color:var(--premium-line);box-shadow:0 12px 36px rgba(17,28,63,.055)}
.custom-select{position:relative;min-width:0}.custom-select-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}.custom-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:0 15px;border:1px solid #dce2ed;border-radius:14px;background:#fff;color:var(--premium-navy);font:inherit;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(17,28,63,.03);transition:.18s ease}.custom-select-trigger:hover{border-color:#c5cede;background:#fcfdff}.custom-select-trigger:focus-visible{outline:0;border-color:#5d76dc;box-shadow:var(--premium-focus)}.custom-select-value{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-chevron{flex:0 0 8px;width:8px;height:8px;border-right:2px solid #65718a;border-bottom:2px solid #65718a;transform:rotate(45deg) translateY(-2px);transition:transform .18s}.custom-select.is-open .custom-select-chevron{transform:rotate(225deg) translate(-2px,-2px)}.custom-select-menu{position:absolute;z-index:80;top:calc(100% + 8px);left:0;right:0;display:none;max-height:300px;overflow:auto;padding:7px;border:1px solid #e0e5ef;border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 20px 55px rgba(17,28,63,.16);backdrop-filter:blur(14px)}.custom-select.is-open .custom-select-menu{display:grid;gap:3px;animation:premium-menu-in .16s ease}.custom-select-option{width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#28334e;font:inherit;text-align:left;cursor:pointer}.custom-select-option:hover,.custom-select-option.is-selected{background:var(--premium-blue-soft);color:#1838b4}.custom-select-option.is-selected{font-weight:800}@keyframes premium-menu-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}

.game-page{background:radial-gradient(circle at 8% 0,rgba(58,86,210,.08),transparent 28%),#f5f7fb}.game-shell{padding:18px;max-width:1600px;margin:0 auto}.game-topbar{position:relative;z-index:5;margin-bottom:14px;padding:11px 13px;border-color:rgba(219,225,238,.9);border-radius:16px;box-shadow:0 8px 28px rgba(17,28,63,.055);background:rgba(255,255,255,.9);backdrop-filter:blur(16px)}.game-topbar .game-icon{width:40px;height:40px;border-radius:12px;font-size:1.35rem}.game-topbar h1{color:var(--premium-navy);font-size:1rem}.game-topbar p{font-size:.76rem}.game-topbar .btn{min-height:40px;padding:0 14px;border-radius:11px}.game-stage{position:relative;min-height:calc(100vh - 165px);padding:clamp(26px,4vw,58px);border:1px solid rgba(224,229,239,.9);border-radius:25px;background:rgba(255,255,255,.93);box-shadow:0 22px 70px rgba(17,28,63,.08)}
.game-welcome{min-height:calc(100vh - 285px);text-align:left}.game-prelude-heading{display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:start;padding-bottom:25px}.game-prelude-heading .game-icon{width:66px;height:66px;margin:0;border-radius:19px;background:linear-gradient(145deg,#f2f5ff,#e7edff);box-shadow:inset 0 0 0 1px #e2e8fa;font-size:2rem}.game-prelude-kicker{display:block;margin:2px 0 8px;color:#3150cb;font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.game-welcome h2{margin:0;color:var(--premium-navy);font-size:clamp(2rem,4vw,3.55rem);line-height:1.02;letter-spacing:-.04em}.game-prelude-heading p{max-width:720px;margin:13px 0 0!important;color:var(--premium-muted)!important;font-size:1rem!important;line-height:1.58}
.game-meta{display:grid;grid-template-columns:1.5fr repeat(3,minmax(105px,.6fr));gap:9px;margin:0 0 12px;text-align:left}.game-meta span{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:4px;min-height:68px;padding:12px 14px;border:1px solid var(--premium-line);border-radius:14px;background:#fff}.game-meta small{color:#8993a7;font-size:.63rem;font-weight:850;letter-spacing:.07em;text-transform:uppercase}.game-meta strong{overflow:hidden;color:#28334e;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}
.game-grammar-focus{display:grid;grid-template-columns:130px 1fr;justify-content:initial;gap:16px;max-width:none;margin:9px 0 12px;padding:13px 15px;border:1px solid #e5e9f3;border-radius:14px;background:#f8f9fc;color:#38445d;text-align:left}.game-grammar-focus span{color:#7e899e;font-size:.65rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.game-grammar-focus strong{margin:0!important;color:#2a3550!important;font-size:.78rem!important;letter-spacing:0!important;text-transform:none!important}
.game-prelude-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px}.game-book-connection,.game-teacher-guide{max-width:none;margin:0;padding:0;border:1px solid var(--premium-line);border-left:1px solid var(--premium-line);border-radius:14px;background:#fff}.game-book-connection summary,.game-teacher-guide summary{display:grid;grid-template-columns:38px 1fr 10px;gap:11px;align-items:center;min-height:67px;padding:10px 13px;list-style:none;cursor:pointer}.game-book-connection summary::-webkit-details-marker,.game-teacher-guide summary::-webkit-details-marker{display:none}.game-guide-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--premium-blue-soft);color:#2b4ac8;font-size:.95rem}.game-prelude-guides summary small{display:block;margin-bottom:2px;color:#9099ab;font-size:.61rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.game-prelude-guides summary strong{display:block;color:#27334e;font-size:.76rem}.game-guide-arrow{width:8px;height:8px;border-right:2px solid #7c879c;border-bottom:2px solid #7c879c;transform:rotate(45deg);transition:.18s}.game-prelude-guides details[open] .game-guide-arrow{transform:rotate(225deg)}.game-book-connection>p,.game-teacher-guide>p,.game-teacher-guide>ul{margin:0 15px 15px 61px!important;padding-top:12px;border-top:1px solid #edf0f5;color:#5e6980!important;font-size:.76rem!important;line-height:1.55!important}.game-teacher-guide>ul{display:grid;grid-template-columns:1fr;gap:7px;padding-left:18px}
.game-round-picker{display:grid;grid-template-columns:190px 1fr;gap:10px 20px;align-items:center;margin:0;padding:17px 18px;border:1px solid #dfe5f0;border-radius:16px;background:linear-gradient(135deg,#fbfcff,#f6f8fd);text-align:left}.game-round-picker legend{display:contents}.game-round-picker legend span{color:#8590a5;font-size:.62rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.game-round-picker legend strong{grid-column:1;display:block;color:#27334e;font-size:.82rem}.game-round-options{grid-column:2;grid-row:1/3;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.game-round-picker label{display:block}.game-round-picker label>span{display:grid;grid-template-columns:auto 1fr;gap:7px;align-items:baseline;justify-content:start;width:100%;min-height:48px;padding:9px 12px;border:1px solid #dce2ed;border-radius:12px;background:#fff}.game-round-picker label>span strong{font-size:1rem}.game-round-picker label>span small{margin:0;color:inherit;font-size:.65rem}.game-round-picker input:checked+span{border-color:#2447d8;background:#2447d8;color:#fff;box-shadow:0 8px 18px rgba(36,71,216,.2)}.game-round-picker>p{grid-column:1/-1;margin:3px 0 0;color:#838da1;font-size:.67rem}.game-controls-row{display:grid;justify-items:center;margin-top:20px}.game-controls-row .btn-large{display:flex;align-items:center;justify-content:space-between;gap:26px;min-width:220px;min-height:54px;padding:0 18px 0 22px;border-radius:15px;box-shadow:0 12px 28px rgba(36,71,216,.23)}.game-controls-row>small{margin-top:8px;color:#929bad;font-size:.65rem}

.game-stage.is-running{display:grid;align-items:center;padding:clamp(24px,4vw,56px);background:radial-gradient(circle at 50% 0,rgba(45,75,208,.055),transparent 35%),#fff}.game-stage.is-running .game-question,.game-stage.is-running .speaking-card,.game-stage.is-running .clue-card,.game-stage.is-running .sentence-zone,.game-stage.is-running .listening-player,.game-stage.is-running .draw-card{width:min(100%,980px)}.game-progress{margin-bottom:30px;padding-bottom:14px;border-bottom:1px solid #e8ecf3;font-size:.75rem}.game-question h2{color:var(--premium-navy);letter-spacing:-.025em}.game-options{gap:10px}.game-option{min-height:76px;padding:17px 19px;border:1px solid #dfe4ee;border-radius:15px;background:#fff;color:#27334e;box-shadow:0 4px 14px rgba(17,28,63,.035)}.game-option:hover{transform:translateY(-1px);border-color:#879be9;background:#f8faff;box-shadow:0 9px 24px rgba(36,71,216,.09)}.game-answer-panel{border:1px solid #e2e7f0;border-radius:15px;background:#f8f9fc}.wheel-layout{width:min(100%,1120px);margin:auto}.wheel-result{padding:clamp(20px,3vw,34px);border:1px solid var(--premium-line);border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(17,28,63,.07)}.tool-input-panel textarea{padding:16px 17px;background:#fbfcff}.inline-check{padding:8px 0}.inline-check input{width:18px!important;height:18px!important}

@media(max-width:920px){.custom-select-native{position:static!important;width:100%!important;height:auto!important;clip:auto!important;white-space:normal!important}.custom-select-trigger,.custom-select-menu{display:none!important}.game-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.game-meta span:first-child{grid-column:1/-1}.game-prelude-guides{grid-template-columns:1fr}.game-round-picker{grid-template-columns:1fr}.game-round-picker legend strong{grid-column:1}.game-round-options{grid-column:1;grid-row:auto}.game-round-picker>p{grid-column:1}}
@media(max-width:620px){.game-shell{padding:8px}.game-topbar{align-items:flex-start}.game-topbar-left{min-width:0}.game-topbar-left>div{min-width:0}.game-topbar h1,.game-topbar p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-topbar-actions{justify-content:flex-end}.game-topbar-actions .btn-secondary{display:none}.game-stage{min-height:calc(100vh - 120px);padding:24px 17px;border-radius:18px}.game-welcome{min-height:auto}.game-prelude-heading{grid-template-columns:1fr;gap:15px}.game-prelude-heading .game-icon{width:52px;height:52px}.game-welcome h2{font-size:clamp(1.9rem,10vw,2.65rem)}.game-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.game-meta span{min-height:61px}.game-grammar-focus{grid-template-columns:1fr;gap:5px}.game-round-options{grid-template-columns:repeat(3,minmax(0,1fr))}.game-round-picker label>span{display:flex;flex-direction:column;gap:0;align-items:center;justify-content:center;padding:7px 4px}.game-controls-row .btn-large{width:100%}.game-options{grid-template-columns:1fr}.wheel-layout{grid-template-columns:1fr}.game-book-connection>p,.game-teacher-guide>p,.game-teacher-guide>ul{margin-left:15px!important}}


.teachers-header .app-header-inner{width:min(calc(100% - 32px),1480px);gap:14px}.teachers-header .app-brand{flex:0 0 auto}.teachers-header .app-nav{min-width:0;gap:2px}.teachers-header .app-nav a{padding-inline:9px;font-size:.78rem}.teachers-header .header-actions{flex:0 0 auto}.teachers-header .header-user-button .chevron{display:block;align-self:center;transform-origin:50% 50%}.teachers-header .header-user-button[aria-expanded="true"] .chevron{transform:rotate(180deg)}
.curriculum-filter .custom-select,.quick-lesson-form .custom-select{min-width:0}.curriculum-filter .custom-select-trigger,.quick-lesson-form .custom-select-trigger{height:50px;border-radius:13px}.curriculum-filter .custom-select-menu,.quick-lesson-form .custom-select-menu{border-radius:14px}.custom-select-chevron{margin:0!important;transform:rotate(45deg) translate(-1px,-1px)!important;transform-origin:50% 50%}.custom-select.is-open .custom-select-chevron{transform:rotate(225deg) translate(-1px,-1px)!important}
.game-welcome{min-height:calc(100vh - 260px)}.game-welcome .game-icon{width:70px;height:70px;margin-bottom:15px;font-size:2.35rem}.game-welcome h2{font-size:clamp(1.8rem,4vw,3.2rem)}.game-welcome>div>p{margin:0 auto;max-width:650px}.game-meta{margin:15px 0}.game-book-connection,.game-teacher-guide{max-width:650px;margin:9px auto 0;padding:11px 14px}.game-book-connection summary,.game-teacher-guide summary{cursor:pointer;color:#263a82;font-size:.78rem;font-weight:850;text-align:left}.game-book-connection[open],.game-teacher-guide[open]{padding-bottom:15px}.game-teacher-guide ul{margin-top:12px}.game-round-picker{margin:12px 0}.game-controls-row{margin-top:17px}.game-stage.is-running{padding:clamp(18px,3vw,34px)}.wheel-remaining{display:block;margin-top:14px;color:var(--teacher-muted);font-weight:750}


.wheel-pointer{right:-10px;border-right-color:#0f172a;filter:drop-shadow(0 0 0 #fff) drop-shadow(0 7px 14px rgba(15,23,42,.32))}
.team-setup .game-controls-row{gap:14px;margin-top:22px;margin-bottom:8px}
.team-name-grid{gap:16px;margin:30px 0 26px}
.team-name-grid label{display:flex;flex-direction:column;gap:8px;align-items:stretch;text-align:left;color:#27334e;font-size:.78rem;font-weight:900;letter-spacing:.025em;text-transform:uppercase}
.team-name-grid input{width:100%;min-height:48px;padding:0 14px;border:1px solid #dce2ed;border-radius:14px;background:#fff;color:#142033;font-size:1rem;font-weight:750;text-transform:none;letter-spacing:0;box-shadow:0 8px 20px rgba(20,36,107,.06)}
.team-name-grid input:focus{outline:3px solid rgba(36,71,216,.16);border-color:#2447d8}
@media(max-width:1320px){.teachers-header .app-nav{display:none}.teachers-header .app-header-inner{width:min(calc(100% - 28px),1180px)}}
@media(max-width:620px){.game-welcome{min-height:calc(100vh - 230px)}.game-welcome .game-icon{width:58px;height:58px;font-size:1.9rem}.game-meta span:nth-child(4){display:none}.game-topbar-left>div p{display:none}}


:root{--classroom-ink:#111827;--classroom-muted:#6b7280;--classroom-card:#ffffff;--classroom-soft:#f6f8fc;--classroom-line:#e5e9f2;--classroom-blue:#1938b8;--classroom-shadow:0 24px 70px rgba(17,24,39,.09)}
.teacher-dashboard-redesign .teacher-hero-modern{padding:46px 0;background:linear-gradient(135deg,#0f1b4c,#1938a6 62%,#3156d6)}
.teacher-dashboard-redesign .teacher-hero h1{max-width:720px;font-size:clamp(2rem,4vw,3.35rem)}
.teacher-dashboard-redesign .teacher-hero p{max-width:660px}
.teacher-quick-card,.teacher-tool-card,.teacher-activity-card{border-radius:18px}
.teacher-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.teacher-quick-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:13px;align-items:center;min-height:126px;padding:18px;border:1px solid var(--classroom-line);background:#fff;color:inherit;text-decoration:none;box-shadow:0 10px 30px rgba(17,24,39,.045)}
.teacher-quick-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:13px;background:#eef2ff;font-size:1.35rem}
.teacher-quick-copy{display:grid;gap:3px;min-width:0}.teacher-quick-copy small{color:#7a8498;font-size:.64rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.teacher-quick-copy strong{color:#18213b;font-size:1rem}.teacher-quick-copy span{color:#657087;font-size:.78rem;line-height:1.38}.teacher-quick-arrow{color:#1938b8;font-weight:900}
.teacher-activity-card{box-shadow:0 12px 32px rgba(17,24,39,.055)}
.teacher-activity-card:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(17,24,39,.1)}
.activity-card-tags span{padding:5px 8px;font-size:.64rem;letter-spacing:.04em}.activity-card-body h3{font-size:1.08rem;line-height:1.25}.activity-card-body p{font-size:.84rem;line-height:1.45}.activity-card-body small{display:block;font-size:.72rem;line-height:1.42}
.game-page{background:#f4f6fb}.game-shell{max-width:1500px;padding:14px}
.game-topbar{border-radius:14px;box-shadow:0 10px 34px rgba(17,24,39,.06)}
.game-stage{min-height:calc(100vh - 150px);border-radius:22px;background:#fff;box-shadow:var(--classroom-shadow)}
.game-prelude{display:grid;place-items:center;min-height:calc(100vh - 250px);text-align:left}
.game-prelude-shell{display:grid;grid-template-columns:minmax(0,.92fr) minmax(380px,1.08fr);gap:24px;width:min(100%,1120px);align-items:stretch}
.game-prelude-main,.game-prelude-panel,.game-completion-card{border:1px solid var(--classroom-line);border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(17,24,39,.055)}
.game-prelude-main{display:flex;flex-direction:column;justify-content:center;min-height:520px;padding:clamp(28px,4vw,46px)}
.game-prelude-main .game-icon{width:64px;height:64px;margin:0 0 22px;border-radius:18px;background:#eef2ff;font-size:2rem;box-shadow:none}
.game-prelude-main h2{max-width:620px;margin:0;color:var(--classroom-ink);font-size:clamp(2rem,4.5vw,3.6rem);line-height:1.02;letter-spacing:0}
.game-prelude-main p{max-width:570px;margin:16px 0 0!important;color:var(--classroom-muted)!important;font-size:1rem!important;line-height:1.58!important}
.game-prelude-kicker{margin:0 0 9px;color:var(--classroom-blue);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.game-prelude-actions{display:grid;gap:9px;align-items:start;margin-top:30px}.game-prelude-actions small{color:#8a94a6;font-size:.75rem}
.game-prelude-panel{display:grid;align-content:start;gap:12px;padding:20px;background:linear-gradient(180deg,#fff,#fbfcff)}
.game-completion-metrics span{display:grid;gap:4px;min-height:68px;padding:12px 13px;border:1px solid var(--classroom-line);border-radius:14px;background:#fff}
.game-completion-metrics small{color:#8a94a6;font-size:.62rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.game-completion-metrics strong{overflow:hidden;color:#263047;font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}
.game-grammar-focus{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;margin:0!important;padding:13px 14px!important;border:1px solid #e6eaf4!important;border-radius:14px!important;background:#f7f9fd!important}
.game-round-picker{margin:0!important;padding:15px!important;border-radius:15px!important;background:#fff!important}.game-round-picker>p{font-size:.7rem!important}.game-round-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-round-picker label>span{min-height:46px!important;border-radius:12px!important}
.game-prelude-extra{padding:12px 14px;border:1px solid var(--classroom-line);border-radius:14px;background:#f9fafc;color:#5d687c;font-size:.8rem;line-height:1.45}.game-prelude-extra p{margin:0}.game-prelude-extra .game-meta{display:flex;margin:8px 0 0}
.game-prelude-guides{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important}
.game-book-connection,.game-teacher-guide{max-width:none!important;margin:0!important;padding:0!important;border:1px solid var(--classroom-line)!important;border-radius:14px!important;background:#fff!important}
.game-book-connection summary,.game-teacher-guide summary{min-height:58px!important;padding:9px 12px!important}.game-guide-icon{width:34px;height:34px;border-radius:10px}.game-book-connection>p,.game-teacher-guide>p,.game-teacher-guide>ul{margin:0 14px 14px 58px!important;font-size:.75rem!important}
.game-stage.is-running{background:#fff}.game-stage.is-running .game-progress{margin-bottom:24px;padding-bottom:12px}.game-stage.is-running .game-question h2,.speaking-card h2{letter-spacing:0}
.game-completion{display:grid;min-height:calc(100vh - 250px);place-items:center;text-align:center}
.game-completion-card{width:min(100%,720px);padding:clamp(30px,5vw,52px)}
.game-completion-card .game-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:20px;background:#eef2ff;font-size:2.35rem}
.game-completion-card h2{margin:0;color:var(--classroom-ink);font-size:clamp(2rem,4vw,3.4rem);line-height:1.04;letter-spacing:0}
.game-completion-card p{max-width:560px;margin:13px auto 0;color:var(--classroom-muted);line-height:1.58}
.game-completion-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:22px 0 0;text-align:left}
.game-completion-next{display:grid;gap:4px;margin:18px 0 0;padding:14px 16px;border-radius:15px;background:#f7f9fd;color:#5f697c;text-align:left}.game-completion-next strong{color:#263047}.game-completion-next span{font-size:.82rem;line-height:1.45}
.game-completion-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin-top:24px}
.game-completion-actions .btn-large{min-height:50px}
@media(max-width:1050px){.teacher-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.game-prelude-shell{grid-template-columns:1fr}.game-prelude-main{min-height:auto}.game-prelude-panel{order:2}}
@media(max-width:680px){.teacher-quick-grid{grid-template-columns:1fr}.game-shell{padding:8px}.game-stage{min-height:calc(100vh - 128px);padding:18px 14px;border-radius:18px}.game-prelude{min-height:auto}.game-prelude-main,.game-prelude-panel,.game-completion-card{border-radius:18px}.game-prelude-main{padding:24px 18px}.game-prelude-main .game-icon{width:52px;height:52px}.game-prelude-main h2{font-size:clamp(1.9rem,11vw,2.8rem)}.game-completion-metrics{grid-template-columns:1fr}.game-round-options{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-round-picker label>span{padding:7px 4px!important}.game-grammar-focus{grid-template-columns:1fr!important}.game-completion-actions{display:grid}.game-completion-actions .btn{width:100%}}


.teachers-platform .btn{min-height:44px;padding:0 18px;border-radius:12px;font-size:.75rem;font-weight:850;letter-spacing:.015em;text-transform:none;box-shadow:none}
.teachers-platform .btn:hover{transform:translateY(-1px)}
.teachers-platform .btn-primary{background:var(--teacher-red);border-color:var(--teacher-red);box-shadow:0 8px 18px rgba(220,51,70,.18)}
.teachers-platform .btn-primary:hover{background:#c9293c;border-color:#c9293c}
.teachers-platform .btn-secondary{color:var(--teacher-blue);background:#fff;border-color:#d8deeb}
.teachers-platform .btn-secondary:hover{color:#0b1544;background:#f7f9fd;border-color:#bfc9df}
.teachers-platform .btn-quiet{color:#667089;background:transparent;border-color:transparent}
.teachers-platform .btn-quiet:hover{color:var(--teacher-blue);background:#f0f3f9}
.teachers-platform .btn-large{min-height:50px;padding-inline:22px;border-radius:13px;font-size:.78rem}
.teachers-platform .btn:disabled,.teachers-platform .btn[aria-disabled="true"]{opacity:.48;cursor:not-allowed;transform:none;box-shadow:none}

.unit-activity-overview{padding-top:38px!important;background:#f7f8fb}
.unit-activity-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.unit-activity-grid .teacher-activity-card{min-width:0;border-radius:17px;box-shadow:0 8px 22px rgba(17,24,39,.05)}
.unit-activity-grid .activity-card-tags span:first-child,.unit-activity-grid .activity-card-tags span:nth-child(3){display:none}
.unit-activity-grid .activity-card-body small{display:none}
.unit-activity-grid .activity-card-body h3{font-size:1.08rem}
.unit-activity-grid .activity-card-body p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}

.game-page{background:#f5f6fa}
.game-shell{max-width:1460px;padding:12px}
.game-topbar{margin-bottom:10px;border-radius:13px;box-shadow:none}
.game-topbar .btn{min-height:38px;padding-inline:13px;border-radius:10px;font-size:.7rem}
.game-stage{min-height:calc(100vh - 134px);padding:clamp(26px,4vw,54px);border:1px solid #e5e9f1;border-radius:19px;box-shadow:none}
.game-prelude{min-height:calc(100vh - 245px);text-align:left}
.game-prelude-shell{display:grid;grid-template-columns:1fr;gap:18px;width:min(100%,940px);align-items:start}
.game-prelude-heading{display:grid;grid-template-columns:58px minmax(0,1fr);gap:17px;align-items:start;padding:0 0 22px;border-bottom:1px solid #e7eaf1}
.game-prelude-heading .game-icon{width:58px;height:58px;margin:0;border-radius:16px;background:#eef2ff;box-shadow:none;font-size:1.8rem}
.game-prelude-heading h2{max-width:760px;margin:2px 0 0;color:#111827;font-size:clamp(2rem,5vw,3.45rem);line-height:1;letter-spacing:-.035em}
.game-prelude-heading p{max-width:760px;margin:11px 0 0!important;color:#687084!important;font-size:.95rem!important;line-height:1.55!important}
.game-prelude-kicker{display:block;margin:0 0 6px;color:#2441a5;font-size:.66rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}
.game-prelude-context{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:#737d91;font-size:.75rem;font-weight:720}
.game-prelude-context span:first-child{color:#27334f;font-weight:850}
.game-grammar-focus{display:flex!important;grid-template-columns:none!important;align-items:baseline!important;gap:12px!important;margin:0!important;padding:11px 13px!important;border:0!important;border-radius:11px!important;background:#f5f7fb!important;color:#667089!important}
.game-grammar-focus span{flex:0 0 auto;color:#7d8698;font-size:.62rem;font-weight:900;letter-spacing:.065em;text-transform:uppercase}
.game-grammar-focus strong{overflow:hidden;margin:0!important;color:#26324c!important;font-size:.78rem!important;text-overflow:ellipsis;white-space:nowrap}
.game-round-picker{display:grid!important;grid-template-columns:155px minmax(0,1fr)!important;gap:7px 18px!important;align-items:center!important;margin:0!important;padding:15px 0!important;border:1px solid #e5e9f1!important;border-right:0!important;border-left:0!important;border-radius:0!important;background:transparent!important}
.game-round-picker legend{display:contents}
.game-round-picker legend span{color:#8a93a4;font-size:.6rem}
.game-round-picker legend strong{grid-column:1;color:#27334d;font-size:.8rem}
.game-round-options{grid-column:2!important;grid-row:1/3!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.game-round-picker label>span{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:42px!important;padding:7px 9px!important;border:1px solid #dfe4ed!important;border-radius:10px!important;background:#fff!important}
.game-round-picker label>span strong{font-size:.95rem}
.game-round-picker label>span small{font-size:.62rem}
.game-round-picker input:checked+span{border-color:var(--teacher-blue)!important;background:var(--teacher-blue)!important;color:#fff!important;box-shadow:none!important}
.game-round-picker>p{grid-column:1/-1!important;margin:2px 0 0!important;color:#8891a2!important;font-size:.66rem!important}
.game-prelude-extra{padding:0;border:0;background:transparent;color:#667084;font-size:.78rem;line-height:1.5}
.game-prelude-extra p{margin:0}
.game-prelude-guides{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}
.game-book-connection,.game-teacher-guide{max-width:none!important;margin:0!important;padding:0!important;border:1px solid #e2e6ee!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important}
.game-book-connection summary,.game-teacher-guide summary{grid-template-columns:31px 1fr 8px!important;gap:9px!important;min-height:50px!important;padding:7px 10px!important}
.game-guide-icon{width:30px;height:30px;border-radius:9px;font-size:.82rem}
.game-book-connection>p,.game-teacher-guide>p,.game-teacher-guide>ul{margin:0 11px 11px 50px!important;padding-top:9px!important;font-size:.71rem!important}
.game-prelude-actions{display:flex;align-items:center;gap:12px;margin-top:2px}
.game-prelude-actions .btn{min-width:210px}
.game-prelude-actions small{color:#8a93a5;font-size:.68rem}

.game-stage.is-running{align-items:center;padding:clamp(22px,3vw,44px);background:#fff}
.game-stage.is-running .game-question,.game-stage.is-running .speaking-card,.game-stage.is-running .clue-card,.game-stage.is-running .sentence-zone,.game-stage.is-running .listening-player,.game-stage.is-running .draw-card{width:min(100%,960px)}
.game-progress{margin-bottom:22px;padding-bottom:11px;border-bottom:1px solid #e8ebf1;color:#788194;font-size:.72rem}
.game-question h2,.speaking-card h2{letter-spacing:-.025em}
.game-options{gap:9px}
.game-option{min-height:68px;padding:15px 17px;border:1px solid #dfe4ec;border-radius:12px;background:#fafbfc;box-shadow:none}
.game-option:hover{border-color:#8498dc;background:#f4f6fc;box-shadow:none}
.game-answer-panel{margin-top:17px;padding:17px;border:1px solid #e2e6ed;border-radius:12px;background:#f7f8fa}
.game-controls-row{gap:8px;margin-top:18px}
.game-controls-row .btn-large{min-width:205px;min-height:50px;border-radius:13px;box-shadow:none}
.wheel-layout{gap:30px;width:min(100%,1080px)}
.wheel-canvas{filter:drop-shadow(0 15px 20px rgba(20,36,107,.13))}
.wheel-pointer{right:-9px;border-right-color:#f4c542;filter:drop-shadow(0 0 1px #14246b) drop-shadow(0 7px 11px rgba(20,36,107,.25))}
.wheel-result{padding:clamp(18px,3vw,30px);border:0;border-left:1px solid #e2e6ee;border-radius:0;background:transparent;box-shadow:none}
.clue-list{gap:8px;margin:18px 0}
.clue-item{padding:14px 16px;border:1px solid #e3e7ee;border-radius:11px;background:#fafbfc;font-size:1rem}
.clue-item.is-hidden{filter:none;color:#a0a7b5;border-style:dashed;background:#fff;user-select:none}
.speaking-followups{gap:8px;margin:18px 0}.speaking-followups div{padding:12px;border:1px solid #e4e7ed;border-radius:11px;background:#fafbfc}
.game-completion{min-height:calc(100vh - 235px)}
.game-completion-card{width:min(100%,680px);padding:clamp(22px,4vw,42px);border:0;border-radius:0;background:transparent;box-shadow:none}
.game-completion-card .game-icon{width:62px;height:62px;margin-bottom:14px;border-radius:17px;font-size:2rem}
.game-completion-card h2{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.03em}
.game-completion-metrics{gap:8px;margin-top:18px}
.game-completion-metrics span{min-height:58px;padding:10px 12px;border:0;border-radius:10px;background:#f5f7fa}
.game-completion-next{margin-top:12px;padding:12px 14px;border-radius:10px}
.game-completion-actions{gap:8px;margin-top:20px}

@media(max-width:1050px){.unit-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.unit-activity-grid{grid-template-columns:1fr}.game-prelude-heading{grid-template-columns:48px minmax(0,1fr);gap:13px}.game-prelude-heading .game-icon{width:48px;height:48px}.game-prelude-heading h2{font-size:clamp(1.8rem,10vw,2.65rem)}.game-prelude-context{align-items:flex-start;flex-direction:column;gap:2px}.game-prelude-context span[aria-hidden="true"]{display:none}.game-round-picker{grid-template-columns:1fr!important}.game-round-picker legend strong{grid-column:1}.game-round-options{grid-column:1!important;grid-row:auto!important}.game-prelude-guides{grid-template-columns:1fr!important}.game-prelude-actions{align-items:stretch;flex-direction:column}.game-prelude-actions .btn{width:100%}.wheel-result{padding:18px 0 0;border-top:1px solid #e2e6ee;border-left:0}.game-grammar-focus{align-items:flex-start!important;flex-direction:column!important;gap:3px!important}.game-grammar-focus strong{white-space:normal}.game-completion-actions{display:grid}.game-completion-actions .btn{width:100%}}


.unit-activity-overview .teacher-section-heading,.unit-extra-section .teacher-section-heading{max-width:820px;margin-bottom:20px}
.unit-activity-overview .teacher-section-heading h2,.unit-extra-section .teacher-section-heading h2{letter-spacing:-.03em}
.unit-extra-section{border-top:1px solid #e5e9f2;background:linear-gradient(180deg,#fff,#f6f8fc)}
.unit-extra-grid .teacher-activity-card{background:linear-gradient(180deg,#fff,#fbfcff)}
.unit-extra-grid .activity-card-tags span:first-child{display:inline-flex}
.unit-extra-grid .activity-card-body p{-webkit-line-clamp:2}
.unit-planning-card,.unit-teacher-guide,.teacher-activity-card{border-color:#e4e8f1}
.unit-teacher-guide{grid-template-columns:minmax(210px,.38fr) minmax(0,1.62fr);box-shadow:0 12px 34px rgba(20,36,107,.055)}
.unit-teacher-guide ul{grid-template-columns:repeat(3,minmax(0,1fr))}
.unit-teacher-guide li{min-height:84px}
.teacher-activity-card{overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.teacher-activity-card:hover{border-color:#cad4e8}
.activity-card-tags{gap:5px}
.activity-card-tags span{white-space:nowrap}
.activity-card-tags span:nth-child(n+5){display:none}
.activity-card-body{display:grid;align-content:start}
.activity-card-body h3{letter-spacing:-.02em}
.activity-card-actions{margin-top:auto}
.game-stage.is-running .memory-grid,.game-stage.is-running .bingo-cards{width:min(100%,1120px)}
.memory-grid{display:grid;grid-template-columns:repeat(var(--memory-cols,4),minmax(0,1fr));gap:10px}
.memory-card{height:112px;border:0;background:transparent;perspective:850px;cursor:pointer}
.memory-card-inner{position:relative;display:block;width:100%;height:100%;transition:transform .28s ease;transform-style:preserve-3d}
.memory-card.is-open .memory-card-inner,.memory-card.is-matched .memory-card-inner{transform:rotateY(180deg)}
.memory-face{position:absolute;inset:0;display:grid;place-items:center;padding:12px;border:1px solid #dfe4ee;border-radius:16px;background:#fff;color:#1f2a44;font-weight:850;text-align:center;backface-visibility:hidden;box-shadow:0 12px 26px rgba(17,24,39,.06)}
.memory-front{background:linear-gradient(135deg,#1938b8,#244fd8);color:#fff;font-size:2rem}
.memory-back{transform:rotateY(180deg);font-size:.95rem;line-height:1.25}
.memory-card.is-matched .memory-back{border-color:#b7e4cc;background:#effaf4;color:#08764a}
.bingo-toolbar{position:sticky;top:10px;z-index:3;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:16px;padding:10px;border:1px solid #e3e7ef;border-radius:16px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px)}
.bingo-call{width:min(100%,720px);margin:0 auto 18px;padding:18px;border:1px solid #e2e6ee;border-radius:18px;background:#f7f9fd;text-align:center}
.bingo-call span{display:block;color:#7e8798;font-size:.68rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.bingo-call strong{display:block;margin:6px 0;color:#16213a;font-size:clamp(1.6rem,4vw,2.8rem)}
.bingo-call p{margin:0;color:#606b7e}
.bingo-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.bingo-card{break-inside:avoid;padding:16px;border:1px solid #e1e6ef;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(17,24,39,.055)}
.bingo-card h3{margin:0 0 12px;color:#1f2a44;font-size:1rem}
.bingo-grid{display:grid;grid-template-columns:repeat(var(--bingo-size,4),minmax(0,1fr));gap:6px}
.bingo-cell{display:grid;place-items:center;min-height:58px;padding:8px;border:1px solid #e4e8f0;border-radius:10px;background:#fafbfe;color:#263047;font-size:.78rem;font-weight:760;text-align:center}
.draw-card{padding:clamp(24px,4vw,44px);border:1px solid #e2e6ee;border-radius:22px;background:#fff;box-shadow:0 18px 42px rgba(17,24,39,.07);text-align:center}
.draw-word{margin:18px auto;padding:18px;border:1px dashed #b9c4d8;border-radius:18px;background:#f7f9fd;color:#12203a;font-size:clamp(2.2rem,7vw,5rem);font-weight:900;letter-spacing:.015em}
.taboo-list{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;min-height:33px}
.taboo-list span{padding:7px 10px;border-radius:999px;background:#fff1f2;color:#aa1f37;font-size:.78rem;font-weight:800}
@media(max-width:900px){.unit-teacher-guide ul{grid-template-columns:1fr}.bingo-cards{grid-template-columns:1fr}.memory-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.memory-card{height:96px}}
@media(max-width:620px){.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.memory-card{height:108px}.bingo-cell{min-height:48px;font-size:.7rem}.unit-extra-section{background:#f7f8fb}}
@media print{.teachers-header,.game-topbar,.no-print,.game-prelude,.game-completion{display:none!important}.game-shell,.game-stage{padding:0!important;border:0!important;box-shadow:none!important}.bingo-cards{grid-template-columns:repeat(2,1fr);gap:10px}.bingo-card{box-shadow:none;page-break-inside:avoid}.bingo-cell{min-height:42px;font-size:.65rem}}


.admin-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:16px;border-top:1px solid #e3e8f1}.admin-pagination>span{color:#687388;font-size:.84rem}.admin-pagination>div{display:flex;align-items:center;gap:6px}.pagination-number{display:grid;place-items:center;width:36px;height:36px;border:1px solid #d9e0ec;border-radius:8px;color:#24304b;font-weight:800}.pagination-number.is-current{border-color:#14246b;background:#14246b;color:#fff}.btn.is-disabled{pointer-events:none;opacity:.45}.revision-list{display:grid;gap:8px}.revision-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #e8ecf3}.revision-list span{color:#6c7689;font-size:.8rem}.content-text-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.content-text-grid textarea{width:100%;min-height:130px}.admin-sticky-actions{position:sticky;bottom:12px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:14px 18px;border:1px solid #d7dfec;border-radius:8px;background:#fff;box-shadow:0 14px 36px rgba(17,24,39,.14)}
.memory-practice{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 14px;padding:10px 14px;border-radius:8px;background:#edf8f3;color:#14583f}.memory-face.memory-back{display:flex;flex-direction:column;gap:7px;padding:10px}.memory-face.memory-back strong{font-size:clamp(.75rem,1.4vw,1.05rem);line-height:1.1;text-transform:uppercase}.memory-icon{font-size:clamp(1.35rem,2.8vw,2.2rem)}
.bingo-card{border-radius:8px}.bingo-card header{display:grid;grid-template-columns:1fr auto;gap:2px 12px;margin-bottom:12px}.bingo-card header span{color:#14246b;font-size:.6rem;font-weight:900;letter-spacing:.08em}.bingo-card header strong{grid-column:1;color:#111c3b;font-size:1rem}.bingo-card header small{grid-column:2;grid-row:1/3;align-self:center}.bingo-card footer{margin-top:12px;color:#667085;font-size:.68rem}.bingo-cell{appearance:none;width:100%;cursor:pointer}.bingo-cell span{font-size:1.1rem}.bingo-cell strong{display:block;text-transform:uppercase}.bingo-cell.is-marked{border-color:#14246b;background:#e8edff;box-shadow:inset 0 0 0 2px #14246b}.bingo-call small{display:block;margin-top:10px;color:#778196}.print-only{display:none}.bingo-caller-sheet ol{columns:2;column-gap:28px}.bingo-caller-sheet li{break-inside:avoid;margin-bottom:8px}.bingo-caller-sheet span{display:block;color:#4e596d;font-size:.8rem}
.roleplay-brief{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.roleplay-brief article,.roleplay-objective,.roleplay-language,.roleplay-complication{padding:16px;border:1px solid #dfe5ef;border-radius:8px;background:#f8faff}.roleplay-brief span,.roleplay-objective span,.roleplay-language>span{display:block;margin-bottom:6px;color:#3150b7;font-size:.68rem;font-weight:900;letter-spacing:.07em}.roleplay-brief p{margin:0}.roleplay-objective{display:flex;align-items:flex-start;gap:16px;margin-bottom:12px;background:#eef2ff}.roleplay-language{margin-bottom:12px}.roleplay-language>div{display:flex;gap:6px;flex-wrap:wrap}.roleplay-language>div strong{padding:6px 8px;border-radius:6px;background:#fff;color:#14246b}.roleplay-language p{margin:10px 0 0;color:#59647a}.roleplay-complication{margin-bottom:12px}.roleplay-complication summary{cursor:pointer;font-weight:850;color:#b32235}.roleplay-success{padding:10px 12px;border-left:4px solid #14246b;background:#f6f8fc}
.agenda-summary{display:flex;align-items:baseline;justify-content:center;gap:12px;margin-bottom:20px}.agenda-summary strong{font-size:3rem;color:#14246b}.agenda-list{display:grid;gap:8px;max-width:900px;margin:auto}.agenda-item{display:grid;grid-template-columns:42px 1fr auto 36px;align-items:center;gap:10px;padding:10px;border:1px solid #dfe5ef;border-radius:8px;background:#fff}.agenda-item>button:first-child{width:34px;height:34px;border:2px solid #3150b7;border-radius:50%;background:#fff;color:#14246b;font-weight:900}.agenda-item>button:last-child{border:0;background:transparent;font-size:1.4rem}.agenda-item input{border:0;background:transparent;font-weight:800}.agenda-item label input{width:60px;text-align:right}.agenda-item.is-done{opacity:.58}.agenda-item.is-done input{text-decoration:line-through}.traffic-board{display:grid;place-items:center;min-height:58vh;padding:32px;border-radius:8px;color:#fff;text-align:center}.traffic-board.is-red{background:#b52035}.traffic-board.is-yellow{background:#e2a900;color:#191500}.traffic-board.is-green{background:#16744d}.traffic-board>strong{font-size:clamp(3rem,10vw,8rem);line-height:1}.traffic-board>span{font-size:clamp(1.1rem,2.5vw,2rem);font-weight:750}.traffic-lights{display:flex;gap:14px}.traffic-lights button{width:54px;height:54px;border:5px solid rgba(255,255,255,.7);border-radius:50%;box-shadow:0 4px 12px rgba(0,0,0,.18)}.traffic-lights [data-color=red]{background:#ef3340}.traffic-lights [data-color=yellow]{background:#ffd43b}.traffic-lights [data-color=green]{background:#28b779}.instruction-board{display:grid;place-items:center;min-height:55vh;padding:36px;border:3px solid #14246b;border-radius:8px;background:#fff;text-align:center}.instruction-board>span{font-weight:900;color:#b52035}.instruction-board h2{max-width:1000px;font-size:clamp(2.2rem,6vw,5.5rem);line-height:1.05}.instruction-board>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.instruction-board>div strong{padding:9px 12px;border-radius:7px;background:#edf1ff;color:#14246b}.exit-ticket-card{display:grid;place-items:center;min-height:52vh;padding:36px;border:3px solid #14246b;border-radius:8px;background:#f8faff;text-align:center}.exit-ticket-card span{font-weight:950;color:#b52035;letter-spacing:.08em}.exit-ticket-card strong{max-width:1000px;font-size:clamp(2.4rem,7vw,6rem);line-height:1.06;color:#111c3b}
@media(max-width:760px){.content-text-grid,.roleplay-brief{grid-template-columns:1fr}.admin-pagination{align-items:flex-start;flex-direction:column}.revision-list article{align-items:flex-start;flex-direction:column}.agenda-item{grid-template-columns:38px 1fr 34px}.agenda-item label{grid-column:2}.bingo-card header{grid-template-columns:1fr}}
@media print{.print-only{display:block!important}.bingo-card{page-break-inside:avoid;border:2px solid #14246b;padding:10mm}.bingo-cards{display:block}.bingo-card{margin:0 0 8mm}.bingo-grid{gap:2mm}.bingo-cell{min-height:18mm;border:1px solid #44506a;background:#fff!important;box-shadow:none!important}.bingo-cell span{display:none}.bingo-cell strong{font-size:9pt}.bingo-caller-sheet{page-break-before:always}.bingo-caller-sheet ol{columns:2}}


:root{
  --teacher-blue:#0b2157;
  --teacher-blue-2:#193d91;
  --teacher-red:#dc3044;
  --teacher-surface:#f5f5f7;
  --teacher-ink:#101828;
  --teacher-muted:#667085;
  --teacher-line:#e4e7ec;
  --teacher-shadow:0 20px 55px rgba(16,24,40,.07);
}
body.teachers-platform{background:#f5f5f7;color:#101828;-webkit-font-smoothing:antialiased}
.teachers-platform .btn{min-height:44px;padding-inline:18px;border-radius:12px;letter-spacing:0;transition:background-color .18s,border-color .18s,color .18s,transform .18s}
.teachers-platform .btn-primary{background:var(--teacher-red);border-color:var(--teacher-red);box-shadow:none}
.teachers-platform .btn-primary:hover{background:#c6263a;border-color:#c6263a}
.teachers-platform .btn-secondary{border-color:#d9dee8;background:#fff;color:#17336f}
.teachers-platform .btn-quiet{color:#667085}
.game-page{background:#f5f5f7}
.game-shell{max-width:1540px;padding:12px 16px 18px}
.game-topbar{margin-bottom:10px;padding:10px 12px;border:1px solid #e4e7ec;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:none;backdrop-filter:blur(18px)}
.game-topbar .game-icon{width:40px;height:40px;border-radius:12px;background:#f0f3fb;font-size:1.3rem}
.game-topbar h1{font-size:.98rem;letter-spacing:-.012em}.game-topbar p{font-size:.74rem}
.game-stage{min-height:calc(100vh - 145px);padding:clamp(24px,3.2vw,48px);border:1px solid #e4e7ec;border-radius:22px;background:#fff;box-shadow:none}
.game-stage.is-running{display:grid;align-items:center;padding:clamp(22px,3vw,46px);background:#fff}
.game-stage.is-running .game-question,.game-stage.is-running .speaking-card,.game-stage.is-running .clue-card,.game-stage.is-running .sentence-zone,.game-stage.is-running .draw-card{width:min(100%,1080px)}
.game-progress{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 22px;padding:0 0 12px;border-bottom:1px solid #eceef2;color:#7b8496;font-size:.7rem;font-weight:750}


.game-prelude{min-height:calc(100vh - 235px)}
.game-prelude-shell{display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(350px,.82fr)!important;gap:clamp(28px,4vw,58px)!important;align-items:center!important;width:min(100%,1120px)!important}
.game-prelude-main{display:grid!important;align-content:center!important;gap:18px!important;min-height:0!important;padding:8px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.game-prelude-panel{display:grid!important;align-content:start!important;gap:14px!important;padding:22px!important;border:1px solid #e7e9ee!important;border-radius:22px!important;background:#f8f9fb!important;box-shadow:none!important}
.game-prelude-heading{display:grid;grid-template-columns:56px minmax(0,1fr);gap:16px;align-items:start;padding:0;border:0}
.game-prelude-heading .game-icon{width:56px;height:56px;margin:0;border-radius:16px;background:#edf2ff;box-shadow:none;font-size:1.65rem}
.game-prelude-kicker{margin:1px 0 6px;color:#2546aa;font-size:.63rem;letter-spacing:.075em}
.game-prelude-heading h2,.game-welcome h2{max-width:650px;margin:0;color:#101828;font-size:clamp(2rem,4.2vw,3.35rem);line-height:1.02;letter-spacing:-.045em}
.game-prelude-heading p{max-width:650px;margin:10px 0 0!important;color:#697386!important;font-size:.91rem!important;line-height:1.55!important}
.game-prelude-context{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:16px;border-top:1px solid #eceef2;color:#7c8596;font-size:.71rem}
.game-prelude-context span:first-child{color:#344054;font-weight:800}
.game-grammar-focus{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;margin:0!important;padding:12px 13px!important;border:0!important;border-radius:12px!important;background:#f5f6f8!important}
.game-grammar-focus span{font-size:.59rem}.game-grammar-focus strong{overflow:visible!important;color:#344054!important;font-size:.74rem!important;line-height:1.4!important;text-overflow:clip!important;white-space:normal!important}
.game-prelude-extra{padding:0;border:0;background:transparent;color:#667085;font-size:.78rem}.game-prelude-extra p{margin:0!important}.game-prelude-extra .game-meta{display:flex;gap:6px;margin:0}.game-prelude-extra .game-meta span{min-height:0;padding:6px 9px;border:0;border-radius:999px;background:#f0f2f5;font-size:.68rem}
.game-round-picker{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:0!important;padding:0 0 15px!important;border:0!important;border-bottom:1px solid #e7e9ee!important;border-radius:0!important;background:transparent!important}
.game-round-picker legend{display:flex!important;align-items:baseline;justify-content:space-between;gap:12px}.game-round-picker legend span{font-size:.58rem}.game-round-picker legend strong{grid-column:auto;color:#344054;font-size:.78rem}
.game-round-options{grid-column:1!important;grid-row:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
.game-round-picker label>span{display:flex!important;align-items:baseline!important;justify-content:center!important;gap:5px!important;min-height:43px!important;padding:7px 8px!important;border:1px solid #dde1e8!important;border-radius:11px!important;background:#fff!important}
.game-round-picker label>span strong{font-size:.92rem}.game-round-picker label>span small{font-size:.59rem}
.game-round-picker input:checked+span{border-color:#153477!important;background:#153477!important;color:#fff!important;box-shadow:none!important}
.game-round-picker>p{grid-column:1!important;margin:0!important;color:#8a93a3!important;font-size:.62rem!important}
.game-prelude-guides{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important}
.game-book-connection,.game-teacher-guide{border-color:#e2e5eb!important;border-radius:12px!important;background:#fff!important}
.game-book-connection summary,.game-teacher-guide summary{grid-template-columns:32px 1fr 8px!important;gap:9px!important;min-height:52px!important;padding:8px 10px!important}
.game-guide-icon{width:31px;height:31px;border-radius:9px}.game-prelude-guides summary small{font-size:.57rem}.game-prelude-guides summary strong{font-size:.72rem}
.game-book-connection>p,.game-teacher-guide>p,.game-teacher-guide>ul{margin:0 11px 11px 51px!important;padding-top:9px!important;font-size:.68rem!important}
.game-prelude-actions{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;margin:0;padding-top:2px}.game-prelude-actions .btn{width:100%;min-width:0!important}.game-prelude-actions small{font-size:.61rem}


.game-prompt-block{max-width:900px;margin:0 auto 15px;text-align:center}.game-prompt-label{display:block;margin-bottom:7px;color:#3150a7;font-size:.62rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.game-prompt-block h2{margin:0!important;color:#101828;font-size:clamp(1.5rem,3.1vw,2.55rem)!important;line-height:1.12!important;letter-spacing:-.03em!important;text-wrap:balance}.game-prompt-block p{margin:7px 0 0;color:#667085;font-size:.88rem;line-height:1.5}
.game-sentence-card{display:grid;gap:7px;max-width:900px;margin:0 auto 14px;padding:19px 22px;border:1px solid #e3e6ec;border-radius:16px;background:#f8f9fb;text-align:center}
.game-sentence-card>span{color:#8a93a3;font-size:.59rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.game-sentence-card>strong{color:#14213d;font-size:clamp(1.35rem,3vw,2.25rem);line-height:1.18;letter-spacing:-.025em;text-wrap:balance}
.teacher-answer{max-width:900px;margin:0 auto 16px}.teacher-answer-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;min-height:39px;margin:0 auto;padding:0 13px;border:1px solid #d9dee7;border-radius:11px;background:#fff;color:#344054;font:inherit;font-size:.7rem;font-weight:800;cursor:pointer}.teacher-answer-toggle:hover{border-color:#afbbd3;background:#f8f9fb}.teacher-answer-eye{position:relative;width:16px;height:11px;border:1.5px solid currentColor;border-radius:50%/60%}.teacher-answer-eye:after{content:"";position:absolute;left:50%;top:50%;width:4px;height:4px;border-radius:50%;background:currentColor;transform:translate(-50%,-50%)}.teacher-answer-toggle[aria-expanded=true] .teacher-answer-eye:before{content:"";position:absolute;left:7px;top:-4px;width:1.5px;height:19px;background:currentColor;transform:rotate(45deg)}
.teacher-answer-content{display:grid;gap:5px;margin-top:9px;padding:14px 16px;border:1px solid #dce3f2;border-radius:13px;background:#f2f5fb;text-align:left}.teacher-answer-content[hidden]{display:none}.teacher-answer-content small{color:#6f7b91;font-size:.59rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.teacher-answer-content strong{color:#12285c;font-size:1rem;line-height:1.4}.teacher-answer-content p{margin:0;color:#667085;font-size:.74rem;line-height:1.45}
.game-options{gap:8px;max-width:900px;margin-inline:auto}.game-option{display:flex;align-items:center;gap:10px;min-height:58px;padding:12px 15px;border:1px solid #e0e3e8;border-radius:13px;background:#fff;box-shadow:none;text-align:left}.game-option>span{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;background:#f0f2f6;color:#667085;font-size:.68rem}.game-option>strong{font-size:.86rem}.game-option:hover{transform:none;border-color:#aebbd4;background:#fafbfc}.game-option.is-correct{border-color:#8fd4b4;background:#f0faf5}.game-option.is-wrong{border-color:#e9a7af;background:#fff5f6}
.game-answer-panel{display:grid;gap:5px;max-width:900px;margin:14px auto 0;padding:15px 17px;border:1px solid #e1e5eb;border-radius:14px;background:#f8f9fb;text-align:left}.game-answer-panel .answer-status{color:#667085;font-size:.6rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.game-answer-panel strong{margin:0;color:#14213d;font-size:1rem}.game-answer-panel p{font-size:.76rem;line-height:1.48}.game-answer-panel .game-controls-row{justify-content:flex-start}
.fill-sentence{margin:0!important;font-size:inherit!important}.fill-blank{display:inline-grid;place-items:end;min-width:118px;height:.9em;border:0;color:#17336f;vertical-align:baseline}.fill-blank span{display:block;width:100%;border-bottom:2px solid #8d9ab3}
.truefalse-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:620px;margin:18px auto 0}.truefalse-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:13px 18px;border:1px solid #e0e4ea;border-radius:14px;background:#fff!important;color:#25314a;font-size:.92rem;font-weight:850}.truefalse-button span{width:9px;height:9px;border-radius:50%}.truefalse-button.true span{background:#24a36a}.truefalse-button.false span{background:#d64552}.truefalse-button:hover{border-color:#adb8cd;background:#f8f9fb!important}


.sentence-zone{max-width:980px}.sentence-zone .game-prompt-block{margin-bottom:16px}.sentence-build,.word-bank{position:relative;display:flex;align-content:center;align-items:center;min-height:76px;margin:10px 0;padding:17px 18px 17px 135px;border:1px solid #dde2ea;border-radius:15px;background:#fff}.sentence-build{background:#f7f8fa}.sentence-build:before,.word-bank:before{content:attr(data-empty-label);position:absolute;left:17px;top:50%;color:#858fa1;font-size:.61rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase;transform:translateY(-50%)}.sentence-build:after,.word-bank:after{content:"";position:absolute;left:116px;top:15px;bottom:15px;width:1px;background:#e2e6ec}.word-token{padding:10px 13px;border-radius:10px;background:#153477;font-size:.86rem}.sentence-build .word-token{border:1px solid #d9dfe9;background:#fff;color:#1d2939}.sentence-result{margin-top:14px;font-size:.85rem}.sentence-feedback{display:block;padding:12px 14px;border-radius:11px}.sentence-feedback.is-correct{background:#eff9f4;color:#14704a}.sentence-feedback.is-wrong{background:#fff3f4;color:#a93441}


.wheel-layout{grid-template-columns:minmax(360px,570px) minmax(320px,430px);gap:clamp(34px,5vw,70px);justify-content:center;width:min(100%,1120px)}.wheel-wrap{max-width:570px;margin:auto}.wheel-canvas{filter:drop-shadow(0 18px 32px rgba(11,33,87,.13));transition:transform 3.5s cubic-bezier(.16,.72,.15,1)}.wheel-pointer{right:-7px;border-top-width:15px;border-bottom-width:15px;border-right-width:34px;border-right-color:#f0b429;filter:drop-shadow(0 5px 8px rgba(11,33,87,.22))}
.wheel-result{display:grid;align-content:center;gap:13px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.wheel-kicker{color:#3150a7;font-size:.62rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.wheel-result h2{max-width:420px;margin:0;color:#101828;font-size:clamp(2.2rem,4vw,3.45rem);line-height:1.01;letter-spacing:-.045em;text-wrap:balance}.wheel-task{display:grid;gap:4px;padding:15px 0;border-top:1px solid #e6e9ee;border-bottom:1px solid #e6e9ee}.wheel-task>span{color:#8a93a3;font-size:.57rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.wheel-result p{margin:0;color:#475467;font-size:.91rem;line-height:1.5}.wheel-result .teacher-answer{margin:0}.wheel-result .teacher-answer-toggle{margin:0}.wheel-result .teacher-answer-content{margin-top:8px}.wheel-remaining{color:#7c8596;font-size:.69rem}.wheel-result .game-controls-row{display:flex;justify-content:flex-start;margin:0}


.battle-layout{width:min(100%,1120px);margin:auto}.team-scorebar{gap:8px;margin:0 0 18px}.team-score{display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center;padding:11px 13px;border:1px solid #e0e4ea;border-radius:14px;background:#f8f9fb;color:#344054;text-align:left}.team-score small{grid-column:1;color:#8b94a5;font-size:.55rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.team-score span{grid-column:1;font-size:.79rem;font-weight:850}.team-score strong{grid-column:2;grid-row:1/3;color:#17336f;font-size:1.45rem}.team-score strong em{margin-left:3px;color:#8892a4;font-size:.55rem;font-style:normal}.team-score.is-active{border-color:#8196c2;background:#eef3ff;outline:0;box-shadow:inset 3px 0 #17336f}
.battle-question{max-width:980px}.battle-actions{display:flex;justify-content:center;gap:8px;margin-top:17px}.battle-reveal{display:grid;gap:5px;margin:15px 0 0;padding:17px 19px;border:1px solid #dce3ef;border-radius:14px;background:#f3f6fb;text-align:left}.battle-reveal>span,.battle-award>span{color:#718096;font-size:.59rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.battle-reveal>strong{color:#112654;font-size:1.05rem}.battle-reveal p{margin:0;color:#566176;font-size:.78rem}.battle-award{display:grid;gap:8px;margin-top:12px}.battle-award>strong{font-size:.85rem}.battle-points{gap:7px;justify-content:flex-start}


.clue-card{max-width:1100px}.clue-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.65fr);gap:24px;text-align:left}.clue-main h2{margin:0 0 17px;color:#101828;font-size:clamp(1.8rem,3.3vw,2.8rem);letter-spacing:-.04em}.clue-list{gap:7px;margin:0}.clue-item{display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:center;min-height:54px;padding:9px 13px;border:1px solid #e3e6eb;border-radius:13px;background:#fff;font-size:.86rem}.clue-item>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#eff2f7;color:#697386;font-size:.61rem;font-weight:900}.clue-item p{margin:0}.clue-item.is-hidden{border-style:solid;background:#fafbfc;color:#a1a8b4}.clue-actions{display:flex;align-items:center;gap:7px;margin-top:14px}.clue-teacher-panel{align-self:start;padding:20px;border:1px solid #e1e5ec;border-radius:18px;background:#f8f9fb}.clue-teacher-kicker{display:block;margin-bottom:7px;color:#3150a7;font-size:.59rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.clue-teacher-panel>strong{display:block;color:#23304a;font-size:1rem}.clue-teacher-panel>p{margin:7px 0 16px;color:#667085;font-size:.75rem;line-height:1.45}.clue-teacher-panel .teacher-answer{margin:0}.clue-teacher-panel .teacher-answer-toggle{width:100%;margin:0}


.memory-shell{width:min(100%,1120px);margin:auto}.memory-grid{gap:11px}.memory-card{height:118px}.memory-face{border-radius:18px}.memory-front{display:flex;flex-direction:column;gap:7px;border:0;background:linear-gradient(145deg,#102b6b,#1e4ca7);box-shadow:0 12px 26px rgba(12,37,92,.16);font-size:1rem}.memory-card[data-tone="1"] .memory-front{background:linear-gradient(145deg,#7e2034,#b62e45)}.memory-card[data-tone="2"] .memory-front{background:linear-gradient(145deg,#18386f,#315f9d)}.memory-card[data-tone="3"] .memory-front{background:linear-gradient(145deg,#522a64,#7d3e83)}.memory-card[data-tone="4"] .memory-front{background:linear-gradient(145deg,#133f52,#24677b)}.memory-card[data-tone="5"] .memory-front{background:linear-gradient(145deg,#3b4050,#62697b)}.memory-brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.45);border-radius:11px;background:rgba(255,255,255,.1);font-size:1rem;font-weight:900}.memory-front small{color:rgba(255,255,255,.72);font-size:.48rem;letter-spacing:.14em}.memory-back{gap:8px;border:1px solid #dfe4ec;background:#fff}.memory-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#edf2ff;color:#17336f;font-size:1.35rem}.memory-icon.is-monogram{font-size:1rem;font-weight:900}.memory-back[data-tone="1"] .memory-icon{background:#fff0f2;color:#a72a3d}.memory-back[data-tone="2"] .memory-icon{background:#edf6ff;color:#24588c}.memory-back[data-tone="3"] .memory-icon{background:#f6effb;color:#744180}.memory-back[data-tone="4"] .memory-icon{background:#edf8f7;color:#24677b}.memory-back[data-tone="5"] .memory-icon{background:#f0f1f4;color:#515969}.memory-face.memory-back strong{font-size:clamp(.71rem,1.2vw,.92rem);letter-spacing:.03em}.memory-practice{justify-content:flex-start;gap:11px;max-width:780px;margin:0 auto 14px;padding:11px 13px;border-radius:13px}.memory-practice>div{display:grid;gap:2px}.memory-practice-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#fff;color:#16724a}.memory-practice strong{font-size:.73rem}.memory-practice span{font-size:.72rem}


.bingo-control-deck{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:14px;align-items:stretch;margin-bottom:20px}.bingo-call{display:grid;align-content:center;gap:5px;width:auto;max-width:none;margin:0;padding:19px 21px;border:1px solid #e0e4eb;border-radius:18px;background:#f8f9fb;text-align:left}.bingo-call span{font-size:.58rem}.bingo-call strong{margin:0;color:#14213d;font-size:clamp(1.35rem,3vw,2.05rem)}.bingo-call p{margin:0;color:#5f697c;font-size:.8rem;line-height:1.45}.bingo-answer-row{display:flex;align-items:center;gap:12px;margin-top:7px}.bingo-call small{margin:0;color:#7f8898;font-size:.65rem}.bingo-toolbar{position:static;display:grid;align-content:center;gap:7px;margin:0;padding:14px;border:1px solid #e0e4eb;border-radius:18px;background:#fff;backdrop-filter:none}.bingo-toolbar .btn{width:100%;margin:0}.bingo-toolbar .btn-large{min-width:0}.bingo-cards{gap:13px}.bingo-card{padding:15px;border:1px solid #dfe3e9;border-radius:17px;box-shadow:none}.bingo-card header{align-items:center;margin-bottom:11px}.bingo-card header span{color:#17336f}.bingo-card header strong{font-size:.9rem}.bingo-card header small{padding:5px 8px;border-radius:8px;background:#f0f2f6;color:#475467;font-weight:800}.bingo-grid{gap:5px;border:0}.bingo-cell{display:flex;min-height:62px;flex-direction:column;gap:5px;padding:7px 5px;border:1px solid #e2e6ec;border-radius:10px;background:#fafbfc;font-size:.68rem}.bingo-cell-cue{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#edf2ff;color:#17336f;font-size:.84rem}.bingo-cell[data-tone="1"] .bingo-cell-cue{background:#fff0f2;color:#a72a3d}.bingo-cell[data-tone="2"] .bingo-cell-cue{background:#edf6ff;color:#24588c}.bingo-cell[data-tone="3"] .bingo-cell-cue{background:#f6effb;color:#744180}.bingo-cell[data-tone="4"] .bingo-cell-cue{background:#edf8f7;color:#24677b}.bingo-cell[data-tone="5"] .bingo-cell-cue{background:#f0f1f4;color:#515969}.bingo-cell-cue.is-monogram{font-size:.68rem;font-weight:900}.bingo-cell strong{line-height:1.15}.bingo-card footer{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;margin-top:11px;padding-top:9px;border-top:1px solid #eceef2}.bingo-cell.is-marked{border-color:#607eb8;background:#edf3ff;box-shadow:inset 0 0 0 1px #607eb8}


.speaking-card{max-width:1120px;text-align:left}.speaking-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:28px;align-items:start}.speaking-main h2{max-width:820px;margin:0 0 20px;color:#101828;font-size:clamp(2rem,4.3vw,3.65rem);line-height:1.04;letter-spacing:-.048em;text-wrap:balance}.speaking-side{position:sticky;top:18px;display:grid;justify-items:center;gap:12px;padding:18px;border:1px solid #e1e5eb;border-radius:18px;background:#f8f9fb;text-align:center}.speaking-side>span{color:#7d8798;font-size:.58rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.speaking-clock{width:118px;height:118px;margin:0;background:#102b68;font-size:1.85rem}.speaking-actions{display:grid;gap:7px;width:100%}.speaking-actions .btn{width:100%}.speaking-next{width:100%;margin-top:2px}.speaking-followups{display:grid;gap:9px;margin:18px 0 0}.speaking-followups>span{color:#7d8798;font-size:.59rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.speaking-followups ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0;padding:0;counter-reset:steps}.speaking-followups li{display:grid;grid-template-columns:25px 1fr;gap:8px;align-items:center;min-height:50px;padding:9px 11px;border:1px solid #e3e6eb;border-radius:12px;background:#fafbfc;font-size:.74rem;list-style:none}.speaking-followups li:before{counter-increment:steps;content:counter(steps);display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#edf2ff;color:#25469d;font-size:.61rem;font-weight:900}
.roleplay-brief{gap:8px;margin:14px 0 8px}.roleplay-brief article{min-height:90px;padding:13px 14px;border:1px solid #e1e5eb;border-radius:14px;background:#fff}.roleplay-brief span,.roleplay-objective span,.roleplay-language>span{color:#3150a7;font-size:.57rem;text-transform:uppercase}.roleplay-brief p{font-size:.78rem;line-height:1.4}.roleplay-objective{display:grid;grid-template-columns:80px 1fr;gap:10px;align-items:start;margin:0 0 8px;padding:13px 14px;border:0;border-radius:13px;background:#eef3ff}.roleplay-objective strong{font-size:.78rem;line-height:1.45}.roleplay-support-panel,.roleplay-complication{margin:0 0 8px;padding:0;border:1px solid #e1e5eb;border-radius:13px;background:#fafbfc}.roleplay-support-panel summary,.roleplay-complication summary{padding:12px 14px;color:#344054;font-size:.72rem;font-weight:850;cursor:pointer}.roleplay-support-panel[open] summary,.roleplay-complication[open] summary{border-bottom:1px solid #e6e9ee}.roleplay-language{margin:0;padding:13px 14px;border:0;background:transparent}.roleplay-language>div strong{padding:5px 7px;border:1px solid #e1e5eb;border-radius:7px;font-size:.68rem}.roleplay-language p{font-size:.74rem}.roleplay-success{display:grid;gap:4px;margin:0;padding:0 14px 13px;border:0;background:transparent}.roleplay-success strong{color:#3150a7;font-size:.57rem;text-transform:uppercase}.roleplay-success span{color:#566176;font-size:.72rem;line-height:1.42}.roleplay-complication p{margin:0;padding:12px 14px;color:#566176;font-size:.74rem}.speaking-card.is-roleplay .speaking-main h2{font-size:clamp(1.8rem,3.7vw,3.15rem)}


.unit-hero{padding:28px 0 54px;background:linear-gradient(140deg,#071a45 0%,#0c2866 60%,#173b8b 100%)}.unit-hero:after{opacity:.5}.unit-hero .curriculum-breadcrumb{margin-bottom:34px}.unit-hero-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:54px;align-items:end}.unit-sequence{padding:0;border:0;background:transparent;color:#b7c6ed;font-size:.62rem;letter-spacing:.09em}.unit-title-number{display:block;margin:17px 0 4px;color:#8fa9ea;font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.unit-hero h1{margin:0 0 12px;font-size:clamp(2.7rem,5.5vw,4.8rem);letter-spacing:-.055em}.unit-hero-grid>div>p{color:#c6d1eb;font-size:1rem}.unit-hero-tags{gap:6px;margin-top:19px}.unit-hero-tags span{padding:6px 9px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.07);font-size:.64rem}.unit-goal-card{padding:22px;border:1px solid rgba(255,255,255,.13);border-radius:18px;background:rgba(255,255,255,.07);box-shadow:none}.unit-goal-card>span{display:block;margin-bottom:10px;color:#aebfea;font-size:.59rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.unit-goal-card p{margin:0;color:#fff;font-size:.92rem;line-height:1.48}.unit-hero-actions{gap:8px;margin-top:20px}.curriculum-unit-number{border-radius:13px;background:#edf2ff;color:#17336f}


.tool-shell{padding:28px 0 60px}.tool-workspace{padding:clamp(22px,3.2vw,38px);border:1px solid #e2e5ea;border-radius:22px;box-shadow:none}.tool-heading{margin-bottom:26px;padding-bottom:20px;border-bottom:1px solid #eceef2}.tool-heading h1{color:#101828;font-size:clamp(1.7rem,3vw,2.25rem);letter-spacing:-.035em}.tool-heading p{font-size:.86rem}.tool-heading>div:last-child{display:flex;align-items:center;gap:6px}.tool-workspace .game-controls-row{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px}.tool-workspace .game-controls-row .btn-large{width:auto;min-width:190px}.tool-setup-card{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:18px;align-items:end;max-width:900px;margin:34px auto;padding:24px;border:1px solid #e1e5eb;border-radius:18px;background:#f8f9fb}.tool-setup-copy span{color:#3150a7;font-size:.59rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.tool-setup-copy h2{margin:5px 0 4px;color:#101828;font-size:1.4rem}.tool-setup-copy p{margin:0;color:#667085;font-size:.78rem}.tool-inline-field{display:grid;gap:7px}.tool-inline-field label{color:#667085;font-size:.66rem;font-weight:850}.tool-inline-field select{width:100%;height:44px;padding:0 38px 0 12px;border:1px solid #d9dee7;border-radius:11px;background:#fff;color:#25314a}.tool-action-bar{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}
.random-result{display:grid;gap:8px;margin:28px auto 0;padding:32px 26px;max-width:900px;border-radius:20px;background:linear-gradient(145deg,#0b2258,#173b87);box-shadow:none}.random-result span{color:#aebfea;font-size:.62rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.random-result strong{font-size:clamp(2.5rem,7vw,5.1rem);letter-spacing:-.04em}.random-result small{color:#cbd5ed;font-size:.72rem}.scoreboard-grid{gap:12px}.score-team{padding:20px;border:1px solid #e1e5eb;border-radius:18px;background:#f8f9fb}.score-team input{border:0;border-radius:10px;background:#fff;font-size:1rem}.score-number{margin:15px 0;color:#17336f}.score-buttons button{border:1px solid #dce1e9;background:#fff;color:#17336f}
.exit-ticket-layout{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:16px;align-items:stretch;max-width:1040px;margin:28px auto}.exit-ticket-card{display:grid;align-content:center;justify-items:start;min-height:360px;padding:clamp(28px,5vw,58px);border:1px solid #dfe4ec;border-radius:22px;background:linear-gradient(145deg,#f9fafc,#f2f5fa);text-align:left}.exit-ticket-label{display:flex;align-items:center;gap:9px}.exit-ticket-label span{color:#3150a7;font-size:.62rem}.exit-ticket-label small{padding-left:9px;border-left:1px solid #d5dae3;color:#8a93a3;font-size:.62rem}.exit-ticket-card strong{max-width:800px;margin:36px 0 14px;color:#101828;font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.05;letter-spacing:-.05em;text-wrap:balance}.exit-ticket-card p{margin:0;color:#667085;font-size:.83rem}.exit-ticket-actions{display:grid;align-content:center;gap:8px;padding:18px;border:1px solid #e1e5eb;border-radius:22px;background:#fff}.exit-ticket-actions>span{margin-bottom:6px;color:#7d8798;font-size:.62rem;text-align:center}.exit-ticket-actions .btn{width:100%}

@media(max-width:980px){
  .game-prelude-shell{grid-template-columns:1fr!important}.game-prelude-main{padding:0!important}.game-prelude-panel{padding:18px!important}
  .wheel-layout{grid-template-columns:1fr}.wheel-wrap{width:min(100%,540px)}.wheel-result{width:min(100%,680px);margin:auto}.wheel-result h2{max-width:none}
  .clue-layout,.speaking-layout,.bingo-control-deck,.exit-ticket-layout{grid-template-columns:1fr}.speaking-side{position:static;grid-template-columns:auto 1fr;justify-items:stretch;align-items:center}.speaking-side>span{grid-column:1/-1}.speaking-clock{grid-column:1}.speaking-actions{grid-column:2}.speaking-next{grid-column:1/-1}.tool-setup-card{grid-template-columns:1fr 220px}.tool-setup-card>.btn{grid-column:1/-1;width:max-content}
}
@media(max-width:680px){
  .game-shell{padding:7px}.game-topbar{align-items:flex-start}.game-stage{min-height:calc(100vh - 125px);padding:22px 15px;border-radius:18px}.game-progress{align-items:flex-start;flex-wrap:wrap}.game-progress span:nth-child(2){margin-left:auto}.game-progress span:nth-child(n+3){display:none}
  .game-prelude{min-height:auto}.game-prelude-shell{gap:20px!important}.game-prelude-heading{grid-template-columns:48px 1fr;gap:12px}.game-prelude-heading .game-icon{width:48px;height:48px}.game-prelude-heading h2{font-size:2rem}.game-prelude-context{align-items:flex-start;flex-direction:column;gap:3px}.game-prelude-context span[aria-hidden=true]{display:none}.game-prelude-panel{padding:15px!important;border-radius:17px!important}.game-prelude-actions{grid-template-columns:1fr}.game-prelude-actions small{text-align:center}
  .game-options,.truefalse-buttons{grid-template-columns:1fr}.game-sentence-card{padding:16px 13px}.sentence-build,.word-bank{padding:43px 12px 13px}.sentence-build:before,.word-bank:before{left:12px;top:13px;transform:none}.sentence-build:after,.word-bank:after{display:none}
  .wheel-layout{gap:26px}.wheel-result h2{font-size:2.35rem}.wheel-result .game-controls-row .btn{width:100%}
  .clue-layout{gap:16px}.clue-actions{align-items:stretch;flex-direction:column}.clue-actions .btn{width:100%}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.memory-card{height:105px}.bingo-cards{grid-template-columns:1fr}.bingo-toolbar{padding:11px}.speaking-followups ol{grid-template-columns:1fr}.speaking-side{grid-template-columns:1fr;justify-items:center}.speaking-clock,.speaking-actions,.speaking-next{grid-column:1}.speaking-actions{width:100%}.roleplay-brief{grid-template-columns:1fr}.roleplay-objective{grid-template-columns:1fr}
  .unit-hero-grid{grid-template-columns:1fr;gap:24px}.unit-hero .curriculum-breadcrumb{margin-bottom:25px}.unit-hero h1{font-size:2.85rem}.unit-goal-card{padding:17px}.unit-hero-tags span:nth-child(n+3){display:none}
  .tool-heading{align-items:flex-start}.tool-heading>div:last-child{width:100%;justify-content:space-between}.tool-setup-card{grid-template-columns:1fr;margin:18px auto;padding:18px}.tool-setup-card>.btn{grid-column:1;width:100%}.exit-ticket-card{min-height:300px;padding:27px 22px}.exit-ticket-card strong{margin:28px 0 12px;font-size:2.45rem}.tool-action-bar{display:grid}.tool-action-bar .btn{width:100%}
}
@media print{
  .bingo-control-deck{display:none!important}.bingo-cards{display:grid;grid-template-columns:1fr 1fr;gap:8mm}.bingo-card{margin:0;padding:7mm;border:1.5pt solid #17336f;border-radius:4mm}.bingo-grid{gap:1.5mm}.bingo-cell{min-height:17mm;border:1px solid #596579;border-radius:2mm;background:#fff!important}.bingo-cell-cue{display:none}.bingo-card footer{font-size:7.5pt}.bingo-caller-sheet{display:block!important}
}


:root{
  --activity-soft-line:#e6ebf3;
  --activity-shadow:0 18px 44px rgba(15,32,78,.08);
}
.teacher-quick-card{isolation:isolate}
.teacher-quick-card:before{z-index:0;opacity:.48;right:-58px;top:-64px;background:radial-gradient(circle,#dfe8ff 0%,#edf3ff 58%,rgba(237,243,255,0) 72%)}
.teacher-quick-card>*{position:relative;z-index:1}
.teacher-quick-card:hover:before{transform:scale(1.12);opacity:.36}
.teacher-quick-copy{position:relative;z-index:2}
.curriculum-hero .eyebrow,.unit-hero .eyebrow,.quick-lesson-hero .eyebrow,.unit-hero .unit-title-number{color:#dce7ff!important}
.unit-hero .unit-sequence{color:#c8d7ff!important}

.game-stage.is-running .game-question,.game-stage.is-running .speaking-card,.game-stage.is-running .clue-card,.game-stage.is-running .sentence-zone,.game-stage.is-running .draw-card{width:min(100%,1140px)}
.game-prelude-shell{width:min(100%,1180px)!important;grid-template-columns:minmax(0,1.05fr) minmax(370px,.78fr)!important;gap:clamp(34px,5vw,64px)!important}
.game-prelude-main{gap:22px!important}
.game-prelude-panel{position:relative;gap:17px!important;padding:25px!important;background:linear-gradient(180deg,#fbfcff,#f6f8fc)!important;box-shadow:var(--activity-shadow)!important}
.game-prelude-guides{max-height:188px;overflow:auto;padding-right:3px;scrollbar-width:thin}
.game-prelude-guides details[open]{box-shadow:0 12px 26px rgba(17,34,84,.06)}
.game-book-connection summary,.game-teacher-guide summary{transition:background .18s ease}
.game-book-connection[open] summary,.game-teacher-guide[open] summary{background:#f5f7fb}
.game-prelude-actions{margin-top:4px!important;padding-top:9px!important;border-top:1px solid #e8ecf3}
.game-prelude-actions .btn-large{min-height:52px!important}
.game-round-options{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important}
.game-round-picker label>span{transition:transform .16s ease,border-color .16s ease,background .16s ease}
.game-round-picker label:hover>span{transform:translateY(-1px);border-color:#b9c5dc!important}
.game-round-picker label>span.is-full-round{background:linear-gradient(180deg,#fff,#f7f9fd)!important}
.game-round-picker input:checked+span.is-full-round{background:linear-gradient(145deg,#0b245d,#173d91)!important;color:#fff!important}

.game-prompt-block{margin-bottom:18px}
.game-prompt-block h2{font-weight:820!important;max-width:920px;margin-inline:auto!important}
.game-sentence-card{box-shadow:0 12px 28px rgba(16,24,40,.045)}
.game-sentence-card>strong{font-weight:780}
.game-sentence-card.fill-sentence{display:block!important;max-width:980px;padding:22px 26px!important;background:linear-gradient(180deg,#fbfcff,#f7f9fc);font-size:clamp(1.55rem,3.2vw,2.55rem)!important;line-height:1.32!important}
.fill-blank{min-width:clamp(58px,7vw,98px)!important;height:.72em!important;vertical-align:-.05em!important}
.fill-blank span{border-bottom:3px solid #17336f!important}
.game-options{margin-top:18px}
.game-option{border-radius:16px}
.game-option>strong{text-transform:none}

.sentence-zone{display:grid;gap:14px}
.sentence-build,.word-bank{min-height:96px!important;margin:0!important;padding:48px 18px 17px!important;border-radius:18px!important;align-items:flex-start!important;align-content:flex-start!important;box-shadow:0 10px 24px rgba(16,24,40,.035)}
.sentence-build:before,.word-bank:before{left:17px!important;top:14px!important;transform:none!important;padding:5px 9px;border-radius:999px;background:#eef3ff;color:#17336f}
.sentence-build:after,.word-bank:after{display:none!important}
.word-bank{background:#fbfcff!important}
.word-bank:before{content:"Palavras"!important}
.word-token{box-shadow:0 6px 12px rgba(13,41,103,.12);transition:transform .14s ease,box-shadow .14s ease}
.word-token:hover{transform:translateY(-2px);box-shadow:0 10px 18px rgba(13,41,103,.16)}
.sentence-build .word-token{box-shadow:0 5px 12px rgba(16,24,40,.06)}
.sentence-actions{justify-content:center!important;margin-top:2px!important}

.speaking-card{padding:0}
.speaking-layout{gap:30px}
.speaking-main{padding:clamp(18px,3vw,30px);border:1px solid var(--activity-soft-line);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcff);box-shadow:0 12px 34px rgba(16,24,40,.045)}
.speaking-main h2{font-size:clamp(1.78rem,3.6vw,3.15rem)!important;font-weight:815;line-height:1.08!important}
.speaking-side{box-shadow:0 14px 32px rgba(17,34,84,.06)}
.speaking-clock{box-shadow:inset 0 0 0 8px rgba(255,255,255,.08),0 12px 26px rgba(11,33,87,.18)}
.roleplay-brief article,.roleplay-objective,.roleplay-support-panel,.roleplay-complication{border-radius:16px}

.battle-actions{align-items:center;justify-content:center;gap:10px;margin-top:22px!important;padding-top:16px;border-top:1px solid #edf0f4}
.battle-actions .btn{min-width:190px}
.battle-reveal{box-shadow:0 12px 26px rgba(16,24,40,.05)}
.battle-award{padding:14px 16px;border:1px solid #e2e7f0;border-radius:16px;background:#fbfcff}
.battle-points .btn{margin-top:0}

.clue-main,.clue-teacher-panel{border-radius:22px}
.clue-main{padding:clamp(18px,3vw,28px);border:1px solid var(--activity-soft-line);background:#fff;box-shadow:0 12px 34px rgba(16,24,40,.045)}
.clue-item{border-radius:15px;transition:transform .14s ease,border-color .14s ease}
.clue-item:not(.is-hidden):hover{transform:translateX(2px);border-color:#bdc9df}
.clue-teacher-panel{background:linear-gradient(180deg,#fbfcff,#f6f8fc)}

.memory-shell{display:grid;gap:16px}
.memory-grid{gap:14px!important}
.memory-card{height:126px!important;perspective:1100px}
.memory-card-inner{transition:transform .5s cubic-bezier(.18,.78,.22,1),filter .2s ease!important}
.memory-card:hover .memory-card-inner{filter:brightness(1.035)}
.memory-face{border-radius:20px!important}
.memory-front{position:relative;overflow:hidden}
.memory-front:after{content:"";position:absolute;inset:auto -35% -55% 35%;height:90%;border-radius:50%;background:rgba(255,255,255,.12);transform:rotate(-18deg)}
.memory-brand-mark,.memory-front small{position:relative;z-index:1}
.memory-back{box-shadow:0 18px 34px rgba(16,24,40,.08)}
.memory-card.is-matched .memory-back{box-shadow:0 0 0 2px rgba(24,164,107,.18),0 16px 30px rgba(24,164,107,.08)}

.wheel-pointer{border-right-color:#f0b429!important;filter:drop-shadow(0 6px 9px rgba(11,33,87,.28)) drop-shadow(0 0 0 #fff)}
.wheel-canvas{filter:drop-shadow(0 20px 36px rgba(11,33,87,.16))}

.teacher-tools-surface .teacher-tool-card,.teacher-tool-card{isolation:isolate}
.teacher-tool-card{border-radius:18px;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.teacher-tool-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(16,24,40,.08)}
.tool-workspace{background:linear-gradient(180deg,#fff,#fbfcff)}
.tool-input-panel textarea,.tool-inline-field select{box-shadow:0 8px 18px rgba(16,24,40,.035)}
.traffic-board.is-red{background:linear-gradient(145deg,#7f1d2d,#bb2e42)}
.traffic-board.is-green{background:linear-gradient(145deg,#14533c,#1e8a5f)}
.traffic-board.is-yellow{background:linear-gradient(145deg,#f2c14d,#ffd966);color:#241a00}
.instruction-board>span,.exit-ticket-card span{color:#17336f!important}

@media(max-width:980px){
  .game-prelude-shell{grid-template-columns:1fr!important}
  .game-prelude-guides{max-height:none}
  .speaking-main{padding:20px}
}
@media(max-width:680px){
  .game-prelude-panel{padding:17px!important}
  .game-round-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sentence-build,.word-bank{padding:46px 13px 14px!important}
  .battle-actions{display:grid}.battle-actions .btn{width:100%;min-width:0}
  .memory-card{height:112px!important}
}


.game-stage.is-running{align-items:start!important;align-content:start!important}
.game-stage.is-running .game-question,.game-stage.is-running .speaking-card,.game-stage.is-running .clue-card,.game-stage.is-running .sentence-zone,.game-stage.is-running .draw-card{margin:clamp(16px,4vh,38px) auto 0}
.game-prelude-guides{max-height:none!important;overflow:visible!important;padding-right:0!important}
.game-round-picker{gap:12px!important}
.game-round-picker legend{justify-content:flex-start!important;align-items:center!important;gap:11px!important;margin-bottom:2px!important}
.game-round-picker legend span{display:inline-flex;align-items:center;min-height:34px;padding:0 14px;border:1px solid #d8dfeb;border-radius:999px;background:#fff}
.game-round-options{margin-top:2px!important}
.game-round-picker>p{font-size:.65rem!important}
.game-sentence-card + .teacher-answer,.fill-sentence + .teacher-answer{margin-top:18px!important;margin-bottom:18px!important}
.game-sentence-card.fill-sentence.is-resolved{border-color:#b8d5c6;background:linear-gradient(180deg,#f7fffb,#eefaf4);color:#0e2d1f}
.game-prompt-block.game-prompt-compact h2{font-size:clamp(1.35rem,2.65vw,2.2rem)!important;line-height:1.12!important}
.battle-actions{margin-top:24px!important}
.speaking-side{grid-template-columns:1fr}
.speaking-clock{width:136px!important;height:136px!important;font-size:2.08rem!important}
.memory-grid{width:min(100%,980px)!important;margin-inline:auto;gap:16px!important}
.memory-card{height:148px!important;min-height:148px!important;transform:none!important}
.memory-card:active,.memory-card:focus{transform:none!important}
.memory-card:hover .memory-card-inner{filter:none!important}
.memory-card.is-open .memory-card-inner,.memory-card.is-matched .memory-card-inner{animation:memoryFlipIn .44s cubic-bezier(.18,.78,.22,1)}
.memory-face{min-height:100%}
@keyframes memoryFlipIn{from{transform:rotateY(0deg)}to{transform:rotateY(180deg)}}
.traffic-board + .game-controls-row{display:none!important}
.instruction-setup{max-width:860px!important}
.instruction-setup label{display:grid;gap:9px}
.instruction-setup label>strong{display:block;margin:0;color:#101828}
.instruction-setup textarea{min-height:150px}
.tool-form-grid{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:22px;align-items:end;margin-top:16px}
.tool-form-grid label{min-width:0}
.tool-form-grid select,.tool-form-grid input{width:100%;height:48px;padding:0 14px;border:1px solid #d9dee7;border-radius:12px;background:#fff;color:#25314a;font-weight:760}
.instruction-setup .game-controls-row{margin-top:22px!important}
.exit-ticket-label small{color:#667085}
@media(max-width:980px){
  .memory-card{height:136px!important;min-height:136px!important}
  .tool-form-grid{grid-template-columns:1fr 130px}
}
@media(max-width:680px){
  .memory-card{height:118px!important;min-height:118px!important}
  .tool-form-grid{grid-template-columns:1fr}
  .speaking-clock{width:126px!important;height:126px!important}
}

/*
 * Refinamento consolidado - notificações, controles nativos, segurança e ferramentas.
 */
.toast{
  position:relative;
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 30px;
  gap:12px;
  align-items:start;
  overflow:hidden;
  padding:14px;
  border:1px solid #e1e7f0;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  box-shadow:0 20px 55px rgba(9,18,62,.16);
  animation:toast-in .22s ease both;
}
.toast.is-leaving{
  opacity:0;
  transform:translateY(-8px);
  transition:opacity .18s ease,transform .18s ease;
}
.toast-icon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:12px;
  background:#17336f;
  color:#fff;
}
.toast-icon svg{
  width:20px;
  height:20px;
  fill:currentColor;
}
.toast.is-success .toast-icon{background:#14845b}
.toast.is-error .toast-icon{background:#d92d47}
.toast.is-warning .toast-icon{background:#b77a00}
.toast-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.toast-copy strong{
  color:#101828;
  font-size:.88rem;
  font-weight:850;
}
.toast-copy span{
  color:#5d687c;
  font-size:.8rem;
  line-height:1.45;
}
.toast-close{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:0;
  border-radius:10px;
  background:#f2f4f8;
  color:#475467;
  font:inherit;
  font-size:1.1rem;
  cursor:pointer;
}
.toast-close:hover{background:#e8ecf3;color:#101828}
.toast-timer{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  transform-origin:left center;
  background:linear-gradient(90deg,#1749b6,#d92d47);
  animation:toast-timer var(--toast-duration,4500ms) linear both;
}
.toast.is-paused .toast-timer{animation-play-state:paused}
.teachers-platform select,
.tool-workspace select,
.admin-page select,
.library-filter select,
.quick-lesson-form select{
  appearance:none!important;
  border-radius:14px!important;
  background-color:#fff!important;
  background-image:
    linear-gradient(45deg,transparent 50%,#66728a 50%),
    linear-gradient(135deg,#66728a 50%,transparent 50%)!important;
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%!important;
  background-size:5px 5px,5px 5px!important;
  background-repeat:no-repeat!important;
}
.teachers-platform :where(button,.btn,.custom-select-trigger),
.tool-workspace :where(button,.btn,.custom-select-trigger){
  border-radius:14px;
}
.tool-workspace:fullscreen,
.tool-workspace.is-fullscreen{
  width:100vw!important;
  min-height:100vh!important;
  overflow:auto!important;
  padding:clamp(24px,4vw,54px)!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,#f8f9fc,#f3f5f9)!important;
}
.tool-workspace:fullscreen::backdrop{background:#f3f5f9!important}
.tool-workspace .tool-heading{
  gap:18px!important;
}
.tool-workspace .tool-heading>div:last-child,
.tool-workspace .tool-action-bar,
.tool-workspace .tool-controls,
.tool-workspace .game-controls-row{
  gap:12px!important;
}
.tool-input-panel,
.tool-setup-card{
  display:grid;
  gap:18px;
}
.tool-input-panel label{
  display:grid;
  gap:10px;
}
.tool-input-panel p{
  margin:0;
  color:#667085;
  line-height:1.55;
}
.tool-workspace textarea,
.tool-workspace input,
.tool-workspace select{
  border-radius:14px!important;
}
.tool-workspace .btn{
  min-height:46px;
}
.agenda-item{
  border-radius:14px!important;
}
.instruction-board,
.exit-ticket-card,
.traffic-board{
  border-radius:24px!important;
}

/*
 * Refinamento consolidado - navegação geral e controles consistentes.
 */
.back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  display:grid;
  width:46px;
  height:46px;
  place-items:center;
  border:1px solid rgba(213,220,232,.96);
  border-radius:999px;
  color:#14246b;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 38px rgba(15,30,70,.16);
  font-size:1.25rem;
  font-weight:900;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .18s ease,transform .18s ease,background .18s ease;
}
.back-to-top.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.back-to-top:hover{
  background:#f5f8ff;
}
.teachers-platform :is(select,button,.btn,.custom-select-trigger,.teacher-answer-toggle,.toast-close),
.admin-page :is(select,button,.btn,.custom-select-trigger){
  border-radius:14px;
}
.teachers-platform select,
.admin-page select,
.library-filter select,
.quick-lesson-form select{
  min-height:44px;
}
.admin-security-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.48fr);
  gap:18px;
  align-items:start;
}
.security-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.security-card,
.backup-card{
  padding:18px;
  border:1px solid #e1e6ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 32px rgba(16,24,40,.045);
}
.security-card h2,
.backup-card h2{
  margin:0 0 8px;
}
.security-card p,
.backup-card p{
  color:#667085;
  line-height:1.55;
}
.two-factor-secret{
  display:grid;
  gap:8px;
  margin:14px 0;
  padding:14px;
  border:1px dashed #bfcae0;
  border-radius:14px;
  background:#f8faff;
}
.two-factor-secret code{
  overflow-wrap:anywhere;
  color:#14246b;
  font-weight:800;
}
.recovery-code-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}
.recovery-code-list code{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  background:#f4f6fb;
  color:#14246b;
  font-weight:850;
  text-align:center;
}
.backup-action-grid{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.drive-status-card{
  display:grid;
  gap:8px;
}
.drive-status-card code{
  overflow-wrap:anywhere;
}
@media(max-width:980px){
  .admin-security-grid,
  .security-card-grid{
    grid-template-columns:1fr;
  }
}

/*
 * Refinamento consolidado - ajustes de proporção reportados na homologação.
 */
.game-prelude-chips{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:10px!important;
  margin:20px 0!important;
}
.game-prelude-chips span{
  flex:0 1 auto!important;
  width:auto!important;
  min-width:132px!important;
  max-width:100%!important;
  min-height:50px!important;
  padding:10px 20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:12px!important;
  text-align:center!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}
.game-round-options{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.game-round-picker label,
.game-round-picker label>span{
  width:100%!important;
}
.game-round-picker label>span{
  min-height:52px!important;
  display:inline-flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px 14px!important;
  text-align:center!important;
}
.game-round-picker label>span strong{
  display:inline-block!important;
  margin:0!important;
  font-size:1.08rem!important;
  line-height:1!important;
}
.game-round-picker label>span small{
  display:inline-block!important;
  margin:0!important;
  font-size:.78rem!important;
  line-height:1!important;
  font-weight:850!important;
}
.admin-security-page .admin-security-grid{
  gap:24px;
  margin-bottom:24px;
  align-items:stretch;
}
.admin-security-page .security-card{
  display:grid;
  align-content:start;
  gap:14px;
  padding:24px;
}
.admin-security-page .security-card :is(h2,p){
  margin-top:0;
}
.admin-security-page .backup-action-grid{
  gap:12px;
  margin-top:6px;
}
.admin-security-page details .admin-form{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #e5eaf3;
}
.admin-security-page .admin-panel{
  margin-top:24px;
}
@media(max-width:760px){
  .game-prelude-chips span{
    flex:1 1 100%!important;
    white-space:normal!important;
  }
  .game-round-options{
    grid-template-columns:1fr 1fr!important;
  }
}

/*
 * Refinamentos atuais de bingo, memória, dropdowns e ditado.
 */
.custom-select-option.is-selected,
.admin-page .custom-select-option.is-selected{
  background:#17336f!important;
  color:#fff!important;
}
.custom-select-option.is-selected:hover,
.custom-select-option.is-selected:focus-visible{
  background:#102a63!important;
  color:#fff!important;
}
.bingo-call{
  gap:14px!important;
  padding:24px 26px!important;
}
.bingo-call strong{
  line-height:1.32!important;
}
.bingo-cards{
  gap:18px!important;
}
.bingo-card{
  padding:18px!important;
}
.bingo-card header{
  gap:6px 14px!important;
  margin-bottom:16px!important;
  padding-bottom:12px!important;
  border-bottom:1px solid #edf0f5!important;
}
.bingo-grid{
  gap:7px!important;
}
.bingo-cell{
  min-width:0!important;
  min-height:66px!important;
  padding:8px 9px!important;
  overflow:hidden!important;
}
.bingo-cell strong{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
  font-size:clamp(.62rem,1vw,.94rem)!important;
  line-height:1.1!important;
}
.dictation-answer-box{
  display:grid;
  gap:10px;
  max-width:720px;
  margin:18px auto 0;
  padding:16px;
  border:1px solid #e1e6ef;
  border-radius:16px;
  background:#fbfcff;
}
.dictation-answer-box label{
  color:#5f6b82;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.dictation-answer-box>div{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
}
.dictation-answer-box input{
  width:100%;
  min-height:48px;
  padding:0 14px;
  border:1px solid #dbe2ee;
  border-radius:13px;
  color:#111c3b;
  font:inherit;
}
.dictation-answer-box p{
  min-height:22px;
  margin:0;
  color:#667085;
  font-weight:750;
}
.dictation-answer-box p.is-correct{
  color:#08764a;
}
.dictation-answer-box p.is-wrong{
  color:#a0202b;
}
@media(max-width:720px){
  .dictation-answer-box>div{
    grid-template-columns:1fr;
  }
}

/*
 * v1.0.8 - refinamentos de leitura e controles dos jogos.
 */
.custom-select-option.is-selected,
.custom-select-option[aria-selected="true"],
.admin-page .custom-select-option.is-selected,
.admin-page .custom-select-option[aria-selected="true"]{
  background:#eef4ff!important;
  color:#102a63!important;
}
.custom-select-option.is-selected:hover,
.custom-select-option.is-selected:focus-visible,
.custom-select-option[aria-selected="true"]:hover,
.custom-select-option[aria-selected="true"]:focus-visible{
  background:#dfeaff!important;
  color:#0b2258!important;
}
.fit-text{
  display:block!important;
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  line-height:1.08!important;
  text-align:center!important;
}
.fit-text.is-single-word{
  white-space:nowrap!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.fit-text.is-compound-word{
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.memory-face.memory-back strong.fit-text{
  padding-inline:4px!important;
  color:#111c3b!important;
  font-size:clamp(.78rem,1.15vw,.98rem)!important;
  letter-spacing:.01em!important;
  text-transform:uppercase!important;
}
.memory-face.memory-back strong.fit-text.is-long-word{
  font-size:clamp(.68rem,1vw,.84rem)!important;
  letter-spacing:-.01em!important;
}
.memory-face.memory-back strong.fit-text.is-very-long-word{
  font-size:clamp(.58rem,.86vw,.74rem)!important;
  letter-spacing:-.018em!important;
}
.memory-face.memory-back strong.fit-text.is-extra-long-word{
  font-size:clamp(.52rem,.78vw,.68rem)!important;
}
.bingo-cell strong.fit-text{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  color:#111c3b!important;
  font-size:clamp(.66rem,.95vw,.9rem)!important;
  letter-spacing:0!important;
  text-transform:uppercase!important;
}
.bingo-cell strong.fit-text.is-long-word{
  font-size:clamp(.56rem,.82vw,.76rem)!important;
}
.bingo-cell strong.fit-text.is-very-long-word{
  font-size:clamp(.49rem,.74vw,.66rem)!important;
}
.bingo-cell strong.fit-text.is-extra-long-word{
  font-size:clamp(.43rem,.66vw,.58rem)!important;
}
.bingo-call{
  gap:18px!important;
  padding-block:28px!important;
}
.bingo-call>div:first-child{
  display:grid!important;
  gap:8px!important;
}
.bingo-call p{
  line-height:1.5!important;
}
.bingo-answer-row{
  display:grid!important;
  gap:10px!important;
  align-content:center!important;
}
.listening-play-layout .game-prompt-block h2,
.dictation-play-layout .game-prompt-block h2{
  max-width:760px!important;
  font-size:clamp(1.28rem,2.15vw,1.9rem)!important;
  line-height:1.22!important;
  letter-spacing:-.015em!important;
}
.listening-play-layout .audio-box,
.dictation-play-layout .audio-box{
  margin:18px auto 22px!important;
}
.team-setup-actions,
.sentence-actions{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
.team-setup-actions .btn,
.sentence-actions .btn{
  width:auto!important;
  min-width:190px!important;
}
.draw-area canvas{
  image-rendering:auto!important;
}
@media(max-width:720px){
  .team-setup-actions,
  .sentence-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .team-setup-actions .btn,
  .sentence-actions .btn{
    width:100%!important;
    min-width:0!important;
  }
}

/*
 * v1.0.9 - salvar sempre visível no editor de atividades.
 */
.admin-activity-editor-page{
  padding-bottom:150px!important;
}
.activity-floating-save{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:90;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:min(980px,calc(100% - 36px));
  padding:13px 14px 13px 18px;
  border:1px solid rgba(207,216,232,.95);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  box-shadow:0 20px 54px rgba(15,30,70,.18);
  backdrop-filter:blur(18px);
  transform:translateX(-50%);
}
.activity-floating-save>div:first-child{
  display:grid;
  gap:2px;
  min-width:0;
}
.activity-floating-save strong{
  color:#101828;
  font-size:.92rem;
}
.activity-floating-save span{
  color:#667085;
  font-size:.74rem;
}
.activity-floating-save-actions{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
}
.activity-floating-save .btn{
  min-height:44px;
  white-space:nowrap;
}
@media(max-width:720px){
  .admin-activity-editor-page{
    padding-bottom:190px!important;
  }
  .activity-floating-save{
    bottom:10px;
    display:grid;
    gap:10px;
    width:calc(100% - 20px);
    padding:12px;
    border-radius:18px;
  }
  .activity-floating-save span{
    display:none;
  }
  .activity-floating-save-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .activity-floating-save .btn{
    min-width:0;
    padding-inline:10px;
  }
}
