@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Nunito:wght@600;700;800;900;1000&display=swap');
:root{--purple:#46178f;--purple-dark:#321064;--purple-light:#6f36c5;--red:#e21b3c;--blue:#1368ce;--yellow:#d89e00;--green:#26890c;--ink:#24133e;--muted:#776b88;--paper:#fff;--bg:#f6f3fb;--line:#e9e2f2;--shadow:0 12px 35px rgba(44,18,79,.12);--radius:18px;--sans:'DM Sans',system-ui,sans-serif;--display:'Nunito',system-ui,sans-serif}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.display{font-family:var(--display);font-weight:1000;letter-spacing:-.035em}.brand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-weight:1000;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#fff;color:var(--purple);font-size:21px;box-shadow:0 4px 12px #1a093b25}.btn{border:0;border-radius:12px;padding:13px 18px;font-weight:800;transition:transform .15s,filter .15s;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{transform:translateY(-2px);filter:brightness(1.04)}.btn-primary{background:#f2c744;color:#32185d;box-shadow:0 4px 0 #bf941d}.btn-purple{background:var(--purple);color:white}.btn-ghost{background:#f3eff8;color:var(--purple)}.field{width:100%;border:2px solid #e6deef;border-radius:12px;padding:15px 16px;background:#fff;color:var(--ink);outline:none}.field:focus{border-color:#8652ca;box-shadow:0 0 0 4px #8652ca20}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:var(--muted)}.muted{color:var(--muted)}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;background:#f1eafb;color:var(--purple)}.game-bg{background:radial-gradient(circle at 12% 18%,#6c37ad 0 2px,transparent 3px),radial-gradient(circle at 86% 22%,#ffffff22 0 5px,transparent 6px),radial-gradient(circle at 76% 80%,#ffffff18 0 3px,transparent 4px),linear-gradient(135deg,#321064,#46178f 55%,#5422a2)}.answer-tile{min-height:104px;border:0;border-radius:13px;color:#fff;font-family:var(--display);font-size:clamp(16px,2vw,22px);font-weight:1000;padding:20px;text-align:left;display:flex;align-items:center;gap:14px;box-shadow:0 5px 0 #0002;transition:transform .13s,filter .13s}.answer-tile:hover{transform:translateY(-3px);filter:brightness(1.08)}.answer-tile:disabled{opacity:.65;cursor:default;transform:none}.answer-tile.red{background:var(--red)}.answer-tile.blue{background:var(--blue)}.answer-tile.yellow{background:#e5ad12;color:#301d4d}.answer-tile.green{background:var(--green)}.answer-symbol{font-size:27px;line-height:1}.app-shell{min-height:100vh}.topbar{height:70px;background:var(--purple);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 30px;box-shadow:0 3px 18px #2d0c5740}.topbar .brand-mark{background:#fff;color:var(--purple)}.page-wrap{max-width:1380px;margin:0 auto;padding:34px 30px}.side-layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:calc(100vh - 70px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 16px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:11px;font-weight:800;color:#766a86;margin:4px 0}.nav-link.active,.nav-link:hover{background:#f0e9fa;color:var(--purple)}.nav-link .nav-icon{width:22px;text-align:center;font-size:18px}.main-content{padding:30px;min-width:0}.stat-card{padding:20px;border-radius:16px;background:#fff;border:1px solid var(--line)}.stat-number{font-family:var(--display);font-size:34px;font-weight:1000;color:var(--purple)}.modal-backdrop{position:fixed;inset:0;background:#1e0d36aa;display:grid;place-items:center;padding:20px;z-index:30}.modal{width:min(760px,100%);max-height:90vh;overflow:auto;background:white;border-radius:22px;padding:26px;box-shadow:0 25px 80px #16062855}.avatar{width:54px;height:54px;border-radius:16px;border:2px solid transparent;background:#f3eff8;display:grid;place-items:center;font-size:30px}.avatar.selected{border-color:var(--purple);background:#e9ddfa;box-shadow:0 0 0 3px #6e3caa20}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:60;background:#24133e;color:white;border-radius:12px;padding:12px 18px;font-weight:800;box-shadow:var(--shadow)}@media(max-width:850px){.side-layout{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--line);padding:8px}.nav-link{white-space:nowrap}.main-content{padding:20px}.topbar{padding:0 16px}.page-wrap{padding:22px 16px}}@media(max-width:560px){.answer-tile{min-height:82px}.topbar{height:60px}.brand{font-size:15px}.stat-grid{grid-template-columns:1fr 1fr!important}}
/* MUDARRIS JOIN premium teacher workspace refinements */
.topbar{height:76px;padding:0 clamp(18px,4vw,52px);background:linear-gradient(105deg,#321064,#46178f 62%,#5b2a9b);box-shadow:0 5px 24px #2d0c5728}
.brand{font-size:20px}
.sidebar{padding:28px 17px;background:#fff}
.nav-link{padding:13px 15px;border-radius:12px;font-size:14px;transition:background .16s,color .16s,transform .16s}
.nav-link:hover{transform:translateX(2px)}
.main-content{padding:clamp(22px,3vw,42px);background:#f7f5fa}
.stat-card{padding:22px;border-radius:18px;box-shadow:0 5px 22px #28113d08;transition:transform .18s,box-shadow .18s}
.stat-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px #28113d12}
.card{box-shadow:0 7px 26px #28113d09}
.btn{border-radius:11px}
.btn-primary{background:#f2c744;color:#32185d;box-shadow:0 3px 0 #bf941d}
.field{border:1.5px solid #e4ddec;border-radius:11px}
.modal{border-radius:22px;padding:clamp(20px,3vw,30px)}
.modal-backdrop{backdrop-filter:blur(5px)}
.q-card{border-radius:16px!important;box-shadow:0 5px 20px #28113d08}
@media(max-width:850px){.sidebar{gap:4px}.main-content{padding:18px}}


/* Student join page: compact desktop layout + careful mobile Chrome sizing */
.student-join{min-height:100svh;min-height:100dvh;overflow-x:hidden}
.student-join .join-header{height:58px!important;padding:0 clamp(14px,4vw,46px)!important}
.student-join .join-header .brand{font-size:17px!important}
.student-join .join-header .brand-mark{width:31px;height:31px;font-size:17px;border-radius:10px}
.student-join .join-header .btn{padding:9px 12px;font-size:12px}
.student-join .join-main{min-height:calc(100svh - 58px)!important;min-height:calc(100dvh - 58px)!important;padding:12px 16px 28px!important}
.student-join .join-panel{width:min(390px,100%)!important}
.student-join .join-emoji{font-size:42px!important;margin-bottom:8px!important}
.student-join .join-eyebrow{font-size:9px!important;margin-bottom:7px!important}
.student-join .join-title{font-size:clamp(38px,5vw,52px)!important;line-height:.98!important;margin:0 0 9px!important}
.student-join .join-subtitle{font-size:14px!important;margin:0 0 18px!important}
.student-join .join-card{padding:18px!important;border-radius:16px!important}
.student-join .join-card .field{font-size:17px!important;padding:12px!important;border-radius:10px!important}
.student-join .join-card .btn{height:45px!important;font-size:14px!important;border-radius:10px!important;margin-top:10px!important}
.student-join .join-hints{gap:13px!important;margin-top:17px!important;font-size:11px!important}
@media(max-width:640px){
  .student-join .join-header{height:54px!important;padding:0 13px!important}
  .student-join .join-header .brand{font-size:14px!important;gap:7px}
  .student-join .join-header .brand-mark{width:28px;height:28px;font-size:15px}
  .student-join .join-header .btn{padding:8px 9px;font-size:11px}
  .student-join .join-main{min-height:calc(100svh - 54px)!important;min-height:calc(100dvh - 54px)!important;padding:12px 14px calc(18px + env(safe-area-inset-bottom))!important}
  .student-join .join-panel{width:min(370px,100%)!important}
  .student-join .join-emoji{font-size:38px!important;margin-bottom:7px!important}
  .student-join .join-title{font-size:clamp(35px,10vw,43px)!important}
  .student-join .join-subtitle{font-size:13px!important;margin-bottom:15px!important}
  .student-join .join-card{padding:15px!important}
  .student-join .join-card label{font-size:10px!important}
  .student-join .join-card .field{font-size:16px!important;padding:12px!important;min-height:45px}
  .student-join .join-card .btn{min-height:44px;height:44px!important;font-size:13px!important}
  .student-join .join-hints{flex-wrap:wrap;gap:8px 13px!important;margin-top:14px!important;font-size:10px!important}
}
@media(max-height:650px) and (min-width:641px){
  .student-join .join-main{padding-top:4px!important;padding-bottom:10px!important}
  .student-join .join-emoji{font-size:34px!important;margin-bottom:3px!important}
  .student-join .join-title{font-size:39px!important;margin-bottom:6px!important}
  .student-join .join-subtitle{margin-bottom:11px!important}
  .student-join .join-card{padding:14px!important}
  .student-join .join-hints{margin-top:10px!important}
}


/* Telefon ekranlarida viktorina muharririni qulay joylashtirish */
@media(max-width:620px){
  .modal{width:100%;max-height:calc(100dvh - 24px);padding:17px;border-radius:16px}
  #game-form>div:first-of-type{grid-template-columns:1fr!important}
  .q-options{grid-template-columns:1fr!important}
  .modal-backdrop{padding:12px}
}

/* Official Mudarris open-book logo */
.brand-mark img{display:block;width:34px;height:30px;object-fit:contain}


/* Header logo sizing and true optical centering */
.brand{align-items:center}
.brand-mark{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  padding:4px;
  overflow:hidden;
  border-radius:14px;
  line-height:0;
}
.brand-mark img{
  display:block;
  width:44px;
  height:39px;
  max-width:100%;
  max-height:100%;
  margin:auto;
  object-fit:contain;
  object-position:50% 50%;
  flex:none;
}
@media(max-width:640px){
  .brand-mark{
    width:44px!important;
    height:44px!important;
    flex-basis:44px!important;
    padding:3px;
    border-radius:12px;
  }
  .brand-mark img{
    width:38px;
    height:34px;
  }
  .student-join .join-header .brand-mark{
    width:44px!important;
    height:44px!important;
    flex-basis:44px!important;
  }
}


/* Official Mudarris logo: larger, optically centered and crisp */
.brand{align-items:center;gap:12px}
.brand-mark{
  width:64px!important;
  height:64px!important;
  flex:0 0 64px!important;
  display:grid;
  place-items:center;
  padding:2px;
  overflow:hidden;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(70,23,143,.12);
  box-shadow:0 4px 16px rgba(35,12,67,.14);
  line-height:0;
}
.brand-mark img{
  display:block;
  width:60px;
  height:60px;
  max-width:100%;
  max-height:100%;
  margin:0 auto;
  object-fit:contain;
  object-position:center;
  flex:none;
}
.student-join .join-header .brand-mark{
  width:48px!important;
  height:48px!important;
  flex-basis:48px!important;
  padding:2px;
  border-radius:13px;
}
.student-join .join-header .brand-mark img{width:45px;height:45px}
@media(max-width:640px){
  .brand{gap:8px}
  .brand-mark{
    width:52px!important;
    height:52px!important;
    flex-basis:52px!important;
    border-radius:13px;
  }
  .brand-mark img{width:48px;height:48px}
  .student-join .join-header .brand-mark{
    width:48px!important;
    height:48px!important;
    flex-basis:48px!important;
  }
}


/* MUDARRIS JOIN brand system and Kahoot-inspired teacher workspace */
.brand-wordmark{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-family:var(--display);font-weight:1000;letter-spacing:-.045em;color:inherit;line-height:1}
.brand-wordmark strong{color:#b88aff;font-weight:1000}
.teacher-topbar{height:76px;gap:24px}
.teacher-topbar .brand-mark{width:52px!important;height:52px!important;flex:0 0 52px!important;border-radius:13px;padding:3px}
.teacher-topbar .brand-mark img{width:46px;height:46px;object-fit:contain}
.teacher-topbar .brand-wordmark{font-size:20px}
.top-nav{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;min-width:0}
.top-nav-link{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;color:#eee5fb;font-size:13px;font-weight:800;white-space:nowrap;transition:background .15s,color .15s}
.top-nav-link:hover,.top-nav-link.active{background:#ffffff20;color:#fff}
.topbar-actions{display:flex;align-items:center;gap:12px;flex:none}
.teacher-email{font-size:12px;color:#e9ddf6;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.btn-top-create{background:#8650ee;color:#fff;padding:10px 17px;box-shadow:0 4px 14px #170a3733}
.btn-signout{background:#ffffff20;color:white;padding:9px 13px}
.dashboard-section{margin-top:27px}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:13px}
.section-heading h2{font-size:23px;margin:5px 0 0}
.recent-quiz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.recent-quiz-card{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 5px 18px #28113d08;transition:transform .16s,box-shadow .16s}
.recent-quiz-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px #28113d12}
.recent-quiz-art{height:84px;display:grid;place-items:center;background:linear-gradient(135deg,#321064,#8c50e6);color:#fff;font-size:36px}
.recent-quiz-card:nth-child(4n+2) .recent-quiz-art{background:linear-gradient(135deg,#145c56,#38a08c)}
.recent-quiz-card:nth-child(4n+3) .recent-quiz-art{background:linear-gradient(135deg,#9b5517,#e5a537)}
.recent-quiz-card:nth-child(4n+4) .recent-quiz-art{background:linear-gradient(135deg,#1b5795,#56a6df)}
.recent-quiz-copy{padding:13px}
.recent-quiz-copy strong{display:block;overflow-wrap:anywhere;font-size:14px;color:var(--ink)}
.recent-quiz-copy small{display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}
.recent-quiz-actions{display:flex;gap:7px;margin-top:11px}
.recent-quiz-actions .btn{flex:1;padding:8px 9px;font-size:11px}
.recent-loading,.recent-empty{grid-column:1/-1;padding:22px;text-align:center;color:var(--muted)}
.create-section{margin-top:28px}
.quick-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.quick-create-card{display:flex;align-items:center;gap:13px;min-width:0;padding:17px;border:1px solid var(--line);border-radius:15px;background:#fff;text-align:left;color:var(--ink);box-shadow:0 4px 18px #28113d07;transition:transform .16s,border-color .16s,box-shadow .16s}
.quick-create-card:hover{transform:translateY(-2px);border-color:#c7b2e7;box-shadow:0 12px 25px #28113d12}
.quick-create-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#eee6fb;color:var(--purple);font-size:25px;font-weight:900}
.quick-create-card strong,.quick-create-card small{display:block}
.quick-create-card strong{font-size:14px}
.quick-create-card small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}
.quick-create-arrow{margin-left:auto;color:var(--purple);font-size:20px}
.auth .brand-wordmark{font-size:23px}
.student-join .brand-wordmark{font-size:17px}
@media(max-width:1050px){.top-nav{gap:2px}.top-nav-link{padding:9px 8px;font-size:12px}.recent-quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.teacher-topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 14px;gap:10px}.teacher-topbar .brand-mark{width:44px!important;height:44px!important;flex-basis:44px!important}.teacher-topbar .brand-mark img{width:39px;height:39px}.teacher-topbar .brand-wordmark{font-size:17px}.top-nav{order:3;flex-basis:100%;justify-content:flex-start;overflow:auto}.top-nav-link{font-size:11px}.topbar-actions{margin-left:auto}.teacher-email{display:none}.quick-create-grid{grid-template-columns:1fr}}
@media(max-width:520px){.recent-quiz-grid{grid-template-columns:1fr}.recent-quiz-art{height:68px}.section-heading{align-items:flex-start}.section-heading>.btn{font-size:11px;padding:8px}}

/* MUDARRIS JOIN — Kahoot-inspired dashboard and quiz creator */
:root{--mj-purple:#321064;--mj-purple2:#46178f;--mj-border:#e4e5ee;--mj-ink:#18152b;--mj-muted:#77748a}
body.mj-dashboard,body.mj-editor-page{margin:0;background:#f5f6fa;color:var(--mj-ink);font-family:var(--sans);min-height:100vh}body.mj-dashboard *,body.mj-editor-page *{box-sizing:border-box}
.mj-topbar{height:52px;background:linear-gradient(100deg,#2c0c58,#40127c 55%,#321064);display:flex;align-items:center;gap:22px;padding:0 24px;color:white;box-shadow:0 2px 8px #1c073322;position:relative;z-index:10}.mj-brand{display:flex;align-items:center;gap:8px;min-width:220px;color:white;text-decoration:none}.mj-logo{width:34px;height:34px;background:white;border-radius:8px;display:grid;place-items:center;padding:3px;flex:none}.mj-logo img{width:100%;height:100%;object-fit:contain}.mj-wordmark{font:1000 20px/1 var(--display);letter-spacing:-.045em;color:white;white-space:nowrap}.mj-wordmark strong{color:#a56af5}
.mj-topnav{display:flex;align-items:center;gap:4px;flex:1;min-width:0}.mj-topnav-link{border:0;background:transparent;color:#f0eafa;text-decoration:none;display:inline-flex;align-items:center;gap:7px;padding:10px;border-radius:8px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.mj-topnav-link span{font-size:16px}.mj-topnav-link:hover,.mj-topnav-link.active{background:#ffffff20;color:white}.mj-top-actions{display:flex;align-items:center;gap:10px;margin-left:auto;white-space:nowrap}.mj-create-top{border:0;border-radius:6px;background:#853cf0;color:white;padding:9px 22px;font-size:11px;font-weight:900;cursor:pointer}.mj-icon-button{width:32px;height:32px;background:transparent;color:white;border:0;font-size:20px;cursor:pointer}.mj-profile-button{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:white;font-weight:800;font-size:11px;cursor:pointer}.mj-profile-button>span:first-child{width:31px;height:31px;display:grid;place-items:center;background:#bd65ee;border-radius:50%;font-size:14px}.mj-pop-wrap{position:relative}.mj-popover{position:absolute;right:0;top:calc(100% + 12px);min-width:220px;background:white;color:var(--mj-ink);padding:14px;border:1px solid var(--mj-border);border-radius:11px;box-shadow:0 12px 35px #1d0b3b24;z-index:40;font-size:11px}.mj-popover p{color:var(--mj-muted);overflow-wrap:anywhere}.mj-popover small{color:var(--mj-muted)}.mj-logout-button{display:block;width:100%;margin-top:11px;border:0;background:#f2eafa;color:var(--mj-purple2);border-radius:7px;padding:9px;font-weight:800;cursor:pointer}
.mj-dashboard-layout{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:calc(100vh - 52px)}.mj-sidebar{background:linear-gradient(180deg,#291052,#321064);color:white;padding:19px 18px 14px;display:flex;flex-direction:column;min-height:calc(100vh - 52px)}.mj-sidebar-label{font-size:10px;letter-spacing:.15em;font-weight:900;color:#bca7d8;margin:1px 12px 12px}.mj-side-link{width:100%;border:0;background:transparent;color:#eee7f8;border-radius:6px;display:flex;align-items:center;gap:13px;text-align:left;padding:11px 12px;margin:2px 0;font-size:11px;font-weight:800;cursor:pointer}.mj-side-link span{width:18px;text-align:center;font-size:16px}.mj-side-link:hover,.mj-side-link.active{background:linear-gradient(90deg,#8238e8,#7131d2);color:white}.mj-sidebar-spacer{flex:1;min-height:35px}.mj-sidebar-promo{border:1px solid #694b8d;border-radius:9px;padding:13px;background:#ffffff08}.mj-promo-mark{font-size:21px;color:#e2b5ff}.mj-sidebar-promo strong{display:block;font-size:11px;margin:7px 0}.mj-sidebar-promo p{font-size:10px;line-height:1.5;color:#d8cbe8;margin:0 0 11px}.mj-sidebar-promo button{width:100%;border:0;border-radius:6px;background:#7d39e7;color:white;padding:9px;font-size:10px;font-weight:900;cursor:pointer}.mj-sidebar-footer{display:flex;align-items:center;gap:7px;color:#c6b4dc;font-size:9px;margin:16px 3px 0}.mj-sidebar-footer img{width:21px;height:21px;background:white;border-radius:5px;padding:2px}
.mj-dashboard-main{min-width:0;padding:22px 25px 42px}.mj-view[hidden]{display:none!important}.mj-home-grid{display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:19px;align-items:start}.mj-home-primary{min-width:0}.mj-welcome-banner{min-height:127px;border-radius:8px;padding:20px 26px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;background:linear-gradient(110deg,#43117f,#5415a7 65%,#6722bd);color:white;box-shadow:0 6px 18px #3a126622}.mj-welcome-copy{position:relative;z-index:2}.mj-banner-kicker{font-size:9px;letter-spacing:.17em;font-weight:900;color:#d9c2f5}.mj-welcome-banner h1{font:1000 clamp(23px,2vw,29px)/1.12 var(--display);margin:8px 0 5px;color:white}.mj-welcome-banner p{margin:0;color:#e7dafa;font-size:12px}.mj-banner-actions{display:flex;gap:9px;margin-top:14px;flex-wrap:wrap}.mj-banner-primary,.mj-banner-secondary{border-radius:6px;padding:9px 14px;font-size:10px;font-weight:900;cursor:pointer}.mj-banner-primary{background:white;border:1px solid white;color:#50138d}.mj-banner-secondary{background:transparent;border:1px solid #ffffff82;color:white}
.mj-banner-art{position:absolute;right:12px;top:0;bottom:0;width:235px;overflow:hidden}.mj-art-orbit{position:absolute;display:block;border-radius:50%;border:1px solid #ffffff25}.mj-orbit-one{width:178px;height:178px;right:6px;top:-27px}.mj-orbit-two{width:122px;height:122px;right:34px;top:0}.mj-art-book{position:absolute;right:62px;top:30px;width:75px;height:75px;border-radius:18px;background:white;display:grid;place-items:center;box-shadow:0 9px 28px #16072d55;transform:rotate(-7deg);padding:8px}.mj-art-book img{width:100%;height:100%;object-fit:contain}.mj-art-star{position:absolute;color:#ffd85d;font-size:26px}.mj-art-star.star-one{right:175px;top:25px}.mj-art-star.star-two{right:21px;bottom:22px;color:#b6efdc}.mj-art-chip{position:absolute;display:grid;place-items:center;border-radius:12px;font-weight:1000;box-shadow:0 6px 15px #19073555}.chip-one{right:17px;top:23px;width:34px;height:34px;background:#f2c441;color:#56308d}.chip-two{right:145px;bottom:18px;padding:7px 10px;background:#14b98c;color:white;font-size:10px}
.mj-section{margin-top:21px}.mj-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px}.mj-section-heading h2{font:1000 16px/1.2 var(--display);margin:0;color:#19152c}.mj-section-heading p{font-size:10px;color:var(--mj-muted);margin:4px 0 0}.mj-see-all,.mj-aside-heading button{border:0;background:transparent;color:#4e2a9c;font-size:10px;text-decoration:underline;font-weight:900;cursor:pointer}.mj-quiz-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mj-quiz-card{background:white;border:1px solid #e5e5ee;border-radius:8px;overflow:hidden;min-width:0;box-shadow:0 3px 10px #16102b08;transition:transform .16s,box-shadow .16s}.mj-quiz-card:hover{transform:translateY(-2px);box-shadow:0 9px 22px #21103a16}.mj-quiz-cover{height:77px;display:grid;place-items:center;position:relative;overflow:hidden;color:white;background:linear-gradient(135deg,#102b67,#237dcc)}.mj-quiz-cover span{font-size:33px;z-index:1;text-shadow:0 4px 10px #081b4866}.mj-quiz-cover i,.mj-quiz-cover b{position:absolute;display:block;border-radius:50%;background:#ffffff1c;width:130px;height:130px;right:-25px;top:-80px}.mj-quiz-cover b{width:76px;height:76px;right:15px;top:27px;background:#ffffff18}.mj-quiz-cover.cover-1{background:linear-gradient(135deg,#145448,#39a18c)}.mj-quiz-cover.cover-2{background:linear-gradient(135deg,#995019,#e9ac37)}.mj-quiz-cover.cover-3{background:linear-gradient(135deg,#376b42,#9acb64)}.mj-quiz-copy{padding:9px 10px}.mj-quiz-card-top{display:flex;align-items:center;justify-content:space-between;gap:5px}.mj-quiz-card-top strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mj-card-more{background:transparent;border:0;font-size:17px;color:#716b86;cursor:pointer}.mj-quiz-copy>small{display:block;color:#77748a;font-size:9px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mj-quiz-copy p{margin:5px 0 8px;color:#79758b;font-size:9px}.mj-quiz-card-actions{display:flex;gap:5px}.mj-quiz-card-actions button{border:0;border-radius:5px;padding:6px 7px;font-size:9px;font-weight:900;cursor:pointer;flex:1}.mj-card-play{background:#eee5fc;color:#4c1a94}.mj-card-edit{background:#f1f2f7;color:#343049}
.mj-section{margin-top:21px}.mj-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mj-quick-card{min-width:0;display:flex;align-items:center;gap:10px;text-align:left;background:white;border:1px solid #e3e2ec;border-radius:7px;padding:12px;cursor:pointer;color:var(--mj-ink)}.mj-quick-icon{width:37px;height:37px;display:grid;place-items:center;background:#7132d9;color:white;border-radius:9px;font-size:23px;flex:none}.mj-quick-card strong,.mj-quick-card small{display:block}.mj-quick-card strong{font-size:10px}.mj-quick-card small{font-size:9px;color:#7c788c;margin-top:3px;line-height:1.35}.mj-quick-card>b{margin-left:auto;color:#6b36be}
.mj-home-aside{display:grid;gap:12px}.mj-aside-panel{background:white;border:1px solid #e5e5ed;border-radius:8px;padding:12px 13px}.mj-aside-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.mj-aside-heading h2{font:1000 13px var(--display);margin:0}.mj-class-card{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #ececf2}.mj-class-icon{width:29px;height:29px;border-radius:7px;background:#246bc5;color:white;display:grid;place-items:center;flex:none}.mj-class-card>div{min-width:0;flex:1}.mj-class-card strong,.mj-class-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mj-class-card strong{font-size:10px}.mj-class-card small{font-size:9px;color:#77748a;margin-top:3px}.mj-class-card>b{font-size:10px}.mj-class-card button{border:0;background:transparent;cursor:pointer}.mj-report-row{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #ececf2}.mj-report-cover{width:31px;height:31px;border-radius:6px;display:grid;place-items:center;color:white;background:linear-gradient(135deg,#321064,#8642de)}.mj-report-row>div{min-width:0;flex:1}.mj-report-row strong,.mj-report-row small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mj-report-row strong{font-size:9px}.mj-report-row small{font-size:8px;color:#77748a}.mj-report-row>b{font-size:10px;color:#16955a}.mj-aside-empty{font-size:10px;color:#7b778b;padding:12px 0}.mj-aside-empty button{display:block;border:0;background:transparent;color:#5d28ae;font-weight:900;padding:8px 0;cursor:pointer}.mj-aside-note{display:flex;gap:9px;padding:12px;background:#f0eafa;border-radius:8px;color:#61468c;font-size:10px}.mj-aside-note p{margin:3px 0 0}
.mj-page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:20px}.mj-page-heading h1{font:1000 30px var(--display);margin:4px 0}.mj-page-heading p{margin:0;color:var(--mj-muted);font-size:12px}.mj-eyebrow{color:#8d7aa7;font-size:9px;letter-spacing:.15em;font-weight:1000}.mj-primary-button,.mj-outline-button{border-radius:7px;padding:10px 15px;font-size:11px;font-weight:900;cursor:pointer}.mj-primary-button{background:#4b1594;color:white;border:0;box-shadow:0 3px 0 #310d63}.mj-outline-button{background:white;border:1px solid #ddd6e9;color:#4b208f}.mj-library-grid,.mj-class-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:13px}.mj-class-large,.mj-mode-card{padding:18px;border:1px solid var(--mj-border);border-radius:10px;background:white}.mj-class-large h3{font:1000 18px var(--display);margin:12px 0 4px}.mj-class-large p{font-size:11px;color:var(--mj-muted)}.mj-class-code-label{font-size:9px;color:#888399;margin-top:15px}.mj-class-code{display:block;font:1000 24px var(--display);color:#4b1594;margin:4px 0 13px}.mj-inline-form{display:flex;gap:9px;flex-wrap:wrap;background:white;border:1px solid var(--mj-border);padding:14px;border-radius:9px;margin-bottom:18px}.mj-input{border:1px solid #dedde8;border-radius:7px;padding:11px 12px;background:white;color:var(--mj-ink);font:inherit;font-size:12px;outline:none;min-width:0}.mj-inline-form .mj-input{flex:1;min-width:180px}.mj-table-panel{background:white;border:1px solid var(--mj-border);border-radius:10px;overflow:hidden}.mj-table-scroll{overflow:auto}.mj-report-table{width:100%;border-collapse:collapse;font-size:11px;min-width:600px}.mj-report-table th{text-align:left;background:#f6f3fa;color:#746c84;padding:12px}.mj-report-table td{padding:13px 12px;border-top:1px solid #eeeaf3}.mj-report-table td small{display:block;color:#8a8597;margin-top:4px;font-size:9px}.mj-mode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:12px}.mj-mode-card{display:grid;gap:7px}.mj-mode-symbol{width:39px;height:39px;border-radius:10px;background:#eee6fa;color:#6028ad;display:grid;place-items:center;font-size:22px}.mj-mode-card strong{font-size:12px}.mj-mode-card small{font-size:10px;color:#7b778b}.mj-empty-card,.mj-loading-card{background:white;border:1px dashed #d8d1e4;border-radius:9px;padding:25px;text-align:center;color:#77748a;grid-column:1/-1;font-size:11px}.mj-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#24133e;color:white;padding:12px 17px;border-radius:9px;z-index:100;font-size:12px;font-weight:800}.mj-modal-backdrop{position:fixed;inset:0;background:#1a0a33aa;display:grid;place-items:center;padding:16px;z-index:70}.mj-roster-modal{width:min(480px,100%);max-height:90vh;overflow:auto;background:white;border-radius:15px;padding:22px;position:relative}.mj-roster-modal h2{font:1000 24px var(--display)}.mj-modal-close{position:absolute;right:15px;top:12px;border:0;background:#f1edf7;border-radius:7px;width:30px;height:30px;font-size:19px;cursor:pointer}.mj-invite-row{padding:12px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;gap:10px;font-size:12px}.mj-invite-row button{border:0;background:#f4eefb;color:#58279b;padding:7px;border-radius:6px;cursor:pointer}
.mj-editor-page{overflow:hidden;height:100vh}.mj-editor-layout{display:grid;grid-template-columns:254px minmax(400px,1fr) 330px;height:calc(100vh - 52px);min-height:480px}.mj-editor-user{font-size:11px;color:#e5d8f2}.mj-back-home{color:white;text-decoration:none;font-size:10px;font-weight:900;border:1px solid #ffffff66;padding:8px 10px;border-radius:6px}.mj-question-rail{background:linear-gradient(180deg,#241044,#321064);color:white;padding:0 14px 12px;display:flex;flex-direction:column;overflow-y:auto}.mj-rail-title{display:flex;align-items:center;gap:12px;padding:19px 3px 18px;border-bottom:1px solid #ffffff25;font-size:14px}.mj-rail-title a{width:25px;height:25px;border-radius:6px;background:#ffffff16;color:white;text-decoration:none;display:grid;place-items:center;font-size:23px}.mj-rail-caption{font-size:9px;letter-spacing:.14em;color:#cbb6e7;font-weight:900;margin:17px 8px 8px}.mj-question-types{display:grid;gap:3px}.mj-type-button{border:0;border-radius:6px;background:transparent;color:#eee6f8;display:flex;align-items:center;gap:10px;padding:9px;text-align:left;font-size:10px;font-weight:800;cursor:pointer;min-height:32px}.mj-type-button:hover,.mj-type-button.active{background:#7835db;color:white}.mj-type-button:disabled{opacity:.48;cursor:not-allowed}.mj-type-icon{width:18px;text-align:center;font-size:16px}.mj-type-button small{margin-left:auto;font-size:8px;color:#d6baf5}.mj-rail-bottom{display:flex;align-items:center;gap:9px;margin-top:auto;padding:13px 4px 3px;border-top:1px solid #ffffff23}.mj-rail-bottom strong,.mj-rail-bottom small{display:block}.mj-rail-bottom strong{font-size:10px}.mj-rail-bottom small{font-size:8px;color:#c8b5df}
.mj-editor-workspace{min-width:0;overflow-y:auto;padding:20px 24px 25px;background:#f7f8fb}.mj-editor-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:16px}.mj-editor-heading h1{font:1000 23px var(--display);margin:4px 0}.mj-quiz-meta{display:flex;gap:7px;flex-wrap:wrap}.mj-title-input,.mj-meta-input{border:1px solid #dfe0e9;background:white;border-radius:6px;padding:9px 10px;font:inherit;font-size:11px;min-width:0}.mj-title-input{width:220px;font-weight:800}.mj-meta-input{width:94px}.mj-grade-input{width:65px}.mj-question-card{background:white;border:1px solid #e1e3ec;border-radius:8px;padding:16px}.mj-question-header{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:800;margin-bottom:8px}.mj-saving-state{font-size:9px;color:#7b778c;font-weight:600}#question-prompt{width:100%;min-height:67px;border:1px solid #dce0e9;border-radius:6px;padding:11px 13px;resize:vertical;font:inherit;font-size:13px;line-height:1.4;color:#1e1a32;outline:none}.mj-media-preview{margin:10px 0;text-align:right}.mj-media-preview[hidden]{display:none}.mj-media-preview img{width:min(260px,100%);max-height:150px;object-fit:cover;border-radius:7px}.mj-media-preview button{display:block;margin:6px 0 0 auto;border:0;background:#321064;color:white;border-radius:5px;padding:5px 8px;font-size:9px;cursor:pointer}.mj-media-preview a{font-size:11px;color:#4f2191}.mj-question-time{display:grid;gap:5px;margin:13px 0 12px;width:min(235px,100%)}.mj-question-time label{font-size:10px;font-weight:900}.mj-question-time select{height:31px;border:1px solid #dfe1e9;background:white;border-radius:5px;padding:0 9px;font-size:11px}.mj-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mj-answer-option{display:flex;align-items:center;min-width:0;min-height:49px;border:1px solid;border-radius:6px;overflow:hidden}.mj-answer-option.red{border-color:#ed2446;background:#fff8f9}.mj-answer-option.blue{border-color:#1768d1;background:#f6f9ff}.mj-answer-option.yellow{border-color:#e7aa20;background:#fffcf4}.mj-answer-option.green{border-color:#15965d;background:#f4fbf7}.mj-answer-choice{width:45px;align-self:stretch;display:grid;place-items:center;position:relative;color:white;flex:none}.mj-answer-option.red .mj-answer-choice{background:#ed2446}.mj-answer-option.blue .mj-answer-choice{background:#1768d1}.mj-answer-option.yellow .mj-answer-choice{background:#edaa11}.mj-answer-option.green .mj-answer-choice{background:#15965d}.mj-answer-choice input{position:absolute;opacity:0;inset:0;cursor:pointer}.mj-answer-option .mj-answer-input{width:100%;min-width:0;align-self:stretch;border:0;background:transparent;padding:0 12px;font:inherit;font-size:11px;outline:none}.mj-answer-state{font-size:14px;color:#15965d;padding:0 9px}.mj-add-option{border:1px solid #dddde8;border-radius:6px;background:white;color:#4a2587;padding:8px 13px;margin-top:12px;font-size:10px;font-weight:800;cursor:pointer}.mj-add-option[hidden]{display:none}.mj-question-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #e9e9ef;margin-top:14px;padding-top:10px}.mj-question-footer>div{display:flex;gap:6px}.mj-add-question,.mj-footer-action{border:1px solid #e0e1e9;background:#fafbfe;color:#423b59;border-radius:5px;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer}.mj-footer-action{background:white;border-color:transparent}.mj-delete-action{color:#9e3545}
.mj-question-settings{background:white;border:1px solid #e3e4ec;border-radius:8px;margin:14px 17px 14px 0;padding:16px;display:flex;flex-direction:column;overflow:auto}.mj-question-settings h2{font:1000 14px var(--display);margin:0 0 18px}.mj-setting-label{display:block;font-size:10px;font-weight:900;margin:0 0 7px;color:#48445a}.mj-setting-select{width:100%;height:34px;border:1px solid #dfe0e9;border-radius:5px;background:white;color:#29253a;font:inherit;font-size:11px;padding:0 9px;margin:0 0 14px;min-width:0}.mj-setting-divider{border-top:1px solid #eee;margin:2px 0 15px}.mj-media-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-bottom:12px}.mj-media-actions button{border:1px solid #e5e3ed;background:#fbfbfe;border-radius:5px;min-height:49px;display:grid;place-items:center;gap:3px;color:#423c63;font-size:9px;cursor:pointer}.mj-media-actions button span{font-size:15px;color:#6542aa}.mj-media-actions button.active{border-color:#9062d1;background:#f2eafb}.mj-media-apply{border:0;background:#eee6f8;color:#562797;padding:8px;border-radius:5px;font-size:10px;font-weight:900;cursor:pointer;margin-top:-7px}.mj-editor-bottom-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:18px}.mj-save-button,.mj-preview-button{min-height:38px;border-radius:6px;font-size:10px;font-weight:900;cursor:pointer}.mj-save-button{background:#4c1598;border:1px solid #4c1598;color:white}.mj-preview-button{background:white;border:1px solid #dedce8;color:#4c2589}.mj-save-button:disabled{opacity:.6}.mj-editor-mobile-actions{display:none}.mj-nonscore-note{grid-column:1/-1;border:1px dashed #d8d0e7;border-radius:7px;padding:20px;background:#faf8fe;display:grid;gap:7px;color:#4c267e}.mj-correct-text-label{grid-column:1/-1;font-size:10px;font-weight:900;display:grid;gap:7px}.mj-preview-modal{position:fixed;inset:0;background:#18092fba;display:grid;place-items:center;padding:18px;z-index:100}.mj-preview-modal[hidden]{display:none}.mj-preview-box{background:white;border-radius:15px;padding:25px;width:min(620px,100%);position:relative}.mj-preview-box h2{font:1000 24px var(--display);margin:10px 0 17px}.mj-preview-close{position:absolute;right:13px;top:13px;border:0;background:#f1eef6;border-radius:7px;width:29px;height:29px;font-size:18px;cursor:pointer}.mj-preview-answers{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mj-preview-option{padding:15px;border-radius:7px;color:white;font-size:12px;font-weight:900}.mj-preview-option.red{background:#ed2446}.mj-preview-option.blue{background:#1768d1}.mj-preview-option.yellow{background:#edaa11;color:#2e2340}.mj-preview-option.green{background:#15965d}.mj-preview-text-answer{border:1px solid #ddd;padding:15px;border-radius:7px;font-size:12px;color:#827d8d}
@media(max-width:1250px){.mj-home-grid{grid-template-columns:minmax(0,1fr) 290px}.mj-quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mj-editor-layout{grid-template-columns:230px minmax(360px,1fr) 295px}.mj-editor-workspace{padding:17px}}
@media(max-width:980px){.mj-topbar{gap:10px;padding:0 13px}.mj-brand{min-width:auto}.mj-wordmark{font-size:16px}.mj-topnav{overflow:auto}.mj-topnav-link{padding:9px 7px;font-size:10px}.mj-top-actions{gap:5px}.mj-home-grid{grid-template-columns:1fr}.mj-home-aside{grid-template-columns:1fr 1fr}.mj-editor-layout{grid-template-columns:210px minmax(320px,1fr);overflow:auto}.mj-question-settings{grid-column:2;margin:0 15px 15px 0;min-height:280px}.mj-editor-page{height:auto;min-height:100vh;overflow:auto}.mj-editor-layout{height:auto;min-height:calc(100vh - 52px)}}
@media(max-width:680px){.mj-topbar{height:auto;min-height:54px;flex-wrap:wrap;padding:8px 11px}.mj-brand{flex:1}.mj-topnav{order:3;flex-basis:100%;justify-content:flex-start}.mj-profile-label{display:none}.mj-dashboard-layout{grid-template-columns:1fr}.mj-sidebar{min-height:auto;flex-direction:row;align-items:center;overflow:auto;padding:7px;gap:4px}.mj-sidebar-label,.mj-sidebar-spacer,.mj-sidebar-promo,.mj-sidebar-footer{display:none}.mj-side-link{white-space:nowrap;justify-content:center;padding:10px;font-size:10px;width:auto}.mj-dashboard-main{padding:13px}.mj-welcome-banner{padding:18px;min-height:150px}.mj-banner-art{opacity:.55;right:-65px}.mj-welcome-copy{max-width:78%}.mj-welcome-banner h1{font-size:23px}.mj-home-aside{grid-template-columns:1fr}.mj-quiz-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mj-quick-grid{grid-template-columns:1fr}.mj-editor-layout{display:flex;flex-direction:column;height:auto}.mj-question-rail{order:0;padding:0 10px 9px}.mj-rail-title{padding:11px 3px}.mj-rail-caption{margin:10px 5px 6px}.mj-question-types{grid-template-columns:repeat(2,minmax(0,1fr))}.mj-type-button{padding:8px;font-size:10px}.mj-editor-workspace{order:1;padding:13px}.mj-question-settings{order:2;margin:0 13px 14px}.mj-editor-heading{align-items:flex-start}.mj-title-input{width:100%}.mj-quiz-meta{width:100%}.mj-meta-input{flex:1}.mj-answer-grid{grid-template-columns:1fr}.mj-editor-mobile-actions{display:flex;gap:8px;margin-top:10px}.mj-editor-mobile-actions button{flex:1}.mj-editor-bottom-actions{display:none}.mj-preview-answers{grid-template-columns:1fr}.mj-create-top{padding:8px 10px}.mj-profile-button{gap:4px}}

/* Kahoot-inspired creator finish: bigger text, stronger spacing and icons */
.mj-editor-page{height:100vh;overflow:hidden;background:#f4f5f9}.mj-editor-topbar{height:62px;padding:0 22px;gap:18px}.mj-editor-topbar .mj-logo{width:40px;height:40px;border-radius:10px;padding:4px}.mj-editor-topbar .mj-wordmark{font-size:22px}.mj-editor-topbar .mj-topnav-link{font-size:12px;padding:10px 8px;gap:7px}.mj-top-actions{gap:9px}
.mj-editor-save-status{display:flex;align-items:center;gap:7px;color:#e3d8f3;font-size:11px;font-weight:800;margin-right:4px}.mj-status-dot{width:7px;height:7px;border-radius:50%;background:#f0c66a}.mj-status-dot.is-saved{background:#36d69a}.mj-status-dot.is-dirty{background:#f0c66a}
.mj-top-preview,.mj-editor-exit{border:1px solid #ffffff65;background:transparent;color:#fff;border-radius:7px;padding:9px 11px;font-size:11px;font-weight:900;cursor:pointer;text-decoration:none;white-space:nowrap}.mj-top-save{font-size:12px;padding:10px 16px}.mj-editor-settings-shortcut{width:34px;height:34px;border:0;border-radius:7px;background:#ffffff18;color:white;font-size:19px;cursor:pointer}
.mj-editor-layout{grid-template-columns:258px minmax(450px,1fr) 324px;height:calc(100vh - 62px);min-height:0}.mj-question-rail{padding:0 14px 12px}.mj-rail-title{padding:20px 4px 18px;gap:12px}.mj-rail-title strong{display:block;font-size:16px;line-height:1.2}.mj-rail-title small{display:block;font-size:9px;letter-spacing:.12em;color:#cbb7e7;font-weight:900;margin-top:5px}.mj-rail-title a{width:29px;height:29px;font-size:25px;flex:none}
.mj-rail-section-label{margin:16px 8px 8px;color:#c5b2dd;font-weight:1000;font-size:10px;letter-spacing:.12em}.mj-rail-opinion{margin-top:19px}.mj-rail-content{margin-top:16px}.mj-question-types{gap:4px}.mj-type-button{min-height:48px;padding:7px 9px;gap:10px;border-radius:7px;font-size:12px}.mj-type-icon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;flex:none;background:#ffffff12}.mj-type-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mj-type-button.active .mj-type-icon{background:#ffffff25}.mj-type-copy{min-width:0;display:block}.mj-type-copy strong,.mj-type-copy small{display:block}.mj-type-copy strong{font-size:12px;font-weight:900;line-height:1.2}.mj-type-copy small{font-size:9px;color:#c9b9df;margin-top:3px;font-weight:600;line-height:1.2}.mj-type-button.active .mj-type-copy small{color:#eee4fc}.mj-type-disabled{opacity:.56}.mj-lock{margin-left:auto;font-size:12px;color:#dac4f4}.mj-rail-bottom{padding-top:12px}.mj-rail-bottom img{width:27px;height:27px;border-radius:6px;background:#fff;padding:3px}.mj-rail-bottom strong{font-size:11px}.mj-rail-bottom small{font-size:9px}
.mj-editor-workspace{padding:22px 24px 26px;overflow:auto;background:#f5f6fa}.mj-editor-heading{align-items:flex-end;margin-bottom:15px;gap:16px}.mj-editor-heading-title{min-width:175px}.mj-editor-heading h1{font-size:26px;line-height:1.12;margin:5px 0}.mj-editor-heading p{font-size:12px;color:#77748a;margin:5px 0 0;line-height:1.35}.mj-eyebrow{font-size:10px;letter-spacing:.14em}.mj-quiz-meta{gap:9px;flex:1;justify-content:flex-end}.mj-meta-field{display:grid;gap:5px;min-width:90px}.mj-meta-field>span{font-size:10px;font-weight:900;color:#625c72}.mj-title-field{min-width:200px;flex:1}.mj-title-input,.mj-meta-input{height:40px;padding:0 12px;font-size:13px;border-radius:7px}.mj-title-input{width:100%}.mj-meta-input{width:100%}.mj-grade-field{max-width:76px;min-width:72px}
.mj-question-navigator{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:0 0 10px;margin-bottom:2px;scrollbar-width:thin}.mj-question-tab{display:flex;align-items:center;gap:8px;flex:none;border:1px solid #dedee8;background:white;border-radius:7px;padding:7px 10px;color:#5c566f;font-size:11px;font-weight:800;cursor:pointer;min-width:100px}.mj-question-tab.active{border-color:#7837d7;background:#f2eafa;color:#4c168d;box-shadow:0 0 0 2px #7837d718}.mj-question-tab.dragging{opacity:.4}.mj-question-tab-number{width:23px;height:23px;display:grid;place-items:center;background:#eeeaf4;border-radius:6px;color:#5e4b82;font-size:11px;font-weight:1000}.mj-question-tab.active .mj-question-tab-number{background:#7133d7;color:white}.mj-question-tab-label{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mj-question-tab-state{margin-left:auto;color:#15965d}.mj-question-tab-add{min-width:auto;border-style:dashed;color:#4d1e92;background:#fbf9fe}
.mj-question-card{border-radius:10px;padding:19px 19px 15px;box-shadow:0 3px 12px #20123908}.mj-question-header{font-size:13px;margin-bottom:13px}.mj-question-heading-left{display:flex;align-items:center;gap:9px}.mj-question-count-icon{width:26px;height:26px;border-radius:7px;background:#eee6fa;color:#632dab;display:grid;place-items:center;font-size:14px}.mj-question-heading-left strong{font-size:13px}.mj-question-type-pill{background:#f2eef7;color:#6a5488;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:900}.mj-saving-state{font-size:10px}
.mj-prompt-media-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,265px);gap:14px;align-items:start}.mj-prompt-column{min-width:0}.mj-prompt-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:900;color:#554d68;margin-bottom:7px}.mj-prompt-label span{font-size:10px;color:#90899d;font-weight:700}#question-prompt{min-height:94px;padding:13px 15px;font-size:16px;line-height:1.45;border-radius:7px;resize:vertical}#question-prompt::placeholder{color:#a09bad}
.mj-question-time{margin:13px 0 0;width:min(235px,100%);gap:6px}.mj-question-time label{font-size:11px}.mj-question-time select{height:39px;border-radius:6px;padding:0 11px;font-size:13px}
.mj-media-stage{min-height:157px;border:1px dashed #c6c2d3;border-radius:8px;background:linear-gradient(180deg,#faf9fd,#f4f1f8);display:grid;place-items:center;overflow:hidden}.mj-media-placeholder{width:100%;height:157px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#706881;cursor:pointer;padding:12px}.mj-media-placeholder[hidden]{display:none}.mj-media-plus{width:36px;height:36px;border-radius:9px;background:white;box-shadow:0 2px 8px #28134312;display:grid;place-items:center;font-size:25px;color:#6530a7}.mj-media-placeholder strong{font-size:12px;color:#413751}.mj-media-placeholder small{font-size:10px;color:#8c859b;text-align:center;line-height:1.35}.mj-media-choose{font-size:10px;color:#6430a5;text-decoration:underline;font-weight:900}
.mj-media-preview{margin:0;width:100%;height:100%;min-height:157px;display:grid;place-items:center;text-align:center;padding:8px;position:relative}.mj-media-preview[hidden]{display:none}.mj-question-media-image{max-width:100%;max-height:145px;object-fit:contain;border-radius:6px}.mj-question-media-video{width:100%;max-height:145px;border-radius:6px}.mj-media-embed{width:100%;aspect-ratio:16/9}.mj-media-embed iframe{width:100%;height:100%;border:0;border-radius:6px}.mj-media-link-preview{color:#5c299b;font-size:11px;font-weight:900;overflow-wrap:anywhere}
.mj-answer-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0 10px}.mj-answer-section-heading strong{font-size:12px}.mj-answer-section-heading span{font-size:10px;color:#858094}.mj-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.mj-answer-option{min-height:57px;border-radius:7px}.mj-answer-choice{width:52px;min-width:52px}.mj-answer-choice span{font-size:20px}.mj-answer-option .mj-answer-input{font-size:14px;padding:0 14px}.mj-answer-state{font-size:17px;min-width:34px}.mj-answer-state svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.5}
.mj-add-option{padding:10px 15px;margin-top:13px;font-size:12px;border-radius:7px}.mj-question-footer{margin-top:17px;padding-top:13px}.mj-add-question,.mj-footer-action{padding:10px 14px;font-size:12px;border-radius:6px}.mj-add-question span,.mj-footer-action span{font-size:14px;margin-right:5px}.mj-delete-action{color:#a93849}.mj-editor-bottom-note{display:flex;align-items:flex-start;gap:7px;color:#878195;font-size:10px;line-height:1.45;margin:12px 2px 0}.mj-editor-bottom-note span{color:#7740c0;font-size:13px}
.mj-question-settings{margin:14px 16px 14px 0;padding:18px 17px;border-radius:10px;box-shadow:0 3px 12px #20123908}.mj-settings-title{display:flex;align-items:center;gap:9px;margin-bottom:21px}.mj-settings-title h2{font-size:16px;margin:0}.mj-settings-icon{width:30px;height:30px;border-radius:8px;background:#eee7f8;color:#5e2da5;display:grid;place-items:center;font-size:17px}.mj-setting-label{font-size:12px;margin-bottom:7px}.mj-setting-select{height:41px;border-radius:7px;font-size:13px;padding:0 11px;margin-bottom:18px}.mj-setting-divider{margin:2px 0 17px}.mj-media-actions{gap:7px;margin-bottom:14px}.mj-media-actions button{min-height:64px;border-radius:7px;font-size:10px;font-weight:800}.mj-media-icon{font-size:18px}.mj-media-actions button.active{border-color:#8755cb;background:#f0e8fa;color:#4d1a91;box-shadow:0 0 0 2px #8755cb16}.mj-media-url-input{margin-bottom:8px}.mj-media-apply{padding:10px;border-radius:6px;font-size:11px;margin-top:0}.mj-media-hint{font-size:10px;color:#8a8498;line-height:1.45;margin-top:8px}.mj-editor-bottom-actions{padding-top:18px;gap:9px}.mj-save-button,.mj-preview-button{min-height:43px;border-radius:7px;font-size:12px}.mj-correct-text-label{font-size:12px;gap:8px}.mj-correct-text-label input{max-width:420px;min-height:43px;font-size:14px}.mj-nonscore-note{min-height:75px;grid-template-columns:34px 1fr;align-items:center;padding:17px}.mj-nonscore-note-icon{width:30px;height:30px;border-radius:8px;background:#eee7f8;display:grid;place-items:center;font-size:17px;color:#5c299b}.mj-nonscore-note strong{font-size:12px}.mj-nonscore-note small{font-size:11px;line-height:1.45}.mj-preview-box{padding:30px}.mj-preview-box h2{font-size:27px;line-height:1.3}.mj-preview-media{margin:10px 0 15px}.mj-preview-media img{max-height:190px;max-width:100%;object-fit:contain;border-radius:7px}.mj-preview-media video{max-width:100%;max-height:190px}.mj-preview-media iframe{width:100%;aspect-ratio:16/9;border:0}.mj-preview-answers{gap:10px}.mj-preview-option{padding:17px;font-size:14px;border-radius:8px}
@media(max-width:1420px){.mj-editor-layout{grid-template-columns:235px minmax(400px,1fr) 300px}.mj-question-settings{padding:15px}.mj-topnav-link{padding:9px 7px;font-size:11px}.mj-editor-heading h1{font-size:24px}}
@media(max-width:1150px){.mj-editor-topbar{gap:9px;padding:0 12px}.mj-editor-topbar .mj-brand{min-width:auto}.mj-editor-topbar .mj-wordmark{font-size:17px}.mj-editor-topbar .mj-topnav-link{font-size:10px;padding:8px 5px}.mj-editor-save-status{display:none}.mj-editor-layout{grid-template-columns:220px minmax(320px,1fr)}.mj-question-settings{grid-column:2;margin:0 15px 15px 0;min-height:310px}.mj-editor-page{height:auto;min-height:100vh;overflow:auto}.mj-editor-layout{height:auto;min-height:calc(100vh - 62px)}.mj-editor-workspace{overflow:visible}}
@media(max-width:700px){.mj-editor-topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:8px 11px}.mj-editor-topbar .mj-brand{flex:1}.mj-editor-topbar .mj-topnav{order:3;flex-basis:100%;overflow-x:auto}.mj-top-actions{margin-left:auto}.mj-top-preview{display:none}.mj-editor-layout{display:flex;flex-direction:column;height:auto}.mj-question-rail{padding:0 10px 9px;order:0}.mj-rail-title{padding:11px 3px}.mj-rail-section-label{margin:10px 4px 6px}.mj-question-types{grid-template-columns:repeat(2,minmax(0,1fr))}.mj-type-button{min-height:54px;padding:7px}.mj-editor-workspace{order:1;padding:13px}.mj-editor-heading{align-items:flex-start}.mj-quiz-meta{width:100%;justify-content:flex-start}.mj-title-field{flex-basis:100%}.mj-prompt-media-row{grid-template-columns:1fr}.mj-media-stage{min-height:130px}.mj-question-settings{order:2;margin:0 13px 14px;min-height:340px}.mj-answer-grid{grid-template-columns:1fr}.mj-question-footer{flex-wrap:wrap}.mj-question-footer>div{margin-left:auto}.mj-editor-bottom-actions{display:none}.mj-editor-mobile-actions{display:flex}.mj-question-tab{min-width:88px}.mj-preview-answers{grid-template-columns:1fr}}
.mj-dashboard .mj-topnav-link{font-size:12px}.mj-dashboard .mj-side-link{font-size:13px;padding:12px}.mj-dashboard .mj-welcome-banner h1{font-size:clamp(27px,2.2vw,33px)}.mj-dashboard .mj-welcome-banner p{font-size:14px}.mj-dashboard .mj-section-heading h2{font-size:18px}.mj-dashboard .mj-section-heading p{font-size:11px}.mj-dashboard .mj-quiz-copy strong{font-size:12px}.mj-dashboard .mj-quiz-copy>small,.mj-dashboard .mj-quiz-copy p{font-size:10px}.mj-dashboard .mj-quick-card strong{font-size:12px}.mj-dashboard .mj-quick-card small{font-size:10px}.mj-dashboard .mj-aside-heading h2{font-size:14px}.mj-dashboard .mj-class-card>div strong{font-size:11px}.mj-dashboard .mj-class-card>div small,.mj-dashboard .mj-report-row strong{font-size:10px}.mj-dashboard .mj-report-row small{font-size:9px}
.student-media,.host-question-media{margin:12px 0;text-align:center}.student-media img,.host-question-media img{max-width:100%;max-height:250px;object-fit:contain;border-radius:10px;background:#fff}.student-media a,.host-question-media a{display:inline-flex;padding:9px 12px;border-radius:7px;background:#f1eafa;color:#4b188e;font-size:12px;font-weight:800}
@media(max-width:700px){.mj-editor-topbar .mj-wordmark{font-size:17px}.mj-editor-exit{display:none}.mj-editor-save-status{display:none}}

/* Exact Kahoot-reference proportions: 1536px desktop layout */
.mj-editor-page{height:100vh;min-height:480px;overflow:hidden;background:#f5f6fa}
.mj-editor-topbar{height:52px;min-height:52px;padding:0 24px;gap:18px}
.mj-editor-topbar .mj-brand{min-width:225px;gap:7px}
.mj-editor-topbar .mj-logo{width:30px;height:30px;border-radius:7px;padding:3px}
.mj-editor-topbar .mj-wordmark{font-size:20px}
.mj-editor-topbar .mj-topnav{gap:6px}
.mj-editor-topbar .mj-topnav-link{padding:9px 10px;font-size:11px;gap:7px}
.mj-editor-topbar .mj-topnav-link span{font-size:15px}
.mj-editor-topbar .mj-top-actions{gap:12px}
.mj-create-active{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-width:86px}
.mj-editor-settings-shortcut{width:31px;height:31px;border:0;border-radius:6px;background:transparent;color:white;font-size:19px;cursor:pointer}
.mj-editor-settings-shortcut:hover{background:#ffffff20}
.mj-editor-hidden-actions{display:none!important}
.mj-editor-topbar .mj-profile-button{font-size:11px;gap:8px}
.mj-editor-topbar .mj-profile-button>span:first-child{width:30px;height:30px}
.mj-editor-layout{grid-template-columns:254px minmax(0,1fr) 330px;height:calc(100vh - 52px);min-height:0}
.mj-question-rail{padding:0 11px 10px;background:linear-gradient(180deg,#241044,#321064);overflow-y:auto;overflow-x:hidden}
.mj-rail-title{height:55px;min-height:55px;padding:0 8px;gap:11px;border-bottom:0}
.mj-rail-title a{width:24px;height:24px;font-size:22px}
.mj-rail-title strong{font-size:15px}
.mj-rail-title small{display:none}
.mj-rail-section-label{display:none}
.mj-question-types{display:grid;gap:1px}
.mj-type-button{min-height:32px;height:32px;padding:4px 9px;gap:9px;border-radius:5px;font-size:12px}
.mj-type-icon{width:20px;height:20px;border-radius:4px;background:transparent}
.mj-type-icon svg{width:17px;height:17px;stroke-width:1.8}
.mj-type-button.active .mj-type-icon{background:#ffffff1c}
.mj-type-copy strong{font-size:12px;line-height:1.15;font-weight:750}
.mj-type-copy small{display:none}
.mj-type-button .mj-lock{font-size:9px}
.mj-type-button:hover{background:#ffffff16}
.mj-type-button.active{background:#7430c9}
.mj-import-from{height:35px;min-height:35px;width:100%;margin-top:auto;border:0;border-top:1px solid #ffffff25;border-radius:0;background:transparent;color:#f5eefc;display:flex;align-items:center;gap:10px;padding:7px 10px;text-align:left;font-size:11px;font-weight:800;cursor:not-allowed}
.mj-import-icon{width:20px;text-align:center;font-size:17px}
.mj-import-from small{margin-left:auto;color:#c4afd9;font-size:8px}
.mj-rail-bottom{display:none}
.mj-editor-workspace{min-width:0;min-height:0;padding:24px 24px 12px;overflow:auto;background:#f5f6fa}
.mj-editor-heading{display:none!important}
.mj-question-navigator{display:none!important}
.mj-quiz-meta{display:none!important}
#quiz-title-mount{margin-left:auto;display:flex;align-items:center;min-width:0}
#quiz-title-mount .mj-title-field{display:block;min-width:180px;width:260px;max-width:38vw}
#quiz-title-mount .mj-title-field>span{display:none}
#quiz-title-mount .mj-title-input{height:31px;width:100%;border:1px solid #e0deea;border-radius:5px;padding:0 9px;font-size:11px;font-weight:800;background:#fff}
#quiz-title-mount .mj-title-input::placeholder{color:#8c8798}
.mj-question-card{height:420px;min-height:420px;max-height:calc(100vh - 82px);padding:12px 15px 11px;border:1px solid #e1e3ec;border-radius:7px;box-shadow:0 2px 8px #20123908;display:flex;flex-direction:column;overflow:hidden}
.mj-question-header{height:27px;min-height:27px;display:flex;align-items:center;margin:0 0 7px;padding:0 1px;font-size:11px}
.mj-question-heading-left{gap:7px}
.mj-question-count-icon{width:19px;height:19px;border-radius:4px;font-size:11px}
.mj-question-heading-left strong{font-size:11px}
.mj-question-type-pill{font-size:9px;padding:3px 6px}
.mj-saving-state{display:none}
.mj-prompt-media-row{height:157px;min-height:157px;grid-template-columns:minmax(0,1fr) 260px;gap:16px}
.mj-prompt-column{display:flex;flex-direction:column;min-width:0}
.mj-prompt-label{font-size:10px;margin:0 0 5px}
.mj-prompt-label span{font-size:9px}
#question-prompt{height:67px;min-height:67px;max-height:67px;resize:none;border-radius:5px;padding:9px 11px;font-size:13px;line-height:1.4}
.mj-question-time{width:235px;margin:10px 0 0;gap:4px}
.mj-question-time label{font-size:10px}
.mj-question-time select{height:31px;border-radius:5px;padding:0 8px;font-size:11px}
.mj-media-stage{height:145px;min-height:145px;border:1px dashed #c8c5d4;border-radius:5px;background:#f8f8fc}
.mj-media-placeholder{height:143px;gap:5px;padding:8px}
.mj-media-plus{width:28px;height:28px;border-radius:6px;font-size:20px}
.mj-media-placeholder strong{font-size:11px}
.mj-media-placeholder small{font-size:9px}
.mj-media-choose{font-size:9px}
.mj-media-preview{min-height:143px;padding:5px}
.mj-question-media-image{max-height:135px}
.mj-answer-section-heading{margin:13px 0 7px}
.mj-answer-section-heading strong{font-size:11px}
.mj-answer-section-heading span{font-size:9px}
.mj-answer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 12px}
.mj-answer-option{min-height:54px;height:54px;border-radius:5px}
.mj-answer-choice{width:43px;min-width:43px}
.mj-answer-choice span{font-size:17px}
.mj-answer-option .mj-answer-input{font-size:12px;padding:0 10px}
.mj-answer-state{font-size:14px;min-width:28px;padding:0 7px}
.mj-add-option{height:31px;min-height:31px;align-self:flex-start;padding:6px 12px;margin-top:10px;font-size:10px;border-radius:5px}
.mj-question-footer{height:35px;min-height:35px;margin-top:auto;padding-top:7px;border-top:1px solid #e9e9ef;align-items:center}
.mj-add-question,.mj-footer-action{height:29px;padding:5px 10px;font-size:10px;border-radius:4px}
.mj-editor-bottom-note{display:none}
.mj-editor-mobile-actions{display:none!important}
.mj-question-settings{width:auto;min-width:0;min-height:0;height:calc(100% - 26px);max-height:calc(100vh - 78px);margin:13px 24px 13px 0;padding:15px 15px 12px;border:1px solid #e1e3ec;border-radius:7px;box-shadow:0 2px 8px #20123908;overflow:auto}
.mj-settings-title{height:24px;min-height:24px;margin:0 0 13px;gap:8px}
.mj-settings-icon{width:24px;height:24px;border-radius:5px}
.mj-settings-icon svg{width:15px;height:15px}
.mj-settings-title h2{font-size:13px}
.mj-setting-label{font-size:10px;margin:0 0 5px;color:#454156}
.mj-setting-select{height:32px;min-height:32px;padding:0 8px;margin:0 0 10px;border-radius:5px;font-size:11px}
.mj-setting-divider{margin:1px 0 11px}
.mj-media-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 9px}
.mj-media-actions button{height:52px;min-height:52px;border-radius:5px;font-size:9px;gap:2px}
.mj-media-icon{width:17px;height:17px}
.mj-media-icon svg{width:16px;height:16px}
.mj-media-actions button span{font-size:15px}
.mj-setting-label[for="media-url"]{display:none}
.mj-media-url-input{height:29px;min-height:29px;margin-bottom:6px;font-size:10px}
.mj-media-apply{height:25px;min-height:25px;padding:4px 8px;font-size:9px;border-radius:4px}
.mj-media-hint{display:none}
.mj-editor-bottom-actions{margin-top:auto;padding-top:13px;gap:8px}
.mj-save-button,.mj-preview-button{height:37px;min-height:37px;font-size:10px;border-radius:5px}
@media(max-width:1250px){
 .mj-editor-layout{grid-template-columns:235px minmax(0,1fr) 315px}
 .mj-question-settings{margin-right:14px;padding:13px}
 .mj-prompt-media-row{grid-template-columns:minmax(0,1fr) 220px;gap:12px}
 #quiz-title-mount .mj-title-field{width:210px}
}
@media(max-width:980px){
 .mj-editor-topbar{padding:0 12px;gap:8px}
 .mj-editor-topbar .mj-brand{min-width:160px}
 .mj-editor-topbar .mj-topnav{overflow:auto}
 .mj-editor-topbar .mj-topnav-link{font-size:10px;padding:8px 5px}
 .mj-editor-layout{grid-template-columns:210px minmax(0,1fr)}
 .mj-question-settings{grid-column:2;width:auto;height:auto;max-height:none;margin:0 14px 14px 0}
 .mj-editor-page{height:auto;min-height:100vh;overflow:auto}
 .mj-editor-layout{height:auto;min-height:calc(100vh - 52px)}
 .mj-editor-workspace{padding:14px;overflow:visible}
 .mj-question-card{height:auto;max-height:none;min-height:420px}
 .mj-prompt-media-row{grid-template-columns:minmax(0,1fr) 220px}
}
@media(max-width:680px){
 .mj-editor-topbar{height:auto;min-height:55px;flex-wrap:wrap;padding:7px 10px}
 .mj-editor-topbar .mj-brand{flex:1;min-width:0}
 .mj-editor-topbar .mj-topnav{order:3;flex-basis:100%;overflow:auto}
 .mj-editor-topbar .mj-top-actions{margin-left:auto}
 .mj-editor-layout{display:flex;flex-direction:column;height:auto}
 .mj-question-rail{order:0;padding:0 9px 8px}
 .mj-rail-title{height:44px;min-height:44px}
 .mj-question-types{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
 .mj-type-button{height:34px;min-height:34px}
 .mj-import-from{margin-top:8px}
 .mj-editor-workspace{order:1;padding:12px}
 #quiz-title-mount{width:100%}
 #quiz-title-mount .mj-title-field{width:100%;max-width:none}
 .mj-question-card{height:auto;min-height:0;padding:13px}
 .mj-prompt-media-row{height:auto;min-height:0;grid-template-columns:1fr}
 .mj-prompt-column{min-height:140px}
 .mj-media-stage{height:135px;min-height:135px}
 .mj-answer-grid{grid-template-columns:1fr}
 .mj-question-settings{order:2;margin:0 12px 12px;height:auto;max-height:none}
 .mj-editor-bottom-actions{display:grid}
}

/* Question creator: exact top-to-bottom Kahoot authoring flow */
.mj-editor-workspace{padding-top:13px}
.mj-question-card{height:490px;min-height:490px;max-height:calc(100vh - 72px);padding:13px 16px 11px;display:flex;flex-direction:column;overflow:hidden}
.mj-question-header{height:27px;min-height:27px;margin-bottom:9px}
.mj-question-heading-left{gap:8px}
.mj-question-heading-left strong{font-size:12px}
#quiz-title-mount{margin-left:auto;display:flex;align-items:center;min-width:0}
#quiz-title-mount .mj-title-field{display:block;min-width:190px;width:245px;max-width:32vw}
#quiz-title-mount .mj-title-field>span{display:none}
#quiz-title-mount .mj-title-input{height:30px;width:100%;border:1px solid #e0deea;border-radius:5px;padding:0 9px;font-size:11px;font-weight:800;background:#fff}
.mj-question-prompt-block{width:100%;min-width:0}
.mj-prompt-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:900;color:#554d68;margin:0 0 6px}
.mj-prompt-label span{font-size:10px;color:#90899d;font-weight:700}
#question-prompt{display:block;width:100%;height:65px;min-height:65px;max-height:65px;padding:10px 12px;font-size:14px;line-height:1.4;border:1px solid #dce0e9;border-radius:6px;resize:none;background:#fff}
#question-prompt:focus{border-color:#8a53d8;box-shadow:0 0 0 3px #8a53d81c;outline:none}
.mj-media-middle{width:100%;display:flex;justify-content:center;align-items:center;padding:12px 0 13px;min-height:0}
.mj-media-stage{width:min(620px,100%);height:145px;min-height:145px;margin:0 auto;border:1px dashed #c8c5d4;border-radius:6px;background:#fafafd;display:grid;place-items:center;overflow:hidden}
.mj-media-placeholder{height:143px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;background:transparent;color:#706881;cursor:pointer;padding:8px}
.mj-media-placeholder:hover{background:#f5f1fb}
.mj-media-plus{width:31px;height:31px;border-radius:7px;background:white;box-shadow:0 2px 8px #28134312;display:grid;place-items:center;font-size:23px;color:#6530a7}
.mj-media-placeholder strong{font-size:12px;color:#413751}
.mj-media-placeholder small{font-size:10px;color:#8c859b;text-align:center;line-height:1.35}
.mj-media-choose{font-size:10px;color:#6430a5;text-decoration:underline;font-weight:900}
.mj-media-preview{margin:0;width:100%;height:100%;min-height:143px;display:grid;place-items:center;text-align:center;padding:6px;position:relative}
.mj-media-preview[hidden]{display:none}
.mj-question-media-image{max-width:100%;max-height:133px;object-fit:contain;border-radius:5px}
.mj-question-media-video{width:100%;max-height:133px;border-radius:5px}
.mj-answer-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding-top:0}
.mj-answer-section-heading strong{font-size:12px}
.mj-answer-section-heading span{font-size:10px;color:#858094}
.mj-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 11px}
.mj-answer-option{height:52px;min-height:52px;border-radius:5px}
.mj-answer-choice{width:44px;min-width:44px}
.mj-answer-choice span{font-size:18px}
.mj-answer-option .mj-answer-input{font-size:13px;padding:0 11px}
.mj-answer-state{font-size:15px;min-width:29px;padding:0 7px}
.mj-add-option{height:30px;min-height:30px;align-self:flex-start;padding:5px 12px;margin-top:9px;font-size:10px;border-radius:5px}
.mj-question-footer{height:35px;min-height:35px;margin-top:auto;padding-top:6px;border-top:1px solid #e9e9ef;align-items:center}
.mj-add-question,.mj-footer-action{height:28px;padding:5px 10px;font-size:10px;border-radius:4px}
.mj-question-time{display:none!important}
@media(max-width:980px){
 .mj-question-card{height:auto;min-height:0;max-height:none;overflow:visible}
 .mj-media-stage{width:min(620px,100%)}
 .mj-question-settings{grid-column:2}
}
@media(max-width:680px){
 .mj-editor-layout{display:flex;flex-direction:column}
 .mj-question-card{height:auto;min-height:0;padding:13px;overflow:visible}
 #quiz-title-mount{width:100%}
 #quiz-title-mount .mj-title-field{width:100%;max-width:none}
 .mj-media-stage{height:135px;min-height:135px}
 .mj-answer-grid{grid-template-columns:1fr}
 .mj-question-footer{height:auto;min-height:35px;flex-wrap:wrap}
}

/* FULL-PAGE QUESTION CREATOR — no sidebars, media between prompt and answers */
.mj-editor-page{height:100vh;min-height:620px;overflow:hidden;background:#f4f5f9}
.mj-fullpage-topbar{height:58px;min-height:58px;display:flex;align-items:center;gap:15px;padding:0 23px;background:linear-gradient(100deg,#2e0d5c,#40127c 55%,#321064)}
.mj-back-button{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:7px;background:#ffffff18;color:white;text-decoration:none}
.mj-back-button:hover{background:#ffffff2b}
.mj-back-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mj-fullpage-topbar .mj-brand{min-width:190px;gap:8px}
.mj-fullpage-topbar .mj-logo{width:33px;height:33px;padding:3px;border-radius:7px;background:white}
.mj-fullpage-topbar .mj-wordmark{font-size:20px}
.mj-fullpage-topbar #quiz-title-mount{display:flex;align-items:center;min-width:150px;max-width:440px;flex:1}
.mj-fullpage-topbar #quiz-title-mount .mj-title-field{display:block;width:100%;min-width:140px;max-width:100%}
.mj-fullpage-topbar #quiz-title-mount .mj-title-field>span{display:none}
.mj-fullpage-topbar #quiz-title-mount .mj-title-input{width:100%;height:36px;border:1px solid #ffffff55;border-radius:6px;background:#ffffff14;color:white;padding:0 12px;font-size:13px;font-weight:800;outline:none}
.mj-fullpage-topbar #quiz-title-mount .mj-title-input::placeholder{color:#dfd2ee}
.mj-fullpage-topbar #quiz-title-mount .mj-title-input:focus{border-color:#d6b7ff;background:#ffffff20}
.mj-fullpage-topbar .mj-top-actions{display:flex;align-items:center;gap:9px;margin-left:auto}
.mj-fullpage-topbar .mj-editor-save-status{display:flex;align-items:center;gap:7px;color:#e9def7;font-size:10px;white-space:nowrap}
.mj-fullpage-topbar .mj-top-preview{height:36px;padding:0 13px;border:1px solid #ffffff65;background:transparent;color:white;border-radius:6px;font-size:11px;font-weight:900}
.mj-fullpage-topbar .mj-top-save{height:36px;min-width:92px;padding:0 16px;border:0;border-radius:6px;font-size:11px;font-weight:900}
.mj-fullpage-topbar .mj-editor-settings-shortcut{width:34px;height:34px;background:#ffffff16;border-radius:6px}
.mj-fullpage-topbar .mj-profile-button{font-size:11px}
.mj-fullpage-topbar .mj-profile-button>span:first-child{width:31px;height:31px}
.mj-editor-layout.mj-fullpage-layout{display:block;width:100%;height:calc(100vh - 58px);min-height:0;overflow:auto}
.mj-editor-layout>.mj-question-rail[hidden],.mj-editor-layout>.mj-question-settings[hidden]{display:none!important}
.mj-editor-workspace{width:100%;min-width:0;min-height:100%;padding:20px clamp(18px,3.1vw,52px) 32px;margin:0;overflow:visible;background:#f4f5f9}
.mj-editor-heading{display:none!important}
.mj-question-navigator{display:flex!important;align-items:center;gap:8px;width:100%;max-width:1440px;margin:0 auto 12px;padding:0 0 5px;overflow-x:auto}
.mj-question-tab{height:36px;min-width:92px;padding:5px 10px;font-size:11px}
.mj-question-tab-add{min-width:100px}
.mj-editor-controls-inline{width:100%;max-width:1440px;margin:0 auto 14px;padding:10px 12px;display:flex;align-items:flex-end;gap:12px;background:white;border:1px solid #e4e2ed;border-radius:8px;box-shadow:0 2px 7px #21123908}
.mj-inline-setting{display:flex;flex-direction:column;gap:5px;min-width:150px;flex:1}
.mj-inline-setting label{display:block;margin:0;font-size:10px;font-weight:900;color:#5e586d}
.mj-inline-setting select{width:100%;height:36px;min-height:36px;margin:0;padding:0 10px;border:1px solid #dedce8;border-radius:6px;background:white;color:#262236;font-size:12px}
.mj-inline-setting:first-child{max-width:360px;flex:1.5}
.mj-question-card{width:100%;max-width:1440px;height:auto;min-height:0;max-height:none;margin:0 auto;padding:19px 22px 15px;border:1px solid #e2e2eb;border-radius:9px;background:white;box-shadow:0 3px 14px #1b12300a;display:flex;flex-direction:column;overflow:visible}
.mj-question-header{height:32px;min-height:32px;margin:0 0 12px;padding:0 1px;font-size:12px}
.mj-question-heading-left{gap:9px}
.mj-question-count-icon{width:24px;height:24px;border-radius:6px;font-size:14px}
.mj-question-heading-left strong{font-size:13px}
.mj-question-type-pill{padding:4px 8px;font-size:10px}
.mj-saving-state{display:block;margin-left:auto;color:#817a90;font-size:10px}
.mj-question-prompt-block{width:100%;margin:0 0 12px}
.mj-prompt-label{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin:0 0 7px;color:#413a53}
#question-prompt{width:100%;height:72px;min-height:72px;max-height:120px;padding:12px 14px;resize:vertical;border:1px solid #dedde8;border-radius:7px;background:white;color:#1b172c;font-size:15px;line-height:1.45}
#question-prompt:focus{outline:none;border-color:#8b58d3;box-shadow:0 0 0 3px #8b58d31a}
.mj-media-middle{width:100%;display:flex;align-items:center;justify-content:center;padding:4px 0 17px}
.mj-media-stage{position:relative;width:min(790px,100%);height:220px;min-height:220px;margin:0 auto;border:1px dashed #c5c2d1;border-radius:8px;background:#f7f7fb;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:0;overflow:hidden}
.mj-media-placeholder{height:100%;min-height:210px;width:100%;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;cursor:pointer}
.mj-media-placeholder:hover{background:#f2eef8}
.mj-media-plus{width:43px;height:43px;display:grid;place-items:center;border-radius:10px;background:white;box-shadow:0 2px 9px #29134212;color:#6c38b3;font-size:29px}
.mj-media-placeholder strong{font-size:14px;color:#332b45}
.mj-media-placeholder small{font-size:11px;color:#817b90}
.mj-media-choose{font-size:11px;color:#6130a6;font-weight:900;text-decoration:underline}
.mj-media-preview{width:100%;height:auto;min-height:0;max-height:220px;display:grid;place-items:center;padding:7px}
.mj-media-preview[hidden]{display:none}
.mj-question-media-image{max-width:100%;max-height:190px;object-fit:contain;border-radius:7px}
.mj-question-media-video{max-width:100%;max-height:190px;border-radius:7px}
.mj-media-tools-inline{width:100%;max-width:790px;margin:10px auto 0;padding:0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.mj-media-tools-inline .mj-media-actions{display:flex;gap:5px;margin:0}
.mj-media-tools-inline .mj-media-actions button{width:58px;height:47px;min-height:47px;border:1px solid #e5e2ed;border-radius:6px;background:white;display:grid;place-items:center;gap:1px;font-size:9px;color:#50496a;cursor:pointer}
.mj-media-tools-inline .mj-media-actions button.active{border-color:#8c5cce;background:#f4eefb;color:#4a1a88}
.mj-media-tools-inline .mj-media-actions .mj-media-icon{font-size:17px;color:#6541a4}
.mj-media-tools-inline label[for="media-url"]{display:none!important}
.mj-media-tools-inline #media-url{display:block;flex:1;min-width:170px;height:37px;min-height:37px;margin:0;padding:0 11px;border:1px solid #e0deea;border-radius:6px;background:white;font-size:11px}
.mj-media-tools-inline #apply-media{height:37px;min-height:37px;padding:0 13px;margin:0;border:0;border-radius:6px;background:#eee6f8;color:#522395;font-size:10px;font-weight:900}
.mj-answer-section-heading{width:100%;display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0}
.mj-answer-section-heading strong{font-size:13px}
.mj-answer-section-heading span{font-size:10px;color:#80798d}
.mj-answer-grid{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mj-answer-option{width:100%;height:76px;min-height:76px;border-radius:7px}
.mj-answer-choice{width:58px;min-width:58px}
.mj-answer-choice span{font-size:21px}
.mj-answer-option .mj-answer-input{font-size:15px;padding:0 15px}
.mj-answer-state{min-width:42px;padding:0 12px;font-size:18px}
.mj-add-option{align-self:flex-start;height:37px;min-height:37px;padding:0 14px;margin-top:12px;border-radius:6px;font-size:11px}
.mj-question-footer{height:46px;min-height:46px;margin-top:16px;padding-top:10px;border-top:1px solid #ebe9f0;align-items:center}
.mj-add-question,.mj-footer-action{height:34px;padding:0 13px;border-radius:6px;font-size:11px}
.mj-editor-bottom-note{display:none}
.mj-editor-mobile-actions{display:none!important}
.mj-question-settings{display:none!important}
.mj-toast{z-index:100}
@media(max-width:980px){
 .mj-fullpage-topbar{gap:8px;padding:0 12px}
 .mj-fullpage-topbar .mj-brand{min-width:auto}
 .mj-fullpage-topbar .mj-wordmark{font-size:17px}
 .mj-fullpage-topbar #quiz-title-mount{max-width:260px}
 .mj-fullpage-topbar .mj-editor-save-status{display:none}
 .mj-editor-workspace{padding:15px 16px 28px}
 .mj-question-card{padding:15px}
 .mj-answer-option{height:66px;min-height:66px}
}
@media(max-width:680px){
 .mj-editor-page{height:auto;min-height:100vh;overflow:auto}
 .mj-fullpage-topbar{height:auto;min-height:58px;flex-wrap:wrap;padding:8px 10px}
 .mj-back-button{width:31px;height:31px}
 .mj-fullpage-topbar .mj-brand{flex:1;min-width:0}
 .mj-fullpage-topbar .mj-logo{width:29px;height:29px}
 .mj-fullpage-topbar .mj-wordmark{font-size:16px}
 .mj-fullpage-topbar #quiz-title-mount{order:5;flex-basis:100%;max-width:none}
 .mj-fullpage-topbar #quiz-title-mount .mj-title-field{width:100%}
 .mj-fullpage-topbar .mj-top-actions{gap:5px}
 .mj-fullpage-topbar .mj-profile-label,.mj-fullpage-topbar .mj-editor-settings-shortcut{display:none}
 .mj-fullpage-topbar .mj-top-preview{display:none}
 .mj-fullpage-topbar .mj-top-save{height:32px;min-width:75px;padding:0 10px}
 .mj-editor-layout.mj-fullpage-layout{height:auto;min-height:calc(100vh - 58px);overflow:visible}
 .mj-editor-workspace{padding:12px}
 .mj-question-navigator{margin-bottom:9px}
 .mj-editor-controls-inline{gap:7px;padding:9px;flex-wrap:wrap}
 .mj-inline-setting{min-width:calc(50% - 7px)}
 .mj-inline-setting:first-child{max-width:none;flex:1 1 100%}
 .mj-question-card{padding:12px}
 .mj-question-header{margin-bottom:10px}
 .mj-media-stage{height:185px;min-height:185px}
 .mj-media-placeholder{min-height:175px}
 .mj-media-tools-inline{gap:6px}
 .mj-media-tools-inline .mj-media-actions{flex:1 1 100%}
 .mj-media-tools-inline .mj-media-actions button{flex:1;width:auto}
 .mj-media-tools-inline #media-url{min-width:0}
 .mj-answer-grid{grid-template-columns:1fr}
 .mj-answer-option{height:60px;min-height:60px}
 .mj-question-footer{height:auto;min-height:40px;flex-wrap:wrap;gap:7px}
}
