:root{--bg:#f3f6fb;--surface:#fff;--surface-2:#f7f9fc;--ink:#152238;--muted:#718096;--line:#e4eaf2;--navy:#101c31;--navy-2:#172840;--cyan:#18b9c6;--cyan-dark:#0d8995;--blue:#4779e8;--green:#169b70;--orange:#e69b36;--red:#d95b69;--shadow:0 12px 34px rgba(21,38,66,.07);--radius:18px}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.55 "DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
.app-shell a:not(.mpi-content *), .auth-body a{color:inherit;text-decoration:none}
.app-shell button:not(.mpi-content *), .auth-body button, .app-shell input:not(.mpi-content *), .auth-body input, .app-shell textarea:not(.mpi-content *), .auth-body textarea, .app-shell select:not(.mpi-content *), .auth-body select{font:inherit}
.app-shell button:not(.mpi-content *), .auth-body button{cursor:pointer}
.app-shell h1:not(.mpi-content *), .auth-body h1, .app-shell h2:not(.mpi-content *), .auth-body h2, .app-shell h3:not(.mpi-content *), .auth-body h3, .app-shell p:not(.mpi-content *), .auth-body p{margin-top:0}
.app-shell h1:not(.mpi-content *), .auth-body h1{font:800 clamp(27px,3vw,38px)/1.14 Manrope,sans-serif;letter-spacing:-.04em;margin:7px 0 10px}
.app-shell h2:not(.mpi-content *), .auth-body h2{font:800 21px/1.25 Manrope,sans-serif;letter-spacing:-.025em;margin:0 0 7px}
.app-shell h3:not(.mpi-content *), .auth-body h3{font:700 16px/1.3 Manrope,sans-serif;margin:0 0 8px}
.app-shell .muted:not(.mpi-content *), .auth-body .muted{color:var(--muted)}
.app-shell small:not(.mpi-content *), .auth-body small{font-size:11px;color:var(--muted)}
.app-shell .eyebrow:not(.mpi-content *), .auth-body .eyebrow{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--cyan-dark);text-transform:uppercase}
.app-shell{min-height:100vh;display:grid;grid-template-columns:255px minmax(0,1fr)}


.app-shell .sidebar:not(.mpi-content *){background:linear-gradient(180deg,var(--navy),#0c1728);color:#edf5ff;padding:22px 16px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}
.app-shell .brand:not(.mpi-content *){display:flex;align-items:center;gap:11px;padding:5px 8px 24px;color:#fff}
.app-shell .brand-mark:not(.mpi-content *), .auth-body .brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#41d2d5,#5d8ef3);color:#092035;font:900 14px Manrope;box-shadow:0 8px 24px #19aeb744;flex:none}
.app-shell .brand b:not(.mpi-content *){display:block;font:800 15px Manrope;letter-spacing:.03em}
.app-shell .brand small:not(.mpi-content *){color:#91a7c1;font-size:10px}
.app-shell .nav-caption:not(.mpi-content *){font-size:9px;font-weight:800;letter-spacing:.17em;color:#6f829e;padding:14px 11px 9px}
.app-shell .side-nav:not(.mpi-content *){display:grid;gap:5px}
.app-shell .nav-link:not(.mpi-content *){display:flex;align-items:center;gap:11px;padding:11px 12px;border:1px solid transparent;border-radius:12px;color:#aebed2;font-size:13px;font-weight:600;transition:.18s}
.app-shell .nav-link:hover:not(.mpi-content *){background:#ffffff0c;color:#fff}
.app-shell .nav-link.active:not(.mpi-content *){background:linear-gradient(90deg,#1d3b57,#193047);border-color:#315773;color:#fff}
.app-shell .nav-icon:not(.mpi-content *){width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#ffffff0c;color:#74dce0;font-size:15px}
.app-shell .nav-link.active .nav-icon:not(.mpi-content *){background:#1eb9c4;color:#082237}
.app-shell .sidebar-bottom:not(.mpi-content *){margin-top:auto;border-top:1px solid #ffffff17;padding:17px 10px 4px;color:#8ca0b9}
.app-shell .sidebar-bottom small:not(.mpi-content *){display:block;color:#70849e;margin-top:4px}
.app-shell .side-role:not(.mpi-content *){display:inline-flex;padding:5px 9px;border:1px solid #ffffff22;border-radius:99px;color:#c7d7e9;font-size:10px;font-weight:700}
.app-shell .main-area:not(.mpi-content *){min-width:0;display:flex;flex-direction:column}
.app-shell .topbar:not(.mpi-content *){height:76px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 clamp(18px,3vw,42px);background:#ffffffeb;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}
.app-shell .top-title:not(.mpi-content *){font:700 13px Manrope;color:#263852;margin-top:3px}
.app-shell .user-area:not(.mpi-content *){display:flex;align-items:center;gap:13px}
.app-shell .user-meta:not(.mpi-content *){text-align:right}
.app-shell .user-meta b:not(.mpi-content *){display:block;font-size:12px}
.app-shell .user-meta small:not(.mpi-content *){font-size:10px}
.app-shell .user-area form:not(.mpi-content *){margin:0}
.app-shell .content-area:not(.mpi-content *){width:100%;max-width:1540px;margin:0 auto;padding:28px clamp(16px,3vw,42px) 48px;flex:1}
.app-shell .footer:not(.mpi-content *){display:flex;align-items:center;justify-content:center;gap:12px;padding:16px clamp(18px,3vw,42px);border-top:1px solid var(--line);color:#64748b;font-size:13px;line-height:1.6;text-align:center;background:#fff;flex-wrap:wrap}


.app-shell .btn:not(.mpi-content *), .auth-body .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;border:1px solid #d6e0ec;border-radius:11px;background:#fff;color:#253954;font-weight:700;font-size:12px;transition:.18s}
.app-shell .btn:hover:not(.mpi-content *), .auth-body .btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px #172b4612}
.app-shell .btn-primary:not(.mpi-content *), .auth-body .btn-primary{border-color:var(--cyan);background:linear-gradient(135deg,#18b9c6,#278ed0);color:#fff;box-shadow:0 7px 18px #19aab52b}
.app-shell .btn-secondary:not(.mpi-content *), .auth-body .btn-secondary{background:#edf3f9;border-color:#e1e9f2}
.app-shell .btn-quiet:not(.mpi-content *), .auth-body .btn-quiet{background:#fff;border-color:#e6ebf2;color:#5c6d82}
.app-shell .btn-sm:not(.mpi-content *), .auth-body .btn-sm{padding:7px 11px;font-size:11px}
.app-shell .btn-block:not(.mpi-content *), .auth-body .btn-block{width:100%}
.app-shell .alert:not(.mpi-content *), .auth-body .alert{padding:12px 14px;border-radius:12px;margin:0 0 16px;font-size:12px}
.app-shell .alert-success:not(.mpi-content *), .auth-body .alert-success{background:#e8f8f1;border:1px solid #c5eddb;color:#13724f}
.app-shell .alert-error:not(.mpi-content *), .auth-body .alert-error{background:#fff0f1;border:1px solid #f5d1d5;color:#a63d4b}
.app-shell .alert-warning:not(.mpi-content *), .auth-body .alert-warning{background:#fff8e9;border:1px solid #f1dfb8;color:#91651d}
.app-shell .hidden:not(.mpi-content *){display:none!important}


.app-shell .welcome-row:not(.mpi-content *){display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}
.app-shell .welcome-row p:not(.mpi-content *){max-width:750px;margin:0;color:var(--muted);font-size:13px}
.app-shell .welcome-chip:not(.mpi-content *){min-width:125px;padding:13px 17px;border:1px solid #dce8f0;border-radius:15px;background:linear-gradient(135deg,#e8fbfb,#f5faff);text-align:right;flex:none}
.app-shell .welcome-chip span:not(.mpi-content *){display:block;color:#66808e;font-size:9px;font-weight:800;letter-spacing:.1em}
.app-shell .welcome-chip b:not(.mpi-content *){display:block;font:800 25px Manrope;color:#148f9b;margin-top:2px}
.app-shell .stats-grid:not(.mpi-content *){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}
.app-shell .stat-card:not(.mpi-content *){background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;align-items:center;gap:13px;box-shadow:var(--shadow)}
.app-shell .stat-card>div b:not(.mpi-content *){display:block;font:800 24px Manrope;line-height:1.1}
.app-shell .stat-card>div small:not(.mpi-content *){display:block;margin-top:5px;font-size:10px}
.app-shell .stat-icon:not(.mpi-content *){width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#e7f8f8;color:#0d9ca8;font-size:19px;flex:none}
.app-shell .stat-icon.green:not(.mpi-content *){background:#e7f8ef;color:#169b70}
.app-shell .stat-icon.orange:not(.mpi-content *){background:#fff4e4;color:#d48b28}
.app-shell .stat-icon.blue:not(.mpi-content *){background:#edf2ff;color:#4779e8}


.app-shell .panel:not(.mpi-content *){background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow);min-width:0}
.app-shell .next-panel:not(.mpi-content *){display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;background:linear-gradient(115deg,#fff,#f0fbfc);border-color:#d5eeee}
.app-shell .next-panel p:not(.mpi-content *){max-width:670px;margin:0 0 15px;font-size:12px}
.app-shell .completion-ring:not(.mpi-content *){width:112px;height:112px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--cyan) var(--progress),#e4edf3 0);position:relative;flex:none}
.app-shell .completion-ring:not(.mpi-content *):before{content:"";position:absolute;inset:9px;background:#f8fcfd;border-radius:50%}
.app-shell .completion-ring>div:not(.mpi-content *){position:relative;text-align:center}
.app-shell .completion-ring b:not(.mpi-content *){display:block;font:800 24px Manrope;color:#178e9a}
.app-shell .completion-ring small:not(.mpi-content *){display:block;font-size:9px}
.app-shell .section-heading:not(.mpi-content *){display:flex;justify-content:space-between;align-items:end;gap:14px;margin:28px 0 13px}
.app-shell .section-heading h2:not(.mpi-content *){margin:0}
.app-shell .section-heading p:not(.mpi-content *){margin:3px 0 0;color:var(--muted);font-size:11px}
.app-shell .text-link:not(.mpi-content *){font-size:11px;color:#138e9a;font-weight:800;white-space:nowrap}
.app-shell .chapter-block:not(.mpi-content *){margin:18px 0 24px}
.app-shell .chapter-title:not(.mpi-content *){display:flex;align-items:center;justify-content:space-between;margin:0 0 11px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.app-shell .chapter-title span:not(.mpi-content *){font:800 11px Manrope;letter-spacing:.12em;color:#47617e}
.app-shell .chapter-title small:not(.mpi-content *){font-size:10px}
.app-shell .module-grid:not(.mpi-content *){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.app-shell .module-card:not(.mpi-content *){background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;min-width:0;transition:.18s;box-shadow:0 5px 15px #142c4808}
.app-shell .module-card:hover:not(.mpi-content *){transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c6dfe4}
.app-shell .module-card.is-done:not(.mpi-content *){border-color:#c9eadb;background:linear-gradient(145deg,#fff,#f6fcf8)}
.app-shell .module-card.is-locked:not(.mpi-content *){background:#f7f9fc;opacity:.74}
.app-shell .module-card-top:not(.mpi-content *), .app-shell .module-card-bottom:not(.mpi-content *){display:flex;align-items:center;justify-content:space-between;gap:9px}
.app-shell .module-code:not(.mpi-content *){font:800 11px Manrope;color:#118c98;letter-spacing:.04em}
.app-shell .status-pill:not(.mpi-content *){display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:99px;font-size:9px;font-weight:800;white-space:nowrap}
.app-shell .status-done:not(.mpi-content *){background:#e6f7ee;color:#168356}
.app-shell .status-open:not(.mpi-content *){background:#e8f4fb;color:#2876a9}
.app-shell .status-locked:not(.mpi-content *){background:#eef1f5;color:#7a8797}
.app-shell .module-card h3:not(.mpi-content *){font-size:14px;margin:13px 0 7px;min-height:36px}
.app-shell .module-card p:not(.mpi-content *){font-size:10px;line-height:1.5;color:var(--muted);min-height:30px;margin:0 0 13px}
.app-shell .mini-progress:not(.mpi-content *){height:4px;background:#edf1f6;border-radius:99px;overflow:hidden;margin-bottom:10px}
.app-shell .mini-progress span:not(.mpi-content *){display:block;height:100%;background:linear-gradient(90deg,#22bdc5,#5489ed);border-radius:99px}
.app-shell .module-card-bottom:not(.mpi-content *){font-size:10px}
.app-shell .module-card-bottom a:not(.mpi-content *){font-weight:800;color:#138d98}
.app-shell .lock-icon:not(.mpi-content *){font-size:13px;color:#98a5b5}
.app-shell .table-panel:not(.mpi-content *){padding:0;overflow:hidden}
.app-shell .panel-head:not(.mpi-content *){display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px}
.app-shell .panel-head h2:not(.mpi-content *){font-size:17px;margin:0}
.app-shell .panel-head p:not(.mpi-content *){margin:4px 0 0;color:var(--muted);font-size:10px}
.app-shell .table-scroll:not(.mpi-content *){overflow:auto}
.app-shell table:not(.mpi-content *){width:100%;border-collapse:collapse;font-size:11px;min-width:660px}
.app-shell th:not(.mpi-content *), .app-shell td:not(.mpi-content *){text-align:left;padding:12px 14px;border-bottom:1px solid #edf0f5;vertical-align:middle}
.app-shell th:not(.mpi-content *){background:#f8fafc;color:#7c8a9b;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.app-shell td:not(.mpi-content *){color:#40516a}
.app-shell tbody tr:last-child td:not(.mpi-content *){border-bottom:0}
.app-shell .empty-cell:not(.mpi-content *){text-align:center;padding:25px;color:#98a5b5}
.app-shell .dashboard-grid:not(.mpi-content *){display:grid;grid-template-columns:1.35fr .85fr;gap:14px}
.app-shell .big-percent:not(.mpi-content *){font:800 28px Manrope;color:#1699a3}
.app-shell .large-progress:not(.mpi-content *){height:9px;border-radius:99px;background:#edf2f6;overflow:hidden}
.app-shell .large-progress span:not(.mpi-content *){display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#20bbc4,#4f86ed)}
.app-shell .progress-legend:not(.mpi-content *){display:flex;justify-content:space-between;color:#8492a4;font-size:9px;margin-top:7px}
.app-shell .quick-links:not(.mpi-content *){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:24px}
.app-shell .quick-links a:not(.mpi-content *){padding:13px;border:1px solid var(--line);border-radius:12px;background:#fbfcfe}
.app-shell .quick-links a>span:not(.mpi-content *){display:block;color:#16a0aa;font-size:17px;margin-bottom:7px}
.app-shell .quick-links b:not(.mpi-content *){display:block;font-size:11px}
.app-shell .quick-links small:not(.mpi-content *){font-size:9px}
.app-shell .chapter-summary:not(.mpi-content *){display:grid;gap:0;margin:12px 0 20px}
.app-shell .chapter-summary>div:not(.mpi-content *){display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #edf0f5;font-size:11px}
.app-shell .chapter-summary>div:last-child:not(.mpi-content *){border-bottom:0}
.app-shell .chapter-summary span:not(.mpi-content *){color:var(--muted)}
.app-shell .chapter-summary b:not(.mpi-content *){color:#42546d}


.app-shell .learning-head:not(.mpi-content *){display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:18px}
.app-shell .learning-head h1:not(.mpi-content *){font-size:clamp(25px,3vw,34px)}
.app-shell .learning-head p:not(.mpi-content *){max-width:850px;font-size:12px;margin:0}
.app-shell .back-link:not(.mpi-content *){display:inline-block;color:#138d98;font-weight:800;font-size:10px;margin-bottom:13px}
.app-shell .learning-state:not(.mpi-content *){text-align:right;flex:none}
.app-shell .learning-state small:not(.mpi-content *){display:block;margin-top:7px}
.app-shell .reader-panel:not(.mpi-content *){background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:var(--shadow)}
.app-shell .reader-top:not(.mpi-content *){display:flex;align-items:center;justify-content:space-between;gap:15px;padding:5px 5px 12px}
.app-shell .reader-top b:not(.mpi-content *){display:block;font:800 14px Manrope}
.app-shell .reader-top small:not(.mpi-content *){display:block;margin-top:3px;max-width:700px;font-size:10px}
.app-shell .read-meter:not(.mpi-content *){text-align:right;flex:none}
.app-shell .read-meter b:not(.mpi-content *){display:block;color:#168e9a;font:800 21px Manrope}
.app-shell .read-meter small:not(.mpi-content *){font-size:9px}
.app-shell .reader-frame-wrap:not(.mpi-content *){margin-top:13px;border:1px solid #dfe7ee;border-radius:13px;overflow:hidden;background:#0b1628}
.app-shell .reader-frame-wrap iframe:not(.mpi-content *){display:block;width:100%;height:min(80vh,900px);min-height:680px;border:0;background:#0b1628}
.app-shell .reader-note:not(.mpi-content *){padding:10px 5px 2px;color:#6f8095;font-size:10px}
.app-shell .task-panel:not(.mpi-content *){margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:var(--shadow)}
.app-shell .task-heading:not(.mpi-content *){display:flex;justify-content:space-between;align-items:start;gap:14px}
.app-shell .task-heading h2:not(.mpi-content *){margin:4px 0 5px}
.app-shell .task-heading p:not(.mpi-content *){font-size:11px;margin:0}
.app-shell .task-number:not(.mpi-content *){border:1px solid #dce8f1;background:#f4f9fc;color:#3d6e8c;border-radius:99px;padding:6px 10px;font-size:9px;font-weight:800;white-space:nowrap}
.app-shell .task-prompt:not(.mpi-content *){margin:17px 0;padding:14px 16px;border-left:3px solid var(--cyan);background:#f2fbfc;border-radius:0 12px 12px 0}
.app-shell .task-prompt b:not(.mpi-content *){font-size:11px}
.app-shell .task-prompt p:not(.mpi-content *){margin:4px 0 0;color:#52667c;font-size:11px}
.app-shell .locked-task:not(.mpi-content *){display:flex;align-items:center;gap:13px;padding:16px;border:1px dashed #d9e1ea;border-radius:13px;background:#fafbfd}
.app-shell .large-lock:not(.mpi-content *){width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eef2f6;font-size:18px}
.app-shell .locked-task b:not(.mpi-content *){font-size:12px}
.app-shell .locked-task p:not(.mpi-content *){margin:3px 0 0;color:var(--muted);font-size:10px}
.app-shell .form-stack:not(.mpi-content *), .auth-body .form-stack{display:grid;gap:13px}
.app-shell .form-stack label:not(.mpi-content *), .auth-body .form-stack label, .app-shell .grade-form label:not(.mpi-content *), .app-shell .edit-grid label:not(.mpi-content *){display:grid;gap:6px;font-size:11px;font-weight:700;color:#43546a}
.app-shell .form-stack input:not(.mpi-content *), .auth-body .form-stack input, .app-shell .form-stack textarea:not(.mpi-content *), .auth-body .form-stack textarea, .app-shell .form-stack select:not(.mpi-content *), .auth-body .form-stack select, .app-shell .grade-form input:not(.mpi-content *), .app-shell .grade-form textarea:not(.mpi-content *), .app-shell .edit-grid input:not(.mpi-content *), .app-shell .edit-grid select:not(.mpi-content *){width:100%;border:1px solid #dce4ed;border-radius:10px;background:#fbfcfe;padding:10px 11px;color:#24364e;outline:none}
.app-shell .form-stack textarea:not(.mpi-content *), .auth-body .form-stack textarea, .app-shell .grade-form textarea:not(.mpi-content *){resize:vertical;min-height:110px}
.app-shell .form-stack input:focus:not(.mpi-content *), .auth-body .form-stack input:focus, .app-shell .form-stack textarea:focus:not(.mpi-content *), .auth-body .form-stack textarea:focus, .app-shell .grade-form input:focus:not(.mpi-content *), .app-shell .grade-form textarea:focus:not(.mpi-content *), .app-shell .edit-grid input:focus:not(.mpi-content *){border-color:#42bdc7;box-shadow:0 0 0 3px #1cb9c61a}
.app-shell .form-stack label small:not(.mpi-content *), .auth-body .form-stack label small{font-weight:400}
.app-shell .task-actions:not(.mpi-content *){display:flex;justify-content:space-between;align-items:center;gap:12px}
.app-shell .task-actions .btn:not(.mpi-content *){margin-left:auto}
.app-shell .completion-banner:not(.mpi-content *){display:flex;align-items:center;gap:12px;padding:13px;margin-top:16px;border:1px solid #ccebd9;background:#effaf4;border-radius:13px}
.app-shell .completion-banner>span:not(.mpi-content *){width:30px;height:30px;display:grid;place-items:center;background:#1aa36f;color:#fff;border-radius:50%;font-weight:900}
.app-shell .completion-banner b:not(.mpi-content *){display:block;color:#187b54;font-size:11px}
.app-shell .completion-banner small:not(.mpi-content *){display:block;color:#5d8c75;font-size:9px}
.app-shell .completion-banner .btn:not(.mpi-content *){margin-left:auto;white-space:nowrap}


.app-shell .admin-grid:not(.mpi-content *){display:grid;grid-template-columns:1fr .9fr;gap:14px}
.app-shell .admin-grid .panel:not(.mpi-content *){align-self:start}
.app-shell .role-info:not(.mpi-content *){display:grid;gap:10px}
.app-shell .role-info>div:not(.mpi-content *){padding:12px;border:1px solid #edf0f5;border-radius:12px;background:#fbfcfe}
.app-shell .role-info b:not(.mpi-content *){font-size:11px}
.app-shell .role-info p:not(.mpi-content *){margin:4px 0 0;color:var(--muted);font-size:10px}
.app-shell .user-list:not(.mpi-content *), .app-shell .submission-list:not(.mpi-content *){display:grid;gap:9px}
.app-shell .user-row:not(.mpi-content *), .app-shell .submission-card:not(.mpi-content *){border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 5px 14px #1b2b4307;overflow:hidden}
.app-shell .user-row summary:not(.mpi-content *), .app-shell .submission-card summary:not(.mpi-content *){display:flex;align-items:center;gap:12px;padding:13px 15px;cursor:pointer;list-style:none}
.app-shell .user-row summary:not(.mpi-content *)::-webkit-details-marker, .app-shell .submission-card summary:not(.mpi-content *)::-webkit-details-marker{display:none}
.app-shell .user-avatar:not(.mpi-content *){width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#e8f6f7;color:#118e99;font:800 13px Manrope;flex:none}
.app-shell .user-row-main:not(.mpi-content *), .app-shell .submission-main:not(.mpi-content *){min-width:0;flex:1}
.app-shell .user-row-main b:not(.mpi-content *), .app-shell .submission-main b:not(.mpi-content *){display:block;font-size:11px}
.app-shell .user-row-main small:not(.mpi-content *), .app-shell .submission-main small:not(.mpi-content *){display:block;font-size:9px}
.app-shell .role-pill:not(.mpi-content *){border-radius:99px;padding:5px 8px;font-size:9px;font-weight:800;white-space:nowrap}
.app-shell .role-admin:not(.mpi-content *){background:#f1eaff;color:#7450ac}
.app-shell .role-guru:not(.mpi-content *){background:#e9f0ff;color:#4774ca}
.app-shell .role-siswa:not(.mpi-content *){background:#e6f8f1;color:#16865e}
.app-shell .details-arrow:not(.mpi-content *){color:#91a0b1;font-size:16px}
.app-shell .user-edit:not(.mpi-content *){padding:15px;border-top:1px solid var(--line);background:#fbfcfe}
.app-shell .edit-grid:not(.mpi-content *){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.app-shell .checkbox-label:not(.mpi-content *){display:flex!important;align-items:center;gap:8px!important}
.app-shell .checkbox-label input:not(.mpi-content *){width:auto}
.app-shell .edit-actions:not(.mpi-content *){grid-column:1/-1;display:flex;align-items:center;gap:12px}
.app-shell .table-progress:not(.mpi-content *){height:5px;width:85px;background:#edf1f6;border-radius:99px;overflow:hidden;display:inline-block;vertical-align:middle;margin-right:5px}
.app-shell .table-progress span:not(.mpi-content *){display:block;height:100%;background:var(--cyan)}
.app-shell .submission-card summary:not(.mpi-content *){gap:16px}
.app-shell .submission-module:not(.mpi-content *){min-width:180px;flex:1}
.app-shell .submission-module b:not(.mpi-content *){display:block;color:#158d99;font-size:10px}
.app-shell .submission-module small:not(.mpi-content *){display:block;font-size:9px}
.app-shell .submission-score:not(.mpi-content *){font:800 15px Manrope;color:#3c526b;min-width:30px;text-align:right}
.app-shell .submission-body:not(.mpi-content *){padding:15px;border-top:1px solid var(--line);background:#fbfcfe;display:grid;grid-template-columns:1.2fr .8fr;gap:14px}
.app-shell .answer-box:not(.mpi-content *){background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.app-shell .answer-box p:not(.mpi-content *){font-size:11px;line-height:1.7;color:#3f526b;margin:9px 0}
.app-shell .grade-form:not(.mpi-content *){display:grid;gap:10px;align-content:start}
.app-shell .empty-state:not(.mpi-content *){text-align:center;padding:55px 20px;background:#fff;border:1px dashed #dce5ed;border-radius:18px}
.app-shell .empty-icon:not(.mpi-content *){width:48px;height:48px;margin:0 auto 14px;border-radius:15px;background:#e8f8f0;color:#159568;display:grid;place-items:center;font-size:22px}
.app-shell .empty-state p:not(.mpi-content *){color:var(--muted);font-size:11px}


.auth-body{min-height:100vh;background:radial-gradient(circle at 10% 10%,#d9f4f5,transparent 30%),radial-gradient(circle at 90% 90%,#e0e9ff,transparent 32%),#f3f6fb;display:grid;place-items:center;padding:24px}
.auth-body .auth-layout{width:min(100%,1000px);display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:55px}
.auth-body .auth-intro{padding:20px 10px}
.auth-body .brand-mark.large{width:55px;height:55px;font-size:17px;margin-bottom:28px}
.auth-body .auth-intro .eyebrow{margin-bottom:13px}
.auth-body .auth-intro h1{font-size:clamp(38px,5vw,58px);line-height:1.08}
.auth-body .auth-intro h1 span{color:#159ca7}
.auth-body .auth-intro p{max-width:470px;color:#65778d;font-size:13px;line-height:1.8;margin:18px 0 30px}
.auth-body .auth-stats{display:flex;gap:30px}
.auth-body .auth-stats b{display:block;font:800 22px Manrope;color:#172d48}
.auth-body .auth-stats small{font-size:10px}
.auth-body .auth-card, .auth-body .install-card{background:#fff;border:1px solid #e4eaf1;border-radius:22px;padding:32px;box-shadow:0 22px 65px #1d385219}
.auth-body .auth-card h2, .auth-body .install-card h1{font-size:25px;margin:8px 0}
.auth-body .auth-card>p{font-size:11px;margin-bottom:22px}
.auth-body .auth-help{margin-top:20px;padding-top:15px;border-top:1px solid var(--line);color:#8190a1;font-size:10px}
.auth-body .auth-help a{color:#0f929e;font-weight:800}
.auth-body .auth-card .form-stack{gap:16px}
.auth-body .auth-card .form-stack label{font-size:11px}
.auth-body .auth-card input{padding:12px}
.auth-body .install-card{width:min(100%,540px)}
.auth-body .install-card .brand-mark{margin-bottom:20px}
.auth-body .install-card p{font-size:12px}
.auth-body .install-steps{font-size:11px;color:#52657c;line-height:2}
.auth-body .install-card code{background:#f0f4f8;padding:2px 5px;border-radius:4px}


@media(max-width:1150px){.app-shell .module-grid:not(.mpi-content *){grid-template-columns:repeat(2,minmax(0,1fr))}
.app-shell .stats-grid:not(.mpi-content *){grid-template-columns:repeat(2,minmax(0,1fr))}
.app-shell .dashboard-grid:not(.mpi-content *){grid-template-columns:1fr}
.app-shell .admin-grid:not(.mpi-content *){grid-template-columns:1fr}}


@media(max-width:760px){.app-shell{display:block}
.app-shell .sidebar:not(.mpi-content *){position:relative;top:auto;height:auto;min-height:0;padding:12px 13px}
.app-shell .brand:not(.mpi-content *){padding:3px 4px 12px}
.app-shell .brand-mark:not(.mpi-content *), .auth-body .brand-mark{width:36px;height:36px}
.app-shell .brand b:not(.mpi-content *){font-size:13px}
.app-shell .nav-caption:not(.mpi-content *), .app-shell .sidebar-bottom:not(.mpi-content *){display:none}
.app-shell .side-nav:not(.mpi-content *){display:flex;gap:5px;overflow-x:auto;padding-top:10px}
.app-shell .nav-link:not(.mpi-content *){flex:none;padding:8px 10px;font-size:10px}
.app-shell .nav-icon:not(.mpi-content *){width:22px;height:22px}
.app-shell .topbar:not(.mpi-content *){height:62px;padding:0 14px}
.app-shell .user-meta:not(.mpi-content *){display:none}
.app-shell .content-area:not(.mpi-content *){padding:20px 13px 35px}
.app-shell .footer:not(.mpi-content *){padding:12px 14px;font-size:9px}
.app-shell .welcome-row:not(.mpi-content *){align-items:start}
.app-shell .welcome-chip:not(.mpi-content *){min-width:95px;padding:10px}
.app-shell .welcome-chip b:not(.mpi-content *){font-size:20px}
.app-shell .welcome-row p:not(.mpi-content *){font-size:11px}
.app-shell .stats-grid:not(.mpi-content *){gap:8px}
.app-shell .stat-card:not(.mpi-content *){padding:12px;gap:9px}
.app-shell .stat-card>div b:not(.mpi-content *){font-size:20px}
.app-shell .stat-icon:not(.mpi-content *){width:32px;height:32px;font-size:15px}
.app-shell .module-grid:not(.mpi-content *){grid-template-columns:1fr}
.app-shell .module-card h3:not(.mpi-content *){min-height:0}
.app-shell .module-card p:not(.mpi-content *){min-height:0}
.app-shell .next-panel:not(.mpi-content *){align-items:start}
.app-shell .completion-ring:not(.mpi-content *){width:78px;height:78px}
.app-shell .completion-ring:not(.mpi-content *):before{inset:7px}
.app-shell .completion-ring b:not(.mpi-content *){font-size:18px}
.app-shell .quick-links:not(.mpi-content *){grid-template-columns:1fr}
.app-shell .learning-head:not(.mpi-content *){display:block}
.app-shell .learning-state:not(.mpi-content *){text-align:left;margin-top:10px}
.app-shell .reader-panel:not(.mpi-content *){padding:9px}
.app-shell .reader-frame-wrap iframe:not(.mpi-content *){height:75vh;min-height:600px}
.app-shell .task-panel:not(.mpi-content *){padding:15px}
.app-shell .task-heading:not(.mpi-content *){display:block}
.app-shell .task-number:not(.mpi-content *){display:inline-flex;margin-top:10px}
.app-shell .completion-banner:not(.mpi-content *){align-items:start;flex-wrap:wrap}
.app-shell .completion-banner .btn:not(.mpi-content *){margin:7px 0 0 42px}
.app-shell .submission-body:not(.mpi-content *){grid-template-columns:1fr}
.app-shell .submission-card summary:not(.mpi-content *){flex-wrap:wrap;gap:8px}
.app-shell .submission-module:not(.mpi-content *){min-width:140px}
.app-shell .edit-grid:not(.mpi-content *){grid-template-columns:1fr 1fr}
.app-shell .user-row summary:not(.mpi-content *){flex-wrap:wrap}
.app-shell .user-row-main:not(.mpi-content *){min-width:calc(100% - 60px)}
.auth-body .auth-layout{grid-template-columns:1fr;gap:18px;max-width:460px}
.auth-body .auth-intro{padding:4px}
.auth-body .auth-intro .brand-mark{margin-bottom:16px}
.auth-body .auth-intro h1{font-size:35px}
.auth-body .auth-intro p{margin:10px 0 14px}
.auth-body .auth-stats{gap:18px}
.auth-body .auth-card{padding:23px}
.auth-body .install-card{padding:24px}}


@media(max-width:420px){.app-shell .stats-grid:not(.mpi-content *){grid-template-columns:1fr 1fr}
.app-shell .stat-card>div small:not(.mpi-content *){font-size:9px}
.app-shell .welcome-chip:not(.mpi-content *){display:none}
.app-shell .footer:not(.mpi-content *){display:block}
.app-shell .footer span:not(.mpi-content *){display:block;margin:3px 0}
.app-shell .edit-grid:not(.mpi-content *){grid-template-columns:1fr}
.app-shell .edit-actions:not(.mpi-content *){grid-column:auto}
.app-shell .task-actions:not(.mpi-content *){align-items:flex-start;flex-direction:column}
.app-shell .task-actions .btn:not(.mpi-content *){margin-left:0;width:100%}}



/* MPI modules are rendered inside the LMS document (no nested iframe). */


.app-shell .mpi-reader-panel:not(.mpi-content *){overflow:visible}


.mpi-content{display:block;width:100%;min-width:0;max-width:100%;margin-top:12px;overflow:hidden;border:1px solid #203a58;border-radius:15px;background:#071426;color:#eaf3ff;isolation:isolate}


.mpi-content .mpi-module-content{display:block;width:100%;min-width:0;max-width:100%}


.mpi-content .app{min-height:min(100vh,920px)}


.mpi-content .sidebar, .mpi-content .side, .mpi-content aside{top:76px;max-height:calc(100vh - 76px)}


.mpi-content header, .mpi-content .topbar, .mpi-content nav{scroll-margin-top:82px}


.mpi-content header[style*="sticky"], .mpi-content .topbar{top:76px}


@media(max-width:760px){
  
.mpi-content{margin-top:10px;border-radius:12px}

  
.mpi-content .app{min-height:0}

  
.mpi-content .sidebar, .mpi-content .side, .mpi-content aside{top:0;max-height:100vh}

  
.mpi-content header, .mpi-content .topbar, .mpi-content nav{scroll-margin-top:62px}

  
.mpi-content header[style*="sticky"], .mpi-content .topbar{top:62px}

}


/* Integration overrides are stronger than each source MPI's original page rules. */


.mpi-content .mpi-module-content .app{min-height:min(100vh,920px)!important}


.mpi-content .sidebar, .mpi-content .side, .mpi-content aside{top:76px!important;max-height:calc(100vh - 76px)!important}


.mpi-content .topbar{top:76px!important}


@media(max-width:760px){
  
.mpi-content .mpi-module-content .app{min-height:0!important}

  
.mpi-content .sidebar, .mpi-content .side, .mpi-content aside{top:0!important;max-height:100vh!important}

  
.mpi-content .topbar{top:62px!important}

  
.mpi-content[data-mpi-code="1.A"] .mobilebar, .mpi-content[data-mpi-code="2.A"] .mobilebar, .mpi-content[data-mpi-code="1.B"] .mobile, .mpi-content[data-mpi-code="1.C"] .mobile, .mpi-content[data-mpi-code="2.B"] .mobile, .mpi-content[data-mpi-code="2.C"] .mobile, .mpi-content[data-mpi-code="3.B"] .bottomnav, .mpi-content[data-mpi-code="3.C"] .bottom, .mpi-content[data-mpi-code="3.D"] .bottom, .mpi-content[data-mpi-code="5.A"] .side, .mpi-content[data-mpi-code="5.B"] .side, .mpi-content[data-mpi-code="5.C"] .side, .mpi-content[data-mpi-code="6.D"] .mobile-bottom{
    position:sticky!important;top:auto!important;bottom:0!important;left:auto!important;right:auto!important;
    width:100%!important;height:auto!important;max-height:none!important;z-index:5!important;
  }

}



/* LMS unified bright theme */
.app-shell .sidebar:not(.mpi-content *){
  background:#fff!important;color:#1d2d45!important;border-right:1px solid #e1e8f0!important;
  box-shadow:4px 0 18px rgba(25,45,75,.035);
}
.app-shell .brand:not(.mpi-content *){color:#1d2d45!important}
.app-shell .brand small:not(.mpi-content *){color:#74859a!important}
.app-shell .nav-caption:not(.mpi-content *){color:#8999ac!important}
.app-shell .nav-link:not(.mpi-content *){color:#566981!important}
.app-shell .nav-link:not(.mpi-content *):hover{background:#f3f7fa!important;color:#1d2d45!important}
.app-shell .nav-link.active:not(.mpi-content *){
  background:#e9f6f7!important;border-color:#cbe8eb!important;color:#087f8b!important;
}
.app-shell .nav-icon:not(.mpi-content *){background:#edf4f8!important;color:#168f9b!important}
.app-shell .nav-link.active .nav-icon:not(.mpi-content *){background:#18aab6!important;color:#fff!important}
.app-shell .sidebar-bottom:not(.mpi-content *){border-top-color:#e5ebf2!important;color:#8291a4!important}
.app-shell .side-role:not(.mpi-content *){border-color:#dce5ee!important;background:#f7f9fc!important;color:#53677f!important}

/* Current MPI section navigation is nested under the single Materi MPI menu. */
.app-shell .mpi-section-wrap:not(.mpi-content *){
  margin:12px 0 8px;padding:13px 8px 10px;border-top:1px solid #e8edf3;
  border-bottom:1px solid #e8edf3;min-width:0;
}
.app-shell .mpi-section-kicker:not(.mpi-content *){
  color:#8293a7;font-size:9px;font-weight:850;letter-spacing:.15em;padding:0 5px 8px;
}
.app-shell .mpi-section-module:not(.mpi-content *){
  display:flex;align-items:flex-start;gap:7px;padding:7px 6px 10px;color:#243a54;
}
.app-shell .mpi-section-module>span:not(.mpi-content *){
  flex:none;border-radius:6px;padding:3px 5px;background:#e5f4f6;color:#0c8995;
  font-size:9px;font-weight:850;
}
.app-shell .mpi-section-module>b:not(.mpi-content *){
  font-size:10px;line-height:1.45;font-weight:800;
}
.app-shell .mpi-section-nav:not(.mpi-content *){
  display:grid;gap:3px;max-height:calc(100vh - 330px);overflow:auto;padding:0 2px 3px;
  scrollbar-width:thin;scrollbar-color:#cbd6e2 transparent;
}
.app-shell .mpi-section-link:not(.mpi-content *){
  display:flex;align-items:center;gap:8px;width:100%;min-width:0;text-align:left;
  border:1px solid transparent;border-radius:8px;padding:7px 8px;background:transparent;
  color:#60738a;font-size:10px;line-height:1.35;font-weight:650;cursor:pointer;
}
.app-shell .mpi-section-link:not(.mpi-content *):hover{
  background:#f2f7fa;color:#1d354e;
}
.app-shell .mpi-section-link.active:not(.mpi-content *){
  background:#e9f6f7;border-color:#cde8eb;color:#087f8b;
}
.app-shell .mpi-section-index:not(.mpi-content *){
  flex:none;width:19px;color:#96a5b6;font-size:9px;font-weight:800;
}
.app-shell .mpi-section-link.active .mpi-section-index:not(.mpi-content *){color:#0b8995}
.app-shell .mpi-section-label:not(.mpi-content *){min-width:0;overflow-wrap:anywhere}
.app-shell .mpi-section-loading:not(.mpi-content *){
  padding:8px;color:#8b9aad;font-size:10px;
}

/* One shared workspace: no inner MPI app border, header, or dark panel. */
.app-shell .reader-panel.mpi-reader-panel:not(.mpi-content *){
  background:#fff;border-color:#e1e8f0;padding:18px;overflow:visible;
}
.app-shell .mpi-reader-panel .reader-top:not(.mpi-content *){margin-bottom:12px}
.mpi-content{
  display:block;width:100%;min-width:0;max-width:100%;margin:10px 0 0!important;
  overflow:visible!important;border:0!important;border-radius:0!important;
  background:#f5f8fc!important;color:#1c2d45!important;isolation:isolate;
}
.mpi-content .mpi-module-content{display:block;width:100%;min-width:0;max-width:100%}
.mpi-content .lms-mpi-chrome-hidden{display:none!important}
.mpi-content .lms-mpi-layout{
  display:block!important;grid-template-columns:none!important;grid-template-rows:none!important;
  min-height:0!important;max-width:none!important;width:100%!important;margin:0!important;
}
.mpi-content .lms-mpi-main{
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;background:transparent!important;
}
.mpi-content .mpi-module-content .page{background:transparent!important;color:#1c2d45!important}
.mpi-content .mpi-module-content .hero{
  background:linear-gradient(125deg,#e8f7fa 0%,#edf2ff 100%)!important;
  border-color:#cfe2ec!important;color:#1c2d45!important;
}
.mpi-content .mpi-module-content .card,
.mpi-content .mpi-module-content .panel,
.mpi-content .mpi-module-content .section,
.mpi-content .mpi-module-content .tile,
.mpi-content .mpi-module-content .role,
.mpi-content .mpi-module-content .detail,
.mpi-content .mpi-module-content .tasklist,
.mpi-content .mpi-module-content .dropzone,
.mpi-content .mpi-module-content .stagebox,
.mpi-content .mpi-module-content .workspace,
.mpi-content .mpi-module-content .editor,
.mpi-content .mpi-module-content .console,
.mpi-content .mpi-module-content .output,
.mpi-content .mpi-module-content .question,
.mpi-content .mpi-module-content .choice,
.mpi-content .mpi-module-content .option,
.mpi-content .mpi-module-content .feedback,
.mpi-content .mpi-module-content .callout{
  background:#fff!important;border-color:#dce5ef!important;color:#263951!important;
  box-shadow:0 7px 20px rgba(24,46,76,.055)!important;
}
@media(max-width:760px){
  .app-shell .mpi-section-wrap:not(.mpi-content *){margin:8px 0 0;padding:9px 0 4px}
  .app-shell .mpi-section-nav:not(.mpi-content *){
    display:flex;gap:5px;max-height:none;overflow-x:auto;overflow-y:hidden;padding:0 0 5px;
  }
  .app-shell .mpi-section-link:not(.mpi-content *){
    flex:none;width:auto;white-space:nowrap;padding:7px 9px;font-size:10px;
  }
  .app-shell .mpi-section-module:not(.mpi-content *){padding:4px 5px 7px}
  .app-shell .reader-panel.mpi-reader-panel:not(.mpi-content *){padding:10px}
  .mpi-content{margin-top:6px!important}
}


/* Materi MPI is a sidebar group; its catalog is the child menu directly below it. */
.app-shell .nav-group-mpi:not(.mpi-content *){display:grid;gap:3px;margin:1px 0 3px}
.app-shell .nav-group-title:not(.mpi-content *){
  display:flex;align-items:center;gap:11px;padding:10px 12px 6px;
  color:#30455e;font-size:12px;font-weight:800;letter-spacing:.01em;
}
.app-shell .nav-group-title .nav-icon:not(.mpi-content *){
  width:25px;height:25px;display:grid;place-items:center;border-radius:8px;
  background:#e6f4f6;color:#138b97;font-size:15px;
}
.app-shell .nav-link.nav-sub-link:not(.mpi-content *){
  position:relative;margin-left:36px;width:calc(100% - 36px);
  padding:9px 10px 9px 12px;min-height:34px;border-radius:9px;
  color:#60738a;font-size:11px;font-weight:650;
}
.app-shell .nav-link.nav-sub-link:not(.mpi-content *):before{
  content:"";position:absolute;left:-15px;top:50%;width:7px;height:7px;
  transform:translateY(-50%);border:1.5px solid #a8b7c7;border-radius:50%;
  background:#fff;
}
.app-shell .nav-link.nav-sub-link.active:not(.mpi-content *){
  background:#e9f6f7!important;border-color:#cde8eb!important;color:#087f8b!important;
}
.app-shell .nav-link.nav-sub-link.active:not(.mpi-content *):before{
  border-color:#0d98a3;background:#0d98a3;box-shadow:0 0 0 3px #d8f0f1;
}
@media(max-width:760px){
  .app-shell .nav-group-title:not(.mpi-content *){padding-top:7px}
  .app-shell .nav-link.nav-sub-link:not(.mpi-content *){
    margin-left:31px;width:calc(100% - 31px);padding-top:8px;padding-bottom:8px;
  }
}


/* Chapter-first curriculum navigation: no generic "Materi MPI > Katalog" level. */
.app-shell .side-nav:not(.mpi-content *){
  display:flex;flex:1;min-height:0;flex-direction:column;gap:5px;
  overflow-x:hidden;overflow-y:auto;padding:2px 3px 10px 0;
  scrollbar-width:thin;scrollbar-color:#cbd6e2 transparent;
}
.app-shell .chapter-nav:not(.mpi-content *){
  display:grid;gap:4px;margin:2px 0 10px;padding:2px 0 12px;
  border-bottom:1px solid #e6edf4;
}
.app-shell .chapter-nav-group:not(.mpi-content *){
  min-width:0;border:1px solid transparent;border-radius:10px;
}
.app-shell .chapter-nav-group>summary:not(.mpi-content *){
  display:flex;align-items:flex-start;gap:6px;padding:8px 7px;
  list-style:none;border-radius:8px;color:#2d415b;cursor:pointer;
  font-size:10px;font-weight:800;line-height:1.35;
}
.app-shell .chapter-nav-group>summary::-webkit-details-marker{display:none}
.app-shell .chapter-nav-group>summary:not(.mpi-content *):hover{
  background:#f2f7fa;
}
.app-shell .chapter-nav-group[open]:not(.mpi-content *)>summary{
  background:#edf6f8;color:#126f7d;
}
.app-shell .chapter-nav-heading:not(.mpi-content *){
  flex:none;min-width:38px;padding:3px 5px;border-radius:5px;
  background:#e8eef5;color:#51677f;text-align:center;
  font-size:8px;font-weight:900;letter-spacing:.03em;
}
.app-shell .chapter-nav-group[open]:not(.mpi-content *) .chapter-nav-heading{
  background:#d8eff1;color:#087f8b;
}
.app-shell .chapter-nav-title:not(.mpi-content *){
  flex:1;min-width:0;overflow-wrap:anywhere;
}
.app-shell .chapter-nav-chevron:not(.mpi-content *){
  flex:none;width:7px;height:7px;margin:3px 2px 0 0;
  border-right:1.5px solid #8b9bad;border-bottom:1.5px solid #8b9bad;
  transform:rotate(45deg);transition:transform .15s;
}
.app-shell .chapter-nav-group[open]:not(.mpi-content *) .chapter-nav-chevron{
  transform:rotate(225deg);margin-top:6px;
}
.app-shell .chapter-nav-items:not(.mpi-content *){
  display:grid;gap:2px;margin:2px 0 6px 11px;padding:2px 0 2px 7px;
  border-left:1px solid #dce5ed;
}
.app-shell .chapter-nav-item:not(.mpi-content *){
  display:flex;align-items:flex-start;gap:5px;min-width:0;
  padding:7px 5px;border:1px solid transparent;border-radius:7px;
  color:#60738a;font-size:9px;font-weight:650;line-height:1.35;
  text-decoration:none;overflow-wrap:anywhere;
}
.app-shell a.chapter-nav-item:not(.mpi-content *):hover{
  background:#f1f7fa;color:#1c405a;
}
.app-shell .chapter-nav-item.active:not(.mpi-content *){
  background:#e6f5f6;border-color:#cce9eb;color:#087f8b;font-weight:800;
}
.app-shell .chapter-nav-code:not(.mpi-content *){
  flex:none;width:25px;padding-top:1px;color:#168d9a;
  font-size:8px;font-weight:900;
}
.app-shell .chapter-nav-text:not(.mpi-content *){
  flex:1;min-width:0;overflow-wrap:anywhere;
}
.app-shell .chapter-nav-status:not(.mpi-content *){
  flex:none;width:10px;text-align:center;color:#a0adbc;
  font-size:9px;font-weight:900;
}
.app-shell .chapter-nav-item.completed:not(.mpi-content *) .chapter-nav-status{color:#15956d}
.app-shell .chapter-nav-item.locked:not(.mpi-content *){
  color:#9aa8b7;cursor:not-allowed;opacity:.78;
}
.app-shell .chapter-nav-item.locked:not(.mpi-content *) .chapter-nav-code{color:#aab6c3}
.app-shell .mpi-section-wrap:not(.mpi-content *){
  flex:none;margin:7px 0 10px;padding:12px 5px 9px;
  border-top:1px solid #e6edf4;border-bottom:1px solid #e6edf4;
}
.app-shell .sidebar-bottom:not(.mpi-content *){
  flex:none;margin-top:auto;
}
@media(max-width:760px){
  .app-shell .side-nav:not(.mpi-content *){
    display:flex;flex-direction:column;gap:5px;max-height:55vh;
    overflow-x:hidden;overflow-y:auto;padding:4px 2px 8px 0;
  }
  .app-shell .nav-link:not(.mpi-content *){
    flex:none;width:100%;padding:8px 10px;font-size:11px;
  }
  .app-shell .chapter-nav:not(.mpi-content *){margin-bottom:8px;padding-bottom:8px}
  .app-shell .chapter-nav-group>summary:not(.mpi-content *){padding:7px 6px}
  .app-shell .chapter-nav-item:not(.mpi-content *){font-size:9px;padding:6px 5px}
}

/* ==========================================================
   LMS TYPOGRAPHY UPDATE — readable desktop and mobile sizes
   Version 1.4.0
   ========================================================== */
.app-shell,
.auth-body{
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Main LMS text */
.app-shell p:not(.mpi-content *),
.app-shell li:not(.mpi-content *),
.app-shell td:not(.mpi-content *),
.app-shell label:not(.mpi-content *),
.app-shell input:not(.mpi-content *),
.app-shell textarea:not(.mpi-content *),
.app-shell select:not(.mpi-content *),
.app-shell button:not(.mpi-content *),
.app-shell .btn:not(.mpi-content *),
.app-shell .alert:not(.mpi-content *),
.app-shell .task-prompt p:not(.mpi-content *),
.app-shell .locked-task p:not(.mpi-content *){
  font-size:15px!important;
  line-height:1.6;
}
.app-shell h1:not(.mpi-content *){font-size:clamp(30px,3vw,40px)!important;line-height:1.16}
.app-shell h2:not(.mpi-content *){font-size:24px!important;line-height:1.3}
.app-shell h3:not(.mpi-content *){font-size:19px!important;line-height:1.4}
.app-shell small:not(.mpi-content *),
.app-shell .muted:not(.mpi-content *){font-size:14px!important;line-height:1.55}
.app-shell .eyebrow:not(.mpi-content *),
.app-shell .nav-caption:not(.mpi-content *),
.app-shell .mpi-section-kicker:not(.mpi-content *){font-size:12px!important;letter-spacing:.11em}

/* Header, sidebar, and curriculum navigation */
.app-shell .brand b:not(.mpi-content *){font-size:16px!important}
.app-shell .brand small:not(.mpi-content *){font-size:13px!important}
.app-shell .nav-link:not(.mpi-content *){font-size:15px!important;line-height:1.45}
.app-shell .nav-group-title:not(.mpi-content *){font-size:14px!important}
.app-shell .chapter-nav-group>summary:not(.mpi-content *){font-size:13.5px!important;line-height:1.45}
.app-shell .chapter-nav-heading:not(.mpi-content *){font-size:11px!important;min-width:42px}
.app-shell .chapter-nav-item:not(.mpi-content *){font-size:13px!important;line-height:1.45;padding:8px 6px}
.app-shell .chapter-nav-code:not(.mpi-content *){font-size:11px!important;width:30px}
.app-shell .chapter-nav-status:not(.mpi-content *){font-size:12px!important}
.app-shell .mpi-section-module>b:not(.mpi-content *){font-size:14px!important;line-height:1.5}
.app-shell .mpi-section-module>span:not(.mpi-content *){font-size:12px!important}
.app-shell .mpi-section-link:not(.mpi-content *){font-size:13.5px!important;line-height:1.45;padding:9px 8px}
.app-shell .mpi-section-index:not(.mpi-content *){font-size:12px!important;width:22px}
.app-shell .top-title:not(.mpi-content *){font-size:15px!important}
.app-shell .user-meta b:not(.mpi-content *){font-size:14px!important}
.app-shell .user-meta small:not(.mpi-content *){font-size:13px!important}
.app-shell .side-role:not(.mpi-content *){font-size:12px!important}
.app-shell .footer:not(.mpi-content *){font-size:13px!important;line-height:1.5}

/* Dashboard cards and status labels */
.app-shell .welcome-row p:not(.mpi-content *){font-size:16px!important;line-height:1.65}
.app-shell .welcome-chip span:not(.mpi-content *){font-size:12px!important}
.app-shell .welcome-chip b:not(.mpi-content *){font-size:28px!important}
.app-shell .stat-card>div b:not(.mpi-content *){font-size:27px!important}
.app-shell .stat-card>div small:not(.mpi-content *){font-size:14px!important}
.app-shell .next-panel p:not(.mpi-content *){font-size:15px!important;line-height:1.65}
.app-shell .completion-ring b:not(.mpi-content *){font-size:25px!important}
.app-shell .completion-ring small:not(.mpi-content *){font-size:13px!important}
.app-shell .section-heading p:not(.mpi-content *){font-size:14px!important}
.app-shell .text-link:not(.mpi-content *){font-size:14px!important}
.app-shell .chapter-title span:not(.mpi-content *){font-size:14px!important;letter-spacing:.06em}
.app-shell .chapter-title small:not(.mpi-content *){font-size:13px!important}
.app-shell .module-code:not(.mpi-content *){font-size:13px!important}
.app-shell .status-pill:not(.mpi-content *){font-size:12px!important;padding:5px 10px}
.app-shell .module-card h3:not(.mpi-content *){font-size:18px!important;min-height:0;line-height:1.4}
.app-shell .module-card p:not(.mpi-content *){font-size:14px!important;line-height:1.6;min-height:0}
.app-shell .module-card-bottom:not(.mpi-content *){font-size:13px!important}
.app-shell .table-panel table:not(.mpi-content *){font-size:14px!important}
.app-shell th:not(.mpi-content *){font-size:12px!important;letter-spacing:.05em}
.app-shell td:not(.mpi-content *){font-size:14px!important}
.app-shell .panel-head h2:not(.mpi-content *){font-size:20px!important}
.app-shell .panel-head p:not(.mpi-content *){font-size:14px!important}
.app-shell .progress-legend:not(.mpi-content *){font-size:13px!important}
.app-shell .quick-links b:not(.mpi-content *){font-size:14px!important}
.app-shell .quick-links small:not(.mpi-content *){font-size:13px!important}
.app-shell .chapter-summary>div:not(.mpi-content *){font-size:14px!important}

/* Lesson, reading progress, tasks, forms, and monitoring */
.app-shell .learning-head h1:not(.mpi-content *){font-size:clamp(28px,3vw,36px)!important}
.app-shell .learning-head p:not(.mpi-content *){font-size:16px!important;line-height:1.65}
.app-shell .back-link:not(.mpi-content *){font-size:14px!important}
.app-shell .reader-top b:not(.mpi-content *){font-size:17px!important}
.app-shell .reader-top small:not(.mpi-content *){font-size:14px!important}
.app-shell .read-meter b:not(.mpi-content *){font-size:24px!important}
.app-shell .read-meter small:not(.mpi-content *){font-size:13px!important}
.app-shell .reader-note:not(.mpi-content *){font-size:14px!important;line-height:1.6}
.app-shell .task-heading p:not(.mpi-content *){font-size:14px!important}
.app-shell .task-number:not(.mpi-content *){font-size:13px!important}
.app-shell .task-prompt b:not(.mpi-content *){font-size:15px!important}
.app-shell .task-prompt p:not(.mpi-content *){font-size:15px!important}
.app-shell .locked-task b:not(.mpi-content *){font-size:15px!important}
.app-shell .locked-task p:not(.mpi-content *){font-size:14px!important}
.app-shell .form-stack label:not(.mpi-content *),
.app-shell .grade-form label:not(.mpi-content *),
.app-shell .edit-grid label:not(.mpi-content *){font-size:14px!important}
.app-shell .form-stack input:not(.mpi-content *),
.app-shell .form-stack textarea:not(.mpi-content *),
.app-shell .form-stack select:not(.mpi-content *),
.app-shell .grade-form input:not(.mpi-content *),
.app-shell .grade-form textarea:not(.mpi-content *){font-size:16px!important;min-height:42px}
.app-shell .empty-state p:not(.mpi-content *){font-size:15px!important}
.app-shell .user-row-main b:not(.mpi-content *),
.app-shell .submission-main b:not(.mpi-content *){font-size:14px!important}
.app-shell .user-row-main small:not(.mpi-content *),
.app-shell .submission-main small:not(.mpi-content *){font-size:13px!important}
.app-shell .role-pill:not(.mpi-content *){font-size:12px!important}
.app-shell .submission-module b:not(.mpi-content *){font-size:13px!important}
.app-shell .submission-module small:not(.mpi-content *){font-size:13px!important}
.app-shell .answer-box p:not(.mpi-content *){font-size:14px!important;line-height:1.65}

/* Login and installation screens */
.auth-body p{font-size:16px!important;line-height:1.65}
.auth-body small{font-size:14px!important}
.auth-body .eyebrow{font-size:12px!important}
.auth-body .auth-intro h1{font-size:clamp(36px,5vw,58px)!important}
.auth-body .auth-intro p{font-size:16px!important}
.auth-body .auth-card h2,.auth-body .install-card h1{font-size:26px!important}
.auth-body .auth-card>p{font-size:15px!important}
.auth-body .auth-help{font-size:14px!important}
.auth-body .form-stack label{font-size:15px!important}
.auth-body input,.auth-body button,.auth-body .btn{font-size:15px!important;min-height:42px}
.auth-body .install-card p,.auth-body .install-steps{font-size:14px!important}

/* Embedded MPI material: keep original layout and interaction, raise small text. */
.mpi-content{font-size:16px!important;line-height:1.6}
.mpi-content .mpi-module-content :is(p,li){font-size:16px!important;line-height:1.7!important}
.mpi-content .mpi-module-content :is(td,th){font-size:14px!important;line-height:1.55!important}
.mpi-content .mpi-module-content :is(label,button,a){font-size:15px!important;line-height:1.5!important}
.mpi-content .mpi-module-content small{font-size:14px!important;line-height:1.5!important}
.mpi-content .mpi-module-content :is(summary,figcaption,blockquote){font-size:15px!important;line-height:1.6!important}
.mpi-content .mpi-module-content :is(h1,h2,h3,h4,h5,h6){line-height:1.25}

/* Mobile: preserve comfortable sizes instead of shrinking labels. */
@media(max-width:760px){
  .app-shell{font-size:15px}
  .app-shell h1:not(.mpi-content *){font-size:30px!important}
  .app-shell h2:not(.mpi-content *){font-size:22px!important}
  .app-shell h3:not(.mpi-content *){font-size:18px!important}
  .app-shell .nav-link:not(.mpi-content *){font-size:14px!important;padding:10px 11px}
  .app-shell .chapter-nav-group>summary:not(.mpi-content *){font-size:13px!important}
  .app-shell .chapter-nav-item:not(.mpi-content *){font-size:13px!important;padding:8px 6px}
  .app-shell .mpi-section-link:not(.mpi-content *){font-size:13px!important}
  .app-shell .welcome-row p:not(.mpi-content *){font-size:15px!important}
  .app-shell .module-card p:not(.mpi-content *){font-size:14px!important}
  .app-shell .footer:not(.mpi-content *){font-size:12px!important}
  .app-shell .reader-frame-wrap iframe:not(.mpi-content *){min-height:560px}
  .mpi-content .mpi-module-content :is(p,li){font-size:15px!important}
}
@media(max-width:420px){
  .app-shell .stat-card>div small:not(.mpi-content *){font-size:13px!important}
  .app-shell .welcome-row p:not(.mpi-content *){font-size:14px!important}
}

@media(max-width:640px){.app-shell .footer:not(.mpi-content *){font-size:12px;padding:14px 12px;line-height:1.7}}

/* SINAUKU brand identity */
.app-shell .brand:not(.mpi-content *){align-items:flex-start}
.app-shell .brand-copy:not(.mpi-content *){display:block;min-width:0}
.app-shell .brand-tagline:not(.mpi-content *){display:block;max-width:158px;margin-top:4px;color:#a9bdd2;font-size:9px;line-height:1.45;font-weight:500;white-space:normal}
.app-shell .brand-tagline strong:not(.mpi-content *){color:#e4f8fb;font-weight:900}
.auth-body .auth-brand{display:flex;align-items:center;gap:15px;margin-bottom:28px}
.auth-body .auth-brand .brand-mark.large{width:58px;height:58px;margin:0;font-size:18px}
.auth-body .auth-brand-copy>strong{display:block;color:#172d48;font:900 24px/1.1 Manrope,sans-serif;letter-spacing:.02em}
.auth-body .auth-brand-copy .brand-tagline{display:block;max-width:340px;margin-top:6px;color:#61758d;font-size:12px;line-height:1.5}
.auth-body .auth-brand-copy .brand-tagline strong{color:#0d8995;font-weight:900}
.auth-body .install-brand-tagline{display:block;margin:0 0 20px;color:#61758d;font-size:12px;line-height:1.55}
.auth-body .install-brand-tagline strong{color:#0d8995;font-weight:900}
@media(max-width:640px){
  .app-shell .brand-tagline:not(.mpi-content *){max-width:150px;font-size:9px}
  .auth-body .auth-brand-copy .brand-tagline{font-size:11px}
}


/* SINAUKU v1.6.1: compact, admin-configurable subject identity */
.app-shell .brand-subject:not(.mpi-content *) {
    display: -webkit-box;
    max-width: 170px;
    margin-top: 4px;
    overflow: hidden;
    color: #91a7c1;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.auth-body .auth-brand-copy .brand-subject {
    display: block;
    max-width: 300px;
    margin-top: 5px;
    color: #61758d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}
.auth-body .install-brand-subject {
    display: block;
    margin: 0 0 20px;
    color: #61758d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}
.settings-panel .settings-form { max-width: 620px; }
.settings-panel .settings-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 320px;
    margin: 4px 0 8px;
    padding: 14px;
    border: 1px solid #e3eaf1;
    border-radius: 14px;
    background: #f7fafc;
}
.settings-panel .settings-preview .brand-mark {
    width: 42px;
    height: 42px;
    margin: 0;
}
.settings-panel .settings-preview-copy { display: block; min-width: 0; }
.settings-panel .settings-preview-copy b {
    display: block;
    color: #172d48;
    font: 800 14px/1.2 Manrope, sans-serif;
}
.settings-panel .settings-preview-copy small {
    display: -webkit-box;
    overflow: hidden;
    color: #61758d;
    font-size: 12px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
@media(max-width:640px) {
    .app-shell .brand-subject:not(.mpi-content *) { max-width: 155px; font-size: 10px; }
    .auth-body .auth-brand-copy .brand-subject,
    .auth-body .install-brand-subject { font-size: 12px; }
}


/* SINAUKU v1.7.0 — professional login layout */
.auth-body {
    min-height: 100vh;
    min-height: 100svh;
    padding: clamp(24px, 4vw, 64px);
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 12% 16%, rgba(36, 190, 198, .12), transparent 34%),
        radial-gradient(ellipse at 88% 84%, rgba(67, 125, 220, .10), transparent 35%),
        #f4f8fc;
}
.auth-body .auth-layout {
    width: min(100%, 1160px);
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
    align-items: center;
    gap: clamp(52px, 7vw, 112px);
    margin: 0 auto;
}
.auth-body .auth-intro {
    width: 100%;
    max-width: 660px;
    padding: 18px 0 18px 10px;
}
.auth-body .auth-brand {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 0 0 clamp(44px, 6vh, 72px);
}
.auth-body .auth-brand .brand-mark.large {
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 19px;
    font-size: 19px;
    box-shadow: 0 12px 30px rgba(25, 157, 174, .22);
}
.auth-body .auth-brand-copy > strong {
    display: block;
    color: #142b45;
    font: 900 27px/1.1 Manrope, sans-serif;
    letter-spacing: .015em;
}
.auth-body .auth-brand-copy .brand-subject {
    display: -webkit-box;
    max-width: 360px;
    margin-top: 7px;
    overflow: hidden;
    color: #61758d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.auth-body .auth-intro > .eyebrow {
    margin-bottom: 19px;
    color: #078c99;
    font-size: 11px;
    letter-spacing: .19em;
}
.auth-body .auth-intro h1 {
    max-width: 660px;
    margin: 0;
    color: #142b45;
    font: 900 clamp(43px, 4.5vw, 62px)/1.045 Manrope, sans-serif;
    letter-spacing: -.052em;
}
.auth-body .auth-intro h1 span {
    color: #159ca7;
    background: linear-gradient(110deg, #119eaa 0%, #287fca 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-body .auth-card {
    justify-self: end;
    width: 100%;
    max-width: 460px;
    padding: 42px 40px;
    border: 1px solid #e3eaf2;
    border-radius: 25px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 28px 85px rgba(26, 52, 83, .11);
}
.auth-body .auth-card > .eyebrow {
    margin-bottom: 11px;
    color: #078c99;
    font-size: 10px;
    letter-spacing: .18em;
}
.auth-body .auth-card h2 {
    margin: 0 0 28px;
    color: #172d48;
    font: 850 28px/1.2 Manrope, sans-serif;
    letter-spacing: -.025em;
}
.auth-body .auth-card .form-stack {
    display: grid;
    gap: 21px;
}
.auth-body .auth-card .form-stack label {
    display: grid;
    gap: 9px;
    color: #344a63;
    font-size: 14px;
    font-weight: 750;
}
.auth-body .auth-card .form-stack input {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #fbfdff;
    color: #172d48;
    font: 500 15px/1.4 Manrope, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-body .auth-card .form-stack input:focus {
    border-color: #20aeba;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(32, 174, 186, .12);
}
.auth-body .auth-card .btn {
    min-height: 54px;
    margin-top: 3px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(25, 166, 186, .18);
}
.auth-body .auth-card .alert {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
}
@media (max-width: 920px) {
    .auth-body {
        padding: 34px 22px;
    }
    .auth-body .auth-layout {
        width: min(100%, 500px);
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .auth-body .auth-intro {
        padding: 0;
    }
    .auth-body .auth-brand {
        margin-bottom: 34px;
    }
    .auth-body .auth-intro h1 {
        font-size: clamp(38px, 7vw, 48px);
        max-width: 520px;
    }
    .auth-body .auth-card {
        justify-self: stretch;
        max-width: none;
        padding: 34px;
    }
}
@media (max-width: 520px) {
    .auth-body {
        padding: 25px 16px;
    }
    .auth-body .auth-layout {
        gap: 27px;
    }
    .auth-body .auth-brand {
        gap: 13px;
        margin-bottom: 29px;
    }
    .auth-body .auth-brand .brand-mark.large {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
    .auth-body .auth-brand-copy > strong {
        font-size: 23px;
    }
    .auth-body .auth-brand-copy .brand-subject {
        max-width: 250px;
        font-size: 12px;
    }
    .auth-body .auth-intro > .eyebrow {
        margin-bottom: 13px;
        font-size: 9px;
    }
    .auth-body .auth-intro h1 {
        font-size: clamp(35px, 9vw, 43px);
        line-height: 1.07;
    }
    .auth-body .auth-card {
        padding: 27px 23px;
        border-radius: 20px;
    }
    .auth-body .auth-card h2 {
        margin-bottom: 23px;
        font-size: 25px;
    }
    .auth-body .auth-card .form-stack {
        gap: 18px;
    }
}


/* SINAUKU v1.8.0 — Admin menu and academic master-data workspace */
.app-shell .admin-nav-group:not(.mpi-content *) {
    margin: 13px 0 8px;
    border: 1px solid #e3eaf1;
    border-radius: 13px;
    overflow: hidden;
    background: #fbfdff;
}
.app-shell .admin-nav-group > summary:not(.mpi-content *) {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    color: #243d58;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}
.app-shell .admin-nav-group > summary::-webkit-details-marker { display: none; }
.app-shell .admin-nav-group > summary .nav-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e9f6f8;
    color: #1195a0;
    font-size: 15px;
}
.app-shell .admin-nav-chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 1.5px solid #8192a5;
    border-bottom: 1.5px solid #8192a5;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.app-shell .admin-nav-group[open] .admin-nav-chevron { transform: rotate(225deg); }
.app-shell .admin-nav-items {
    display: grid;
    gap: 3px;
    padding: 0 8px 9px 14px;
}
.app-shell .admin-nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 9px;
    color: #60748b;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
}
.app-shell .admin-nav-link:hover,
.app-shell .admin-nav-link.active {
    color: #087f8b;
    background: #eaf7f8;
}
.app-shell .admin-nav-icon {
    width: 20px;
    text-align: center;
    color: #1597a2;
    font-size: 13px;
}
.app-shell .master-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, .75fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.app-shell .master-form-panel,
.app-shell .master-import-panel,
.app-shell .master-list-panel,
.app-shell .admin-info-panel {
    padding: 22px;
}
.app-shell .master-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 16px;
}
.app-shell .master-form-grid > label,
.app-shell .import-form > label:first-child {
    display: grid;
    gap: 7px;
    color: #344a63;
    font-size: 14px;
    font-weight: 750;
}
.app-shell .master-form-grid input:not([type="checkbox"]),
.app-shell .master-form-grid select,
.app-shell .master-form-grid textarea,
.app-shell .master-search input,
.app-shell .import-form input[type="file"] {
    width: 100%;
    min-height: 43px;
    padding: 10px 12px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    outline: 0;
    background: #fbfdff;
    color: #24364e;
    font: 500 14px/1.45 Manrope, sans-serif;
}
.app-shell .master-form-grid textarea { resize: vertical; min-height: 74px; }
.app-shell .master-form-grid input:focus,
.app-shell .master-form-grid select:focus,
.app-shell .master-form-grid textarea:focus,
.app-shell .master-search input:focus {
    border-color: #20aeba;
    box-shadow: 0 0 0 3px rgba(32,174,186,.12);
}
.app-shell .master-wide { grid-column: 1 / -1; }
.app-shell .master-check {
    display: flex!important;
    align-items: center;
    gap: 9px!important;
    min-height: 38px;
    color: #52677f!important;
    font-size: 13px!important;
    font-weight: 650!important;
}
.app-shell .master-check input { width: 17px; height: 17px; accent-color: #149ca8; }
.app-shell .master-form-actions { display: flex; align-items: end; justify-content: flex-end; }
.app-shell .master-subject-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
    margin: 0;
    padding: 13px;
    border: 1px solid #e4ebf2;
    border-radius: 12px;
}
.app-shell .master-subject-picker legend {
    padding: 0 6px;
    color: #344a63;
    font-size: 13px;
    font-weight: 800;
}
.app-shell .master-subject-picker label {
    display: inline-flex!important;
    align-items: center;
    gap: 7px!important;
    color: #52677f!important;
    font-size: 12px!important;
    font-weight: 600!important;
}
.app-shell .master-subject-picker input { width: 16px; height: 16px; accent-color: #149ca8; }
.app-shell .master-import-panel { background: linear-gradient(145deg,#fff 0%,#f8fcff 100%); }
.app-shell .master-import-panel .panel-head { align-items: center; }
.app-shell .import-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e7f7f8;
    color: #0c929d;
    font-size: 22px;
    font-weight: 800;
}
.app-shell .import-form { display: grid; gap: 10px; }
.app-shell .import-form small,
.app-shell .import-note {
    color: #71839a;
    font-size: 12px;
    line-height: 1.55;
}
.app-shell .import-form .btn { margin-top: 5px; }
.app-shell .template-link {
    display: inline-block;
    margin-top: 17px;
    color: #078b98;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.app-shell .template-link:hover { text-decoration: underline; }
.app-shell .import-note {
    margin: 13px 0 0;
    padding-top: 12px;
    border-top: 1px solid #e7edf3;
}
.app-shell .master-list-panel { overflow: hidden; }
.app-shell .master-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.app-shell .master-search { display: flex; align-items: center; gap: 7px; }
.app-shell .master-search input { width: min(260px, 40vw); min-height: 38px; }
.app-shell .master-table { min-width: 760px; }
.app-shell .master-table th {
    padding: 13px 14px;
    color: #647891;
    background: #f7f9fc;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}
.app-shell .master-table td {
    padding: 13px 14px;
    border-top: 1px solid #edf1f5;
    color: #52677f;
    font-size: 13px;
    line-height: 1.5;
    vertical-align: middle;
}
.app-shell .master-table td b { color: #24364e; font-size: 13px; }
.app-shell .master-table td:nth-child(3) { max-width: 280px; }
.app-shell .master-code {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 7px;
    background: #eaf7f8;
    color: #078b98;
    font-size: 12px;
    font-weight: 850;
}
.app-shell .master-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.app-shell .master-actions form { margin: 0; }
.app-shell .btn-danger {
    border: 1px solid #f2d5d5;
    background: #fff5f5;
    color: #b54444;
}
.app-shell .btn-danger:hover { background: #ffe9e9; }
.app-shell .master-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid #e9eef4;
    color: #70839a;
    font-size: 12px;
}
.app-shell .master-pagination > div {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.app-shell .master-pagination a,
.app-shell .master-pagination .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid #e2eaf1;
    border-radius: 8px;
    background: #fff;
    color: #4e657e;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.app-shell .master-pagination a.current {
    border-color: #149ca8;
    background: #eaf8f9;
    color: #07838f;
}
.app-shell .master-pagination .disabled { color: #aeb9c6; background: #f8fafc; }
.app-shell .admin-master-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 18px 0;
}
.app-shell .admin-master-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 116px;
    padding: 20px;
    border: 1px solid #e3eaf1;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.app-shell .admin-master-card:hover {
    transform: translateY(-2px);
    border-color: #b8e2e6;
    box-shadow: 0 14px 30px rgba(26,52,83,.09);
}
.app-shell .admin-master-icon {
    width: 46px;
    height: 46px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #e8f7f8;
    color: #1195a0;
    font-size: 21px;
}
.app-shell .admin-master-icon.blue { background: #edf2ff; color: #5578d8; }
.app-shell .admin-master-icon.green { background: #e8f8f1; color: #1b9a70; }
.app-shell .admin-master-icon.orange { background: #fff4e7; color: #d88935; }
.app-shell .admin-master-card > div { display: grid; gap: 4px; min-width: 0; flex: 1; }
.app-shell .admin-master-card b { color: #203751; font: 850 17px/1.25 Manrope,sans-serif; }
.app-shell .admin-master-card small { color: #71839a; font-size: 12px; line-height: 1.45; }
.app-shell .admin-master-card > strong { color: #1596a2; font: 850 23px Manrope,sans-serif; }
.app-shell .admin-info-panel { margin-top: 18px; }
@media(max-width: 1000px) {
    .app-shell .master-top-grid { grid-template-columns: 1fr; }
}
@media(max-width: 720px) {
    .app-shell .admin-master-cards { grid-template-columns: 1fr; }
    .app-shell .master-form-grid { grid-template-columns: 1fr; }
    .app-shell .master-wide { grid-column: auto; }
    .app-shell .master-list-heading { align-items: stretch; }
    .app-shell .master-search { width: 100%; }
    .app-shell .master-search input { width: 100%; flex: 1; }
    .app-shell .master-pagination { align-items: flex-start; flex-direction: column; }
    .app-shell .master-form-panel,
    .app-shell .master-import-panel,
    .app-shell .master-list-panel,
    .app-shell .admin-info-panel { padding: 16px; }
}


.app-shell .master-class-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 14px 15px;
    border: 1px solid #dfe9f1;
    border-radius: 12px;
    background: #fbfdff;
}
.app-shell .master-class-picker legend {
    padding: 0 7px;
    color: #344a63;
    font-size: 13px;
    font-weight: 800;
}
.app-shell .master-class-picker label {
    display: inline-flex!important;
    align-items: center;
    gap: 7px!important;
    color: #52677f!important;
    font-size: 13px!important;
    font-weight: 650!important;
}
.app-shell .master-class-picker input {
    width: 16px;
    height: 16px;
    accent-color: #149ca8;
}
.app-shell .master-class-picker > small {
    flex-basis: 100%;
    color: #71839a;
    font-size: 12px;
}
.app-shell .master-class-picker .required-mark { color: #d04b4b; }
.app-shell .subject-class-hint {
    display: block;
    margin-top: 3px;
    color: #71839a;
    font-size: 11px;
    font-weight: 500;
}


/* SINAUKU 1.11.1 — penyempurnaan tata letak administrasi data akademik.
   Aturan ini juga menegaskan ulang komponen halaman master agar konsisten
   pada semua browser setelah stylesheet diperbarui. */
.app-shell .admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #aebed2;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.app-shell .admin-nav-link:hover,
.app-shell .admin-nav-link.active {
    color: #fff;
    background: #1b354e;
    border-color: #315773;
}
.app-shell .admin-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 8px;
    background: #ffffff0d;
    color: #74dce0;
    font-size: 14px;
}
.app-shell .admin-nav-link.active .admin-nav-icon {
    color: #092237;
    background: #1eb9c4;
}

.app-shell .master-top-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.28fr) minmax(340px, .82fr);
    align-items: stretch;
    gap: 20px;
    margin: 0 0 20px;
}
.app-shell .master-top-grid > .panel {
    min-width: 0;
    height: 100%;
    padding: 24px;
    border: 1px solid #e1e9f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(21,38,66,.065);
}
.app-shell .master-form-panel .panel-head,
.app-shell .master-import-panel .panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 0 20px;
}
.app-shell .master-form-panel .panel-head h2,
.app-shell .master-import-panel .panel-head h2 {
    margin: 0 0 5px;
    color: #182943;
    font: 800 19px/1.3 Manrope, sans-serif;
}
.app-shell .master-form-panel .panel-head p,
.app-shell .master-import-panel .panel-head p {
    margin: 0;
    color: #71839a;
    font-size: 13px;
    line-height: 1.5;
}

.app-shell .master-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 17px 18px;
    width: 100%;
    margin: 0;
}
.app-shell .master-form-grid > label {
    display: grid !important;
    align-content: start;
    gap: 8px !important;
    min-width: 0;
    color: #344a63 !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    line-height: 1.4;
}
.app-shell .master-form-grid input:not([type="checkbox"]),
.app-shell .master-form-grid select,
.app-shell .master-form-grid textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    outline: none;
    background: #fbfdff;
    color: #24364e;
    font: 500 14px/1.45 "DM Sans", system-ui, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.app-shell .master-form-grid input:not([type="checkbox"]):focus,
.app-shell .master-form-grid select:focus,
.app-shell .master-form-grid textarea:focus,
.app-shell .master-search input:focus {
    border-color: #20aeba;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(32,174,186,.12);
}
.app-shell .master-form-grid textarea {
    min-height: 88px;
    resize: vertical;
}
.app-shell .master-form-grid .master-wide {
    grid-column: 1 / -1;
}
.app-shell .master-form-grid fieldset.master-class-picker {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    align-items: start;
    gap: 11px 14px;
    min-width: 0;
    margin: 0;
    padding: 15px 16px 14px;
    border: 1px solid #dfe8f1;
    border-radius: 13px;
    background: #f9fbfe;
}
.app-shell .master-class-picker legend {
    padding: 0 7px;
    color: #344a63;
    font-size: 13px;
    font-weight: 800;
}
.app-shell .master-class-picker label {
    display: flex !important;
    align-items: center;
    gap: 9px !important;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #e5edf4;
    border-radius: 9px;
    background: #fff;
    color: #52677f !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.4;
}
.app-shell .master-class-picker label:has(input:checked) {
    border-color: #9bdde1;
    background: #effafb;
    color: #087f8b !important;
}
.app-shell .master-class-picker input,
.app-shell .master-form-grid .master-check input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 0;
    accent-color: #149ca8;
}
.app-shell .master-class-picker > small {
    grid-column: 1 / -1;
    color: #71839a;
    font-size: 12px;
    line-height: 1.5;
}
.app-shell .master-form-grid .master-check {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    align-self: center;
    gap: 9px !important;
    min-height: 42px;
    margin: 0;
    color: #52677f !important;
    font-size: 13px !important;
    font-weight: 650 !important;
}
.app-shell .master-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: center;
    min-height: 42px;
}
.app-shell .master-form-actions .btn {
    min-height: 43px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 13px;
}

.app-shell .master-import-panel {
    display: flex;
    flex-direction: column;
    background: linear-gradient(150deg, #fff 0%, #f6fbff 100%);
}
.app-shell .master-import-panel .import-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 13px;
    background: #e7f7f8;
    color: #0c929d;
    font-size: 22px;
}
.app-shell .import-form {
    display: grid;
    gap: 11px;
    width: 100%;
}
.app-shell .import-form > label:first-child {
    display: block;
    color: #344a63;
    font-size: 13px;
    font-weight: 750;
}
.app-shell .import-form input[type="file"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 7px;
    border: 1px dashed #cbd9e7;
    border-radius: 10px;
    background: #fff;
    color: #52677f;
    font: 500 13px/1.4 "DM Sans", system-ui, sans-serif;
}
.app-shell .import-form input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 12px;
    border: 0;
    border-radius: 7px;
    background: #edf3f9;
    color: #344a63;
    font: 700 12px "DM Sans", system-ui, sans-serif;
    cursor: pointer;
}
.app-shell .import-form small,
.app-shell .import-note {
    color: #71839a;
    font-size: 12px;
    line-height: 1.6;
}
.app-shell .import-form .btn {
    width: 100%;
    min-height: 44px;
    margin-top: 2px;
}
.app-shell .template-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 17px;
    color: #078b98;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
}
.app-shell .import-note {
    margin: auto 0 0;
    padding-top: 13px;
    border-top: 1px solid #e7edf3;
}

.app-shell .master-list-panel {
    padding: 0;
    overflow: hidden;
    border: 1px solid #e1e9f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(21,38,66,.065);
}
.app-shell .master-list-panel .panel-head {
    padding: 22px 24px 17px;
}
.app-shell .master-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.app-shell .master-list-heading h2 {
    margin: 0 0 5px;
    color: #182943;
    font: 800 19px/1.3 Manrope, sans-serif;
}
.app-shell .master-list-heading p {
    margin: 0;
    color: #71839a;
    font-size: 13px;
}
.app-shell .master-search {
    display: flex;
    align-items: center;
    gap: 8px;
}
.app-shell .master-search input {
    width: min(280px, 34vw);
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #dce5ef;
    border-radius: 10px;
    background: #fbfdff;
    color: #24364e;
    font: 500 14px "DM Sans", system-ui, sans-serif;
}
.app-shell .master-list-panel .table-scroll {
    margin: 0 18px 18px;
    overflow: auto;
    border: 1px solid #edf1f5;
    border-radius: 12px;
}
.app-shell .master-list-panel .master-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}
.app-shell .master-list-panel .master-table th {
    padding: 14px 15px;
    background: #f5f8fc;
    color: #647891;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .06em;
    white-space: nowrap;
}
.app-shell .master-list-panel .master-table td {
    padding: 14px 15px;
    border-top: 1px solid #edf1f5;
    color: #52677f;
    font-size: 13px;
    line-height: 1.55;
    vertical-align: middle;
}
.app-shell .master-list-panel .master-table td b {
    color: #24364e;
    font-size: 13px;
}
.app-shell .master-list-panel .master-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}
.app-shell .master-list-panel .master-actions form { margin: 0; }
.app-shell .master-list-panel .master-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px 20px;
    color: #71839a;
    font-size: 12px;
}
.app-shell .master-list-panel .master-pagination > div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.app-shell .master-list-panel .master-pagination a,
.app-shell .master-list-panel .master-pagination .disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    background: #fff;
    color: #52677f;
    font-size: 12px;
    font-weight: 700;
}
.app-shell .master-list-panel .master-pagination a.current {
    border-color: #149ca8;
    background: #eaf8f9;
    color: #087f8b;
}
.app-shell .master-list-panel .master-pagination .disabled { opacity: .45; }
@media (max-width: 1100px) {
    .app-shell .master-top-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 720px) {
    .app-shell .master-top-grid { gap: 14px; }
    .app-shell .master-top-grid > .panel { padding: 17px; }
    .app-shell .master-form-grid { grid-template-columns: minmax(0, 1fr); }
    .app-shell .master-form-grid .master-wide { grid-column: 1; }
    .app-shell .master-list-panel .panel-head { padding: 17px; }
    .app-shell .master-list-panel .table-scroll { margin: 0 12px 12px; }
    .app-shell .master-search { width: 100%; }
    .app-shell .master-search input { width: 100%; flex: 1; }
    .app-shell .master-list-panel .master-pagination {
        align-items: flex-start;
        flex-direction: column;
        padding: 0 17px 17px;
    }
}


/* SINAUKU 1.12.0 — pembelajaran mandiri guru dan ruang belajar online */
.app-shell .learning-panel{margin-bottom:18px}
.app-shell .learning-panel-icon{width:38px;height:38px;border-radius:12px;background:#e8f8f8;color:#0d9ca8;display:grid;place-items:center;font-size:22px;flex:none}
.app-shell .learning-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.app-shell .learning-form-grid>label{display:grid;gap:7px;color:#43546a;font-size:13px;font-weight:700;min-width:0}
.app-shell .learning-form-grid input:not([type=checkbox]),
.app-shell .learning-form-grid select,
.app-shell .learning-form-grid textarea{width:100%;min-width:0;border:1px solid #dce4ed;border-radius:11px;background:#fbfcfe;padding:11px 13px;color:#24364e;font:inherit;font-size:14px;outline:none}
.app-shell .learning-form-grid textarea{resize:vertical;min-height:92px;line-height:1.6}
.app-shell .learning-form-grid input:focus,
.app-shell .learning-form-grid select:focus,
.app-shell .learning-form-grid textarea:focus{border-color:#42bdc7;box-shadow:0 0 0 3px #1cb9c61a}
.app-shell .learning-form-grid label small{font-size:12px;line-height:1.5;font-weight:400}
.app-shell .learning-wide{grid-column:1/-1}
.app-shell .learning-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.app-shell .learning-check{display:flex!important;align-items:center;gap:9px!important;font-size:13px!important}
.app-shell .learning-check input{width:17px;height:17px;accent-color:#12a8b4}
.app-shell .learning-delete-course{display:flex;justify-content:flex-end;padding-top:14px;margin-top:14px;border-top:1px solid var(--line)}
.app-shell .learning-back-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}
.app-shell .learning-course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.app-shell .learning-course-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;box-shadow:var(--shadow)}
.app-shell .learning-course-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.app-shell .learning-subject-tag{display:inline-flex;padding:5px 9px;border-radius:8px;background:#e8f8f8;color:#078d98;font-size:11px;font-weight:800}
.app-shell .learning-course-card h3{font-size:18px!important;margin:0 0 7px!important}
.app-shell .learning-course-card>p{font-size:13px;color:var(--muted);min-height:42px;line-height:1.65}
.app-shell .learning-course-meta{display:flex;gap:8px;flex-wrap:wrap;padding:11px 0;border-top:1px solid var(--line);color:#61748b;font-size:12px}
.app-shell .learning-course-meta span{background:#f4f7fb;border-radius:7px;padding:4px 7px}
.app-shell .learning-course-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;flex-wrap:wrap}
.app-shell .learning-course-actions .muted{font-size:12px}
.app-shell .learning-item-list{display:grid;gap:10px}
.app-shell .learning-item-row{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:0 4px 15px #15223808;min-width:0}
.app-shell .learning-item-number{width:38px;height:38px;border-radius:11px;background:#eaf7f8;color:#0b929d;display:grid;place-items:center;font:800 13px Manrope;flex:none}
.app-shell .learning-item-main{flex:1;min-width:0}
.app-shell .learning-item-main>b{display:block;font-size:14px;margin:5px 0}
.app-shell .learning-item-main>small{font-size:12px}
.app-shell .learning-item-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.app-shell .learning-item-tags>span:first-child{font-size:11px;font-weight:700;color:#0d8d99}
.app-shell .learning-item-actions{display:flex;gap:7px;align-items:center;flex:none}
.app-shell .learning-item-actions form{margin:0}
.app-shell .quiz-builder{padding:16px;border:1px solid #dce8ef;border-radius:14px;background:#f8fbfd}
.app-shell .quiz-builder-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.app-shell .quiz-builder-head b{display:block;font-size:14px}
.app-shell .quiz-builder-head small{display:block;font-size:12px;margin-top:3px}
.app-shell .quiz-question-card{background:#fff;border:1px solid #e0e8ef;border-radius:12px;padding:14px;margin-top:10px;display:grid;gap:11px}
.app-shell .quiz-question-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.app-shell .quiz-question-top b{font-size:13px;color:#0b8995}
.app-shell .quiz-question-card label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#43546a}
.app-shell .quiz-question-card input,.app-shell .quiz-question-card select,.app-shell .quiz-question-card textarea{width:100%;border:1px solid #dce4ed;border-radius:9px;background:#fbfcfe;padding:9px 11px;color:#24364e;font:inherit;font-size:13px}
.app-shell .quiz-question-card textarea{resize:vertical}
.app-shell .quiz-question-grid{display:grid;grid-template-columns:1fr 160px;gap:12px}
.app-shell .learning-intro{background:linear-gradient(120deg,#fff,#f0fbfc);border:1px solid #d9edf0;border-radius:17px;padding:18px 20px;margin-bottom:16px}
.app-shell .learning-intro p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.7}
.app-shell .learning-item-link{display:flex;align-items:center;gap:12px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:13px}
.app-shell .learning-item-link:hover{border-color:#9bdce0;box-shadow:0 6px 18px #172b460c}
.app-shell .learning-item-link .learning-item-main{flex:1}
.app-shell .learning-item-link .learning-item-main>b{display:block;font-size:14px;margin:4px 0}
.app-shell .learning-item-link .learning-item-main>small{font-size:12px}
.app-shell .learning-type-icon{width:38px;height:38px;border-radius:11px;background:#edf7fa;color:#168e9a;display:grid;place-items:center;font-size:17px;flex:none}
.app-shell .learning-content{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:15px;color:#354a63;font-size:15px;line-height:1.85;white-space:normal}
.app-shell .learning-resource-frame{position:relative;aspect-ratio:16/9;background:#101c31;border-radius:14px;overflow:hidden;margin:15px 0}
.app-shell .learning-resource-frame iframe{width:100%;height:100%;border:0;display:block}
.app-shell .learning-resource-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}
.app-shell .learning-quiz-question{padding:16px;background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:12px}
.app-shell .learning-quiz-question h3{font-size:15px!important;line-height:1.6!important}
.app-shell .learning-quiz-options{display:grid;gap:9px;margin-top:12px}
.app-shell .learning-quiz-options label{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e4eaf2;border-radius:10px;background:#fbfcfe;font-size:14px;font-weight:500}
.app-shell .learning-quiz-options input{margin-top:4px;accent-color:#0ca5b0}
.app-shell .learning-answer-box{padding:15px;border:1px solid #dce8ef;background:#f7fafc;border-radius:12px;margin:12px 0}
.app-shell .learning-answer-box p{font-size:14px;line-height:1.7;margin:6px 0}
.app-shell .learning-score{display:inline-flex;align-items:center;padding:8px 12px;border-radius:10px;background:#e8f8ef;color:#147b55;font-weight:800;font-size:14px}
.app-shell .learning-submission-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px;box-shadow:var(--shadow);margin-bottom:12px}
.app-shell .learning-submission-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.app-shell .learning-submission-head h3{margin:4px 0!important}
.app-shell .learning-submission-head p{font-size:12px;color:var(--muted);margin:0}
.app-shell .learning-grading-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:14px;margin-top:14px}
.app-shell .learning-grading-form{display:grid;gap:10px;align-content:start}
.app-shell .learning-grading-form label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#43546a}
.app-shell .learning-grading-form input,.app-shell .learning-grading-form textarea{width:100%;border:1px solid #dce4ed;border-radius:10px;background:#fbfcfe;padding:10px 12px;font:inherit}
.app-shell .learning-grading-form textarea{min-height:85px}
.app-shell .learning-empty-note{padding:14px 16px;border:1px dashed #d7e1ea;border-radius:12px;background:#fafcfe;color:#6b7e93;font-size:13px}
@media(max-width:900px){
  .app-shell .learning-course-grid{grid-template-columns:1fr}
  .app-shell .learning-grading-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .app-shell .learning-form-grid{grid-template-columns:1fr}
  .app-shell .learning-wide{grid-column:1}
  .app-shell .learning-item-row{align-items:flex-start;flex-wrap:wrap}
  .app-shell .learning-item-actions{width:100%;justify-content:flex-end}
  .app-shell .quiz-builder-head{align-items:flex-start;flex-direction:column}
  .app-shell .quiz-question-grid{grid-template-columns:1fr}
  .app-shell .learning-submission-head{flex-direction:column}
  .app-shell .learning-content{padding:14px;font-size:14px}
}


/* SINAUKU v1.14.0 — penyusunan kuis yang lebih mudah dipahami */
.app-shell .quiz-question-card{gap:14px;padding:18px}
.app-shell .quiz-question-hint{display:block;color:#7a8da3;font-size:12px;font-weight:500;margin-top:4px}
.app-shell .quiz-options-editor,
.app-shell .quiz-answer-editor,
.app-shell .quiz-rubric-editor{padding:14px;border:1px solid #e0eaf0;border-radius:12px;background:#f8fbfd}
.app-shell .quiz-field-title{font-size:13px;font-weight:800;color:#263b55;margin-bottom:4px}
.app-shell .quiz-field-help{display:block;color:#71839a;font-size:12px;line-height:1.55;margin:4px 0 10px}
.app-shell .quiz-option-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.app-shell .quiz-option-input-row{display:flex!important;align-items:center;gap:9px;padding:8px 10px;border:1px solid #e1e9f0;border-radius:10px;background:#fff;min-width:0}
.app-shell .quiz-option-input-row:last-child:nth-child(odd){grid-column:1/-1}
.app-shell .quiz-option-letter{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#e7f5f7;color:#078b97;font-size:13px;font-weight:900}
.app-shell .quiz-question-card .quiz-option-input-row input{min-width:0;flex:1;border:0;background:transparent;padding:7px 4px;box-shadow:none}
.app-shell .quiz-key-options{display:flex;flex-wrap:wrap;gap:9px}
.app-shell .quiz-key-option{display:flex!important;flex-direction:row;align-items:center;gap:8px;padding:9px 12px;border:1px solid #dce6ee;border-radius:10px;background:#fff;cursor:pointer;min-width:100px}
.app-shell .quiz-key-option:has(input:checked){border-color:#16a5b1;background:#eaf8f9;box-shadow:0 0 0 2px #16a5b11a}
.app-shell .quiz-key-option input{width:auto!important;margin:0;accent-color:#079ba7}
.app-shell .quiz-key-letter{display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border-radius:8px;background:#e8eff7;color:#29415e;font-size:12px;font-weight:900}
.app-shell .quiz-key-option:has(input:checked) .quiz-key-letter{background:#0da4af;color:#fff}
.app-shell .quiz-inline-note{color:#9a6a1b;font-size:12px}
.app-shell .quiz-rubric-editor textarea{min-height:75px}
.app-shell .quiz-student-option{display:flex;align-items:center;gap:11px;line-height:1.5}
.app-shell .quiz-student-option>b{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:9px;background:#e8f2f7;color:#1a5870;font-size:13px}
.app-shell .learning-quiz-options label:has(input:checked){border-color:#12a4b0;background:#eaf8f9;box-shadow:0 0 0 2px #12a4b014}
.app-shell .learning-quiz-options-binary{grid-template-columns:repeat(2,minmax(0,1fr))}
.app-shell .quiz-review-question{padding:12px 0;border-bottom:1px solid #e8eef3}
.app-shell .quiz-review-question:last-of-type{border-bottom:0}
.app-shell .quiz-review-question>p{font-size:13px;line-height:1.65;margin:5px 0}
.app-shell .quiz-review-question>p small{color:#71839a;font-weight:500}
.app-shell .quiz-student-written-answer{padding:12px;background:#fff;border:1px solid #e2eaf0;border-radius:10px;font-size:13px;line-height:1.7;white-space:normal}
.app-shell .quiz-rubric-note{margin-top:8px;padding:10px 12px;background:#fff8e9;border:1px solid #f2e2bd;border-radius:9px;font-size:12px}
.app-shell .quiz-rubric-note p{margin:4px 0 0;white-space:pre-wrap}
.app-shell .quiz-essay-score-field{display:grid!important;gap:6px;max-width:250px;margin-top:10px;padding:10px 12px;background:#f1f8fb;border:1px solid #dcebf0;border-radius:10px}
.app-shell .quiz-essay-score-field input{width:100%;padding:9px 10px;border:1px solid #d6e2eb;border-radius:8px;background:#fff}
.app-shell .quiz-score-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:12px 14px;border:1px solid #dce9ef;border-radius:10px;background:#f0f8fa;color:#40546c;font-size:13px}
.app-shell .quiz-score-summary b{font-size:15px;color:#087f8a}
.app-shell .quiz-score-summary-final{margin:0 0 8px}
.app-shell .quiz-auto-grade-note{display:grid;gap:8px;padding:15px;border:1px solid #cfe9dc;border-radius:12px;background:#f0faf4}
.app-shell .quiz-auto-grade-note b{font-size:13px;color:#216b4d}
.app-shell .quiz-auto-grade-note strong{font:800 24px Manrope;color:#137b56}
.app-shell .quiz-auto-grade-note small{font-size:12px;color:#607d70;line-height:1.55}
.app-shell .learning-grading-form-wrapper{margin:14px 0 0}
@media(max-width:680px){
  .app-shell .quiz-option-inputs{grid-template-columns:1fr}
  .app-shell .quiz-option-input-row:last-child:nth-child(odd){grid-column:auto}
  .app-shell .learning-quiz-options-binary{grid-template-columns:1fr}
  .app-shell .quiz-question-card{padding:13px}
}


/* v1.14.0 — Katalog seluruh mata pelajaran pada dashboard siswa */
.app-shell .subject-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 22px}
.app-shell .subject-dashboard-card{min-width:0;display:flex;flex-direction:column;gap:10px;padding:19px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}
.app-shell .subject-dashboard-kka{background:linear-gradient(135deg,#fff 0%,#f0fbfc 100%);border-color:#c9e9ec}
.app-shell .subject-dashboard-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.app-shell .subject-dashboard-card h3{font-size:17px!important;line-height:1.4;margin:1px 0 0!important;color:var(--ink)}
.app-shell .subject-dashboard-card>p{font-size:13px;line-height:1.65;color:var(--muted);margin:0;min-height:42px}
.app-shell .subject-dashboard-meta{display:flex;flex-wrap:wrap;gap:8px;padding-top:11px;border-top:1px solid var(--line);margin-top:auto}
.app-shell .subject-dashboard-meta span{background:#f2f7fa;border-radius:8px;padding:6px 9px;font-size:12px;color:#5c7189}
.app-shell .subject-dashboard-meta b{color:#15263f;font-weight:800}
.app-shell .subject-dashboard-action{display:flex;align-items:center;min-height:34px}
.app-shell .subject-dashboard-action .muted{font-size:12px;line-height:1.5}
@media(max-width:1150px){.app-shell .subject-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-shell .subject-catalog-grid{grid-template-columns:1fr}.app-shell .subject-dashboard-card{padding:15px}.app-shell .subject-dashboard-card>p{min-height:0}}
