/* Ruang Belajar MT · tampilan akun */
html.mt-locked body > :not(#mtGate):not(.mt-sheet-wrap):not(.toast):not(#toast) { visibility: hidden; }
html.mt-locked, html.mt-locked body { overflow: hidden; }
#mtGate { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 16px; overflow-y: auto;
  background: radial-gradient(1200px 600px at 10% -10%, #7F1D1D 0%, transparent 60%), radial-gradient(900px 500px at 110% 110%, #1E3A8A 0%, transparent 55%), #0B1120;
  color: #F8FAFC; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
.mt-card { width: 100%; max-width: 420px; background: rgba(15, 23, 42, .78); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 26px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mt-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.mt-brand b { display: block; font-size: 17px; } .mt-brand small { color: #94A3B8; font-size: 12.5px; }
.mt-seal { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #B91C1C; color: #FFF7ED; font: 700 24px "Noto Sans SC", "PingFang SC", serif; flex: none; }
#mtGate h1 { font-size: 24px; margin: 4px 0 6px; letter-spacing: -.01em; }
.mt-sub { color: #CBD5E1; font-size: 14px; line-height: 1.55; margin: 0 0 14px; }
#mtGate form { display: grid; gap: 12px; }
#mtGate label, .mt-lab { display: grid; gap: 6px; font-size: 13px; color: #CBD5E1; font-weight: 600; }
#mtGate input { width: 100%; box-sizing: border-box; font-family: inherit; color: #F8FAFC; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 12px 14px; outline: none; }
#mtGate input:focus { border-color: #F59E0B; box-shadow: 0 0 0 3px rgba(245, 158, 11, .25); }
#mtId, #mtFid { text-transform: uppercase; letter-spacing: .08em; }
.mt-pw { display: flex; gap: 8px; align-items: center; } .mt-pw input { flex: 1; }
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer;
  background: linear-gradient(135deg, #F59E0B, #DC2626); color: #fff; text-decoration: none; min-height: 46px; }
.mt-btn:disabled { opacity: .6; cursor: wait; }
.mt-btn.ghost { background: rgba(148, 163, 184, .14); color: inherit; border: 1px solid rgba(148, 163, 184, .28); }
.mt-btn.sm { padding: 8px 10px; min-height: 0; font-size: 12.5px; flex: none; }
.mt-btn.danger { background: #B91C1C; width: 100%; margin-top: 12px; }
.mt-link { background: none; border: 0; color: #FCD34D; font-weight: 600; font-size: 13.5px; font-family: inherit; cursor: pointer; padding: 6px 2px; text-decoration: none; }
.mt-row { display: flex; justify-content: center; margin-top: 10px; }
.mt-foot { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 16px; padding-top: 10px; }
.mt-msg { min-height: 0; font-size: 13.5px; line-height: 1.45; border-radius: 10px; }
.mt-msg:not(:empty) { padding: 10px 12px; }
.mt-msg.bad:not(:empty) { background: rgba(220, 38, 38, .18); color: #FECACA; border: 1px solid rgba(248, 113, 113, .35); }
.mt-msg.good:not(:empty) { background: rgba(16, 185, 129, .16); color: #A7F3D0; border: 1px solid rgba(52, 211, 153, .35); }
.mt-caps { font-size: 12.5px; color: #FCD34D; }
.mt-warn { background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .4); color: #FDE68A; border-radius: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; margin-bottom: 12px; display: grid; gap: 8px; }
.mt-warn .mt-btn { justify-self: start; }
.mt-meter { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mt-meter i { display: block; height: 100%; width: 0; background: #DC2626; transition: width .2s; }
.mt-meter i[data-s="2"] { background: #F59E0B; } .mt-meter i[data-s="3"], .mt-meter i[data-s="4"] { background: #10B981; }
.mt-list { margin: 0 0 14px; padding-left: 18px; color: #CBD5E1; font-size: 14px; line-height: 1.55; }
.mt-help details { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: rgba(255, 255, 255, .03); }
.mt-help summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.mt-help p, .mt-help ol { color: #CBD5E1; font-size: 13.5px; line-height: 1.55; margin: 8px 0 2px; }
.mt-help ol { padding-left: 18px; }
#mtGate .mt-help + .mt-btn { width: 100%; margin-top: 8px; }
/* lembar akun & pengumuman */
.mt-sheet-wrap { position: fixed; inset: 0; z-index: 99990; background: rgba(2, 6, 23, .6); display: grid; place-items: end center; padding: 0; }
@media (min-width: 640px) { .mt-sheet-wrap { place-items: center; padding: 16px; } }
.mt-sheet { width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; box-sizing: border-box; background: #0F172A; color: #F8FAFC; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom, 0px)); font-family: "Plus Jakarta Sans", system-ui, sans-serif; box-shadow: 0 -20px 60px rgba(0, 0, 0, .4); }
@media (min-width: 640px) { .mt-sheet { border-radius: 22px; } }
.mt-sheet h2 { margin: 0 0 12px; font-size: 20px; }
.mt-acc-h { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; } .mt-acc-h > div:nth-child(2) { flex: 1; }
.mt-acc-h b { display: block; font-size: 18px; letter-spacing: .06em; } .mt-acc-h small { color: #94A3B8; }
.mt-kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.mt-kv span { color: #94A3B8; } .mt-kv b { text-align: right; font-weight: 600; }
.mt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.mt-grid .mt-btn { font-size: 13.5px; padding: 11px 10px; justify-content: flex-start; }
.mt-ann { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: rgba(255, 255, 255, .03); }
.mt-ann small { display: block; color: #94A3B8; margin-top: 2px; } .mt-ann p { margin: 8px 0 0; color: #E2E8F0; font-size: 14px; line-height: 1.55; }
.mt-sheet > .mt-btn:last-child { width: 100%; }
/* banner masa aktif */
#mtBanner { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 99980; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  max-width: min(640px, calc(100vw - 32px)); box-sizing: border-box; background: #1E293B; color: #F8FAFC; border: 1px solid #F59E0B; border-radius: 14px; padding: 10px 12px; font: 500 13.5px "Plus Jakarta Sans", system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
#mtBanner span { flex: 1 1 200px; } #mtBanner.warn { border-color: #FB923C; } #mtBanner.bad { border-color: #EF4444; background: #3F1D1D; }
@media (min-width: 900px) { #mtBanner { bottom: 20px; } }
/* watermark PDF */
.mt-wm { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font: 600 11px "Plus Jakarta Sans", sans-serif; color: rgba(100, 116, 139, .85); letter-spacing: .06em; pointer-events: none; }
/* fitur AI & izin Claude tidak dipakai di versi MT */
#fab5, #ask5, #stPerm { display: none !important; }
#mtGate input, .mt-sheet input { background: #1E293B !important; color: #F8FAFC !important; -webkit-text-fill-color: #F8FAFC; caret-color: #F59E0B; font-size: 16px !important; }
#mtGate input:-webkit-autofill { -webkit-box-shadow: 0 0 0 40px #1E293B inset !important; }
