.mg-leave-notice{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:1000;width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:12px 16px;border:1px solid #e3c590;border-radius:12px;background:#fffaf0;box-shadow:0 8px 24px #1f344924;color:#1f3449;font-size:15px;line-height:1.4;pointer-events:none}.mg-leave-notice b{display:block;color:#a35c0b}.mg-leave-warning{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;color:var(--team-ink, #172a47);font-size:14px;line-height:1.45;text-align:left}.mg-leave-warning>span{flex:none;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-top:1px;border:1.5px solid #a35c0b;border-radius:50%;color:#a35c0b;font:italic 700 12px/1 Georgia,Times New Roman,serif}.mg-leave-board-slot{min-height:38px;margin:8px 0 0}.mg-leave-board-slot .mg-leave-board{margin:0}.mg-question-meta .mg-leave-board-slot{display:flex;align-items:center;min-height:0;margin:0 0 0 16px}.mg-question-meta .mg-leave-board{margin:0;white-space:nowrap}.mg-leave-board{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:8px 0 0}.mg-leave-board strong{color:#a35c0b;font-size:1.05em;display:inline-flex;align-items:center;gap:8px}.mg-leave-board strong i{width:10px;height:10px;border-radius:50%;background:#a35c0b}.mg-leave-board ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.mg-leave-board li{display:inline-flex;gap:10px;align-items:baseline;padding:6px 12px;border:1px solid #e3c590;border-radius:10px;background:#fcefd9}.mg-leave-board li b{color:#a35c0b;font-variant-numeric:tabular-nums;font-size:.9em}.mg-leave-clock{display:block;color:#a35c0b;font-weight:700;font-size:.85em;font-variant-numeric:tabular-nums}.mg-stats .mg-leave-card b,.mg-leave-card b{color:#a35c0b}.mg-leave-cell{color:#a35c0b;font-weight:700;white-space:nowrap}.mg-leave-cell-none,.mg-leave-cell-missing{color:var(--team-ink, #172a47);font-weight:400;white-space:nowrap}.mg-leave-badge{color:#a35c0b;font-style:normal;font-weight:700}.mg-leave-details{display:grid;gap:6px;margin:8px 0 12px}.mg-leave-row{display:grid;grid-template-columns:minmax(96px,auto) minmax(80px,1fr) minmax(0,auto);gap:12px;align-items:center}.mg-leave-bar{position:relative;height:10px;border-radius:5px;background:#f1e3cc;overflow:hidden}.mg-leave-bar i{position:absolute;top:0;bottom:0;border-radius:5px;background:#a35c0b}.mg-leave-details small{color:var(--team-ink, #172a47)}@media(max-width:560px){.mg-leave-row{grid-template-columns:1fr;gap:4px}}.mg-launch-dialog .mg-launch-title{margin:0 0 8px;font-weight:700}.mg-launch-setting{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:14px 0;border-top:1px solid #e5ddd0;cursor:pointer}.mg-launch-setting span{display:grid;gap:4px}.mg-launch-setting small{color:var(--team-ink, #172a47);line-height:1.4}.mg-launch-setting input{flex:none;width:44px;height:24px;margin-top:2px;accent-color:#2f6c5c}.mg-launch-actions{display:flex;justify-content:flex-end;padding-top:14px;border-top:1px solid #e5ddd0}.mg-stats.mg-stats-leaves{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:560px){.mg-stats.mg-stats-leaves{grid-template-columns:repeat(2,minmax(0,1fr))}}.mg-leave-team{display:grid;gap:10px}.mg-leave-team h2{margin:0}.mg-leave-team-card{display:flex}.mg-leave-team-card .mg-leave-card{display:grid;gap:2px;min-width:180px;padding:12px 16px;border:1px solid #e3c590;border-radius:12px;background:#fffaf0}.mg-leave-team-card .mg-leave-card b{font-size:28px;line-height:1.1}.mg-leave-team .mg-hint{margin:0}.mg-leave-team-player p{margin:6px 0 0}.mg-leave-team-player .mg-leave-badge{margin-left:6px}.mg-root.mg-viewer.tg-leave-launch{width:min(640px,calc(100vw - 24px));margin:auto}.mg-root.mg-viewer.tg-leave-launch .mg-viewer-content{display:block}.team-leave-pill{flex:none;display:inline-flex;align-items:center;margin-inline-start:auto;padding:4px 12px;border-radius:999px;background:#e9e6df;color:#3d4652;font:700 clamp(14px,1.1vw,20px)/1.3 var(--team-sans, system-ui, sans-serif);white-space:nowrap}.tl-leave-summary{display:grid;gap:8px;margin:0 0 12px}.tl-leave-summary .tl-muted{margin:0}.tl-leave-details summary{cursor:pointer}.tl-leave-details ul{margin:6px 0 0;padding-left:18px;color:#1f3449;font-weight:400;white-space:normal}.mg-launch-dialog .mg-launch-note{margin:0 0 8px;color:var(--team-ink, #172a47)}dialog.tg-leave-launch{width:min(640px,calc(100vw - 24px));max-height:calc(100vh - 24px);margin:auto;padding:0;border:2px solid #526673;border-radius:16px;background:#fffdf8;color:#1f3449}dialog.tg-leave-launch[open]{display:flex;flex-direction:column}dialog.tg-leave-launch::backdrop{background:#19384ca6}dialog.tg-leave-launch>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px;border-bottom:1px solid #7d8b85;flex:none}dialog.tg-leave-launch>header h2{margin:0;font-size:24px}dialog.tg-leave-launch .mg-viewer-content{display:block;padding:18px;overflow:auto}dialog.tg-leave-launch .mg-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:12px 19px;border:1px solid #a7b2ad;border-radius:11px;background:#fffdf8;color:#1f3449;font:inherit;font-weight:650;cursor:pointer}dialog.tg-leave-launch .mg-button:disabled{color:var(--text-placeholder, #4f4b45);background:#e9e6df;cursor:default}dialog.tg-leave-launch .mg-primary{background:#b73d24;border-color:#b73d24;color:#fff;box-shadow:0 4px #99371f}dialog.tg-leave-launch .mg-alert{color:#9a341f}.quiz-math-content{display:block;min-width:0;max-width:100%;overflow-wrap:anywhere}.quiz-math-lines{white-space:pre-line}.quiz-math-content.quiz-math-content :is(.latex-inline,.latex-display){max-width:100%;padding:.35em .1em;box-sizing:border-box;overflow:hidden;line-height:normal;vertical-align:middle}.quiz-math-content.quiz-math-content :is(.latex-inline,.latex-display){padding-inline:max(.1em,2px)}.quiz-math-content.quiz-math-content .latex-inline{display:inline-block;overflow:visible;padding-block:0;line-height:1;vertical-align:baseline}.quiz-math-content .latex-display{display:block}.quiz-math-content.quiz-math-content .katex{font-size:1em}.quiz-math-content :is(.katex,.katex-html){white-space:nowrap}.quiz-math-content .latex-inline-punctuated{white-space:nowrap}.quiz-math-content.quiz-math-content .latex-inline-punctuated>.latex-inline:not(.latex-fraction){padding-inline-end:0}
