/* Shared material, light and depth for MiTaX on desktop and touch screens. */
:root{--mx-surface:rgba(255,255,255,.86);--mx-ink:#1b304d;--mx-blue:#2464c9;--mx-stroke:rgba(96,137,194,.18);--mx-shadow:0 12px 38px rgba(36,66,111,.07),0 1px 3px rgba(36,66,111,.04)}
body{background-color:#f2f6fc;-webkit-font-smoothing:antialiased}
:is(.cPanel,.mcLandingFeatures>button,.mcBannerAdminCard,.mcStudyCard){border:1px solid var(--mx-stroke);box-shadow:var(--mx-shadow);border-radius:22px}
:is(.cButton,.btn,.mcLandingFeatures>button){transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
:is(.cButton,.btn):focus-visible{outline:3px solid #548be0;outline-offset:3px}
:is(.cButton,.btn):disabled{cursor:wait;opacity:.62}
@media(hover:hover){:is(.cButton,.btn):not(:disabled):hover{box-shadow:0 5px 15px rgba(36,80,149,.13);transform:translateY(-1px)}.mcLandingFeatures>button:hover{border-color:#9cbbe8;box-shadow:0 15px 40px rgba(36,80,149,.1)}}
.mcLandingHero{isolation:isolate}.mcLandingCopy h1{letter-spacing:-.045em;text-wrap:balance}.mcLandingCopy p{line-height:1.75}
.mxHomeQuote{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;gap:26px;padding:27px 34px;margin:0 0 28px;border:1px solid #eadde7;border-radius:25px;background:linear-gradient(115deg,#fffafa 0%,#f7edf6 62%,#eef2fd 100%);color:#69516d;box-shadow:0 9px 32px #6c47770a}
.mxHomeQuote:after{content:"";position:absolute;width:240px;height:240px;right:-80px;top:-145px;background:radial-gradient(ellipse,#d9b6d46e,transparent 70%);z-index:-1}
.mxHomeQuote[data-theme=sky]{background:linear-gradient(115deg,#f8fcff,#e8f2fe 65%,#eff8f5);border-color:#d8e5f3;color:#315c7e}
.mxHomeQuote[data-theme=dawn]{background:linear-gradient(115deg,#fffaf1,#fceadf 65%,#fff3ed);border-color:#eedfd1;color:#855f46}
.mxQuoteFlower{width:62px;height:72px;flex:none;color:#9c7799}.mxHomeQuote .eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.17em;opacity:.72;margin-bottom:9px}.mxHomeQuote blockquote{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(20px,2.1vw,28px);font-style:italic;line-height:1.4;text-wrap:balance}.mxQuoteSign{display:block;font:600 10px/1.5 system-ui;letter-spacing:.11em;opacity:.6;margin-top:10px}
.mxQuoteDialog{box-sizing:border-box;width:min(760px,calc(100% - 28px));max-height:88dvh;border:1px solid #dfe7f2;border-radius:26px;padding:28px;background:#fbfcff;color:var(--mx-ink);box-shadow:0 30px 100px #0d244642;overflow:auto}.mxQuoteDialog::backdrop{background:#14274770;backdrop-filter:blur(7px)}.mxQuoteDialog header,.mxQuoteDialog footer{display:flex;align-items:center;justify-content:space-between;gap:18px}.mxQuoteDialog h2{font-size:24px;letter-spacing:-.035em;margin:6px 0}.mxQuoteDialog .eyebrow{font-size:10px;letter-spacing:.15em;color:#617697}.mxQuoteList{display:grid;gap:10px;margin:22px 0}.mxQuoteRow{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:12px;padding:12px;background:white;border:1px solid #dfe7f2;border-radius:16px}.mxQuoteRow:has(input:checked){border-color:#8faee0;background:#f0f6ff}.mxQuoteRow input{accent-color:#2864bc;width:18px;height:18px}.mxQuoteDialog textarea,.mxQuoteDialog select{box-sizing:border-box;width:100%;font:inherit;border:1px solid #d9e3f1;border-radius:10px;padding:10px;color:inherit;background:white;resize:vertical}.mxQuoteRow textarea{border-color:transparent;background:transparent}.mxQuoteDialog label{font-size:13px;font-weight:650}.mxQuoteAdd{display:grid;gap:9px}.mxQuoteAdd button{justify-self:start}.mxQuoteTheme{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:15px;margin:20px 0}.mxQuoteFeedback{font-size:13px;color:#ab452b;min-height:1em}.mxQuoteDialog footer{border-top:1px solid #e2e9f3;padding-top:18px}.mxQuoteDialog .cMuted{font-size:13px;line-height:1.6}.mxQuoteClose{font-size:24px!important}
/* The pinned notice already covers desktop; keep per-question notices for mobile. */
.mxHomeQuote blockquote{overflow-wrap:anywhere}
.mxHomeQuote{margin-top:24px}.mxGoogleSetup{border:1px solid #dce5f2;border-radius:14px;padding:15px;margin:16px 0;font-size:14px;line-height:1.65}.mxGoogleSetup summary{font-weight:700;cursor:pointer;color:#245eac}.mxGoogleSetup li{margin:9px 0}.mxGoogleSetup a{color:#2464c9;text-decoration:underline}
@media(min-width:901px){#examView .question .mxExamAiNote{display:none!important}body.mitaxExamTaking #examWorkspace .paper{border-radius:24px}body.mitaxExamTaking #examWorkspace .question{padding-top:22px}}
body.mitaxExamTaking #examWorkspace .submitBar{background:rgba(251,253,255,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.mitaxExamTaking #examWorkspace .option input:checked+label,body.mitaxExamTaking .tfchoice input:checked+label{box-shadow:0 0 0 1px #6495d8,0 3px 10px #2e64b512}
@media(max-width:600px){.mxHomeQuote{padding:22px;gap:16px;border-radius:21px;margin-bottom:20px}.mxQuoteFlower{width:42px;height:58px}.mxQuoteDialog{padding:20px;border-radius:21px}.mxQuoteDialog h2{font-size:21px}.mxQuoteRow{grid-template-columns:20px 1fr;gap:8px}.mxQuoteRow button{grid-column:2;justify-self:end}.mxQuoteDialog footer{align-items:stretch;flex-direction:column}.mxQuoteTheme{grid-template-columns:1fr;gap:8px}}
@media(prefers-reduced-motion:reduce){:is(.cButton,.btn,.mcLandingFeatures>button){transition:none;transform:none!important}}
@media(prefers-reduced-transparency:reduce){.mxQuoteDialog{background:#fbfcff}.mxQuoteDialog::backdrop{backdrop-filter:none}body.mitaxExamTaking #examWorkspace .submitBar{background:#fbfdff;backdrop-filter:none}}

/* 5.5: quiet seasonal decoration; pointer events never reach this layer. */
.mxAtmosphereLayer{position:fixed;inset:0;z-index:12;overflow:hidden;pointer-events:none!important;user-select:none;contain:strict}.mxAtmosphereLayer *{pointer-events:none!important}.mxFallingPiece{position:absolute;left:var(--x);top:-38px;width:var(--size);height:var(--size);opacity:.5;will-change:transform;animation:mxSeasonFall var(--duration) linear var(--delay) infinite;background-size:contain;background-position:center;background-repeat:no-repeat}
.mxAtmosphereLayer[data-scene=christmas] .mxFallingPiece{border-radius:50%;background:radial-gradient(circle,#fff 20%,#b1dcfc 80%,transparent);box-shadow:0 0 6px #a9d5fa80;opacity:.65}
.mxAtmosphereLayer[data-scene=rose] .mxFallingPiece{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23d989a8' stroke='%23b9658c' stroke-width='.5'%3E%3Cellipse cx='20' cy='11' rx='7' ry='10'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='10' transform='rotate(72 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='10' transform='rotate(144 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='10' transform='rotate(216 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='10' transform='rotate(288 20 20)'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='3' fill='%23f5df9f'/%3E%3C/svg%3E")}
.mxAtmosphereLayer[data-scene=spring] .mxFallingPiece{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='%23efc54b' stroke='%23d6aa31' stroke-width='.6'%3E%3Cellipse cx='20' cy='11' rx='7' ry='9'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='9' transform='rotate(72 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='9' transform='rotate(144 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='9' transform='rotate(216 20 20)'/%3E%3Cellipse cx='20' cy='11' rx='7' ry='9' transform='rotate(288 20 20)'/%3E%3C/g%3E%3Ccircle cx='20' cy='20' r='3' fill='%23c38032'/%3E%3C/svg%3E")}
@keyframes mxSeasonFall{from{transform:translate3d(0,-5vh,0) rotate(0)}to{transform:translate3d(var(--drift),110vh,0) rotate(var(--turn))}}
body[data-mx-atmosphere=christmas] :is(.mcLandingHero,.mcGateShell){box-shadow:inset 0 0 0 1px #fff,inset 0 0 44px #a6d9ff3d,0 12px 40px #5587b410;border-color:#cce5f7}
.mxWaterRibbon{position:absolute;left:-25%;bottom:-115px;width:150%;height:195px;border-radius:48% 50% 0 0;background:linear-gradient(170deg,#b2e4ef75,#91cbe43b);transform-origin:center;animation:mxWaterDrift 18s ease-in-out infinite alternate}.mxWaterRibbon.is-second{bottom:-142px;left:-30%;height:235px;opacity:.6;animation-duration:23s;animation-direction:alternate-reverse;background:linear-gradient(170deg,#e1f9fc99,#aed2ed55)}.mxWaterLight{position:absolute;inset:auto 0 0;height:30px;background:linear-gradient(transparent,#e8fbff66)}@keyframes mxWaterDrift{from{transform:translate3d(-3%,0,0) rotate(-2deg)}to{transform:translate3d(4%,-9px,0) rotate(2deg)}}
.mxHomeQuote{min-height:180px;padding:30px 38px;gap:32px;background:radial-gradient(ellipse at 95% 0,#e4d5ee80,transparent 48%),linear-gradient(115deg,#fffafa,#f9f0f7 64%,#eef2fc);border-radius:28px;box-shadow:0 14px 40px #78517f0b,inset 0 1px #fff}.mxHomeQuote:before{content:'“';position:absolute;font:150px/1 Georgia,serif;color:currentColor;opacity:.045;top:2px;right:31px;z-index:-1}.mxQuoteArt{width:74px;height:110px;flex:none;color:#a880a1;opacity:.85}.mxQuoteArt svg{width:100%;height:100%}.mxQuoteContent{min-width:0;width:100%}.mxHomeQuote .eyebrow{font-size:11px;letter-spacing:.16em;color:inherit}.mxHomeQuote blockquote{font-size:clamp(23px,2.4vw,33px);font-weight:400;line-height:1.42;letter-spacing:-.02em;max-width:920px;min-height:1.4em}.mxQuoteBottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}.mxQuoteSign{margin:0;font-size:11px;letter-spacing:.13em}.mxQuoteControls{display:flex;align-items:center;gap:7px}.mxQuoteControls>span{font:600 11px/1.5 system-ui;font-variant-numeric:tabular-nums;letter-spacing:.07em;margin-right:5px;opacity:.7}.mxQuoteControls button{display:grid;place-items:center;min-width:32px;min-height:32px;border:1px solid #cdb9d04a;border-radius:50%;background:#ffffff8c;color:inherit;font:16px/1 system-ui;cursor:pointer}.mxQuoteControls button:focus-visible{outline:3px solid #6a81c3;outline-offset:3px}.mxQuoteControls button:hover{background:white}.mxHomeSound{position:fixed;bottom:24px;left:24px;z-index:60;padding:11px 17px;border:1px solid #d4deec;border-radius:999px;background:#ffffffed;color:#294e78;font:600 13px/1.4 system-ui;box-shadow:0 5px 24px #24487416;cursor:pointer;backdrop-filter:blur(12px)}.mxHomeSound:focus-visible{outline:3px solid #548be0;outline-offset:3px}
.mxHomeStudio{width:min(860px,calc(100% - 28px))}.mxHomeStudio [hidden]{display:none!important}.mxStudioTabs{display:flex;padding:5px;border-radius:16px;background:#eaf0f9;margin:22px 0}.mxStudioTabs button{flex:1;border:0;border-radius:12px;padding:11px 10px;background:none;font:650 14px/1.4 system-ui;color:#5c708d;cursor:pointer}.mxStudioTabs button[aria-pressed=true]{background:white;color:#244c83;box-shadow:0 2px 9px #27497112}.mxQuoteOptions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;background:#f0f5fd;border-radius:14px}.mxQuoteOptions label{display:flex;align-items:center;gap:10px;font-size:14px}.mxQuoteOptions select{width:auto}.mxQuoteOptions input,.mxStudioSwitch input{accent-color:#2a68c8}.mxStudioSwitch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;font-size:16px!important}.mxStudioSwitch span{display:grid;gap:6px}.mxStudioSwitch small{font:400 13px/1.6 system-ui;color:#687d97}.mxStudioSwitch input{width:23px;height:23px;flex:none}.mxSeasonChoices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mxSeasonChoice{display:grid;grid-template-columns:52px 1fr 18px;gap:13px;align-items:center;padding:17px;border:1px solid #dce5f1;background:#fff;border-radius:18px;cursor:pointer}.mxSeasonChoice:has(input:checked){background:#f0f6ff;border-color:#8caee3;box-shadow:0 0 0 1px #8caee3}.mxSeasonChoice b{font-size:15px}.mxSeasonChoice small{display:block;font:400 12px/1.5 system-ui;color:#6a7d96;margin-top:5px}.mxSeasonChoice input{width:17px;height:17px;accent-color:#2966c5}.mxSeasonSample{height:53px;width:53px;display:grid;place-items:center;border-radius:15px;font-size:32px;background:#f7edf4}.mxSeasonSample:after{content:'✿';color:#c787a5}.mxSeasonChoice[data-scene=spring] .mxSeasonSample{background:#fff8de}.mxSeasonChoice[data-scene=spring] .mxSeasonSample:after{color:#d9ad26}.mxSeasonChoice[data-scene=christmas] .mxSeasonSample{background:#ebf7ff}.mxSeasonChoice[data-scene=christmas] .mxSeasonSample:after{content:'❄';color:#78b0dd}.mxSeasonChoice[data-scene=water] .mxSeasonSample{background:#e7f5fb}.mxSeasonChoice[data-scene=water] .mxSeasonSample:after{content:'≈';font-size:43px;color:#62a9c5}.mxMusicUpload{padding:24px;background:linear-gradient(140deg,#f2f7ff,#f7f4fb);border:1px solid #dfe7f3;border-radius:20px}.mxMusicUpload h3{overflow-wrap:anywhere;font-size:18px;margin:12px 0}.mxFileLabel{display:inline-flex;align-items:center;gap:10px;padding:11px 14px;background:white;border:1px solid #d7e3f3;border-radius:11px;color:#265b9d;cursor:pointer}.mxFileLabel input{max-width:240px;font:12px/1.5 system-ui}.mxMusicUpload progress{width:100%;height:9px;margin:12px 0;accent-color:#3371c4}.mxVolumeLabel{display:flex;align-items:center;gap:14px;margin:22px 0;font-size:14px!important}.mxVolumeLabel input{flex:1;accent-color:#3270c6}.mxVolumeLabel span{min-width:3em;text-align:right}
@media(max-width:600px){.mxHomeQuote{min-height:160px;padding:25px 22px;gap:17px;border-radius:23px}.mxQuoteArt{width:43px;height:80px}.mxHomeQuote blockquote{font-size:23px}.mxHomeQuote .eyebrow{font-size:10px;letter-spacing:.1em}.mxQuoteBottom{align-items:flex-start;flex-direction:column;gap:13px}.mxQuoteSign{font-size:10px}.mxQuoteControls{align-self:flex-end}.mxHomeSound{left:14px;bottom:88px;font-size:12px;padding:10px 13px}.mxSeasonChoices{grid-template-columns:1fr}.mxHomeStudio h2{font-size:21px}.mxQuoteOptions{align-items:flex-start;flex-direction:column}.mxMusicUpload{padding:18px}.mxFileLabel{display:grid}.mxFileLabel input{max-width:210px}.mxVolumeLabel{flex-wrap:wrap}.mxVolumeLabel input{min-width:130px}}
@media(prefers-reduced-motion:reduce){.mxAtmosphereLayer{display:none!important}.mxHomeQuote *{animation:none!important;transition:none!important}}
@media print{.mxAtmosphereLayer,.mxHomeSound,.mxQuoteControls{display:none!important}}
.mxAtmosphereLayer[data-scene=water]{opacity:.6}.mxWaterRibbon{height:155px;bottom:-130px}.mxWaterRibbon.is-second{height:185px;bottom:-158px}
@media(max-width:600px){.mxHomeSound{bottom:18px}.mxHomeSound[data-surface=student]{bottom:88px}}
