:root{--navy:#172f57;--blue:#315fca;--mint:#45c6a6;--ink:#1b2940;--muted:#7d8ba2;--line:#e8edf5;--bg:#f5f7fb;--white:#fff;--shadow:0 12px 32px rgba(28,53,95,.06)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,sans-serif;font-size:14px}.app-shell{min-height:100vh;display:flex}.sidebar{width:250px;background:linear-gradient(175deg,#17335f,#122746);color:#dbe6f8;padding:25px 17px;display:flex;flex-direction:column;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 32px;text-decoration:none;color:#fff}.brand-mark{height:43px;width:43px;border-radius:13px;background:linear-gradient(135deg,#4bd0b1,#2f7cd4);display:grid;place-items:center;font-weight:800;color:#fff;font-size:16px;box-shadow:0 7px 18px #081a3344}.brand b{display:block;font-size:16px;letter-spacing:-.4px}.brand small{font-size:9px;letter-spacing:2px;color:#8fa6c8}.side-caption{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#7890b5;padding:0 13px 12px}nav{display:grid;gap:6px}.nav-link{padding:13px 14px;border-radius:10px;color:#aebed8;text-decoration:none;display:flex;align-items:center;gap:13px;font-weight:500;transition:.2s}.nav-link span{width:19px;text-align:center;font-size:18px}.nav-link:hover,.nav-link.active{background:#ffffff16;color:#fff}.nav-link.active{box-shadow:inset 3px 0 var(--mint)}.sidebar-bottom{margin-top:auto;padding:22px 8px 0;border-top:1px solid #ffffff1b}.user-mini{display:flex;align-items:center;gap:10px;margin-bottom:17px}.user-mini b{display:block;font-size:12px;color:#fff}.user-mini small{display:block;color:#9db0cc;font-size:11px;margin-top:4px}.avatar{width:36px;height:36px;border-radius:12px;background:#dce8ff;color:#315fca;display:grid;place-items:center;font-weight:800}.logout{color:#aebed8;text-decoration:none;font-size:12px;padding-left:4px}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:4}.breadcrumb{font-weight:700;font-size:13px}.breadcrumb span{color:#b8c2d2;padding:0 8px}.school-label{display:block;color:var(--muted);font-size:11px;margin-top:5px}.top-actions{display:flex;align-items:center;gap:12px;color:#6c7b92;font-size:12px}.live-dot{width:8px;height:8px;background:#35bf93;border-radius:50%;box-shadow:0 0 0 4px #e4f8f1}.avatar-small{width:32px;height:32px;border-radius:10px}.menu-toggle{display:none}.page-content{padding:30px 34px;flex:1;width:100%;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;color:var(--blue);font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.page-heading h1{font-size:27px;letter-spacing:-1px;margin:7px 0 7px;color:#1c2d49}.page-heading p{margin:0;color:var(--muted);font-size:12px}.btn{border:0;border-radius:9px;padding:11px 15px;font-weight:700;font-size:12px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.btn-primary{background:var(--blue);color:white;box-shadow:0 5px 14px #315fca2b}.btn-light{background:#eef3ff;color:#315fca}.btn-success{background:#e4f8f1;color:#178a6b}.btn-danger{background:#fff0f0;color:#bf4040}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card,.panel{background:#fff;border:1px solid #edf0f6;border-radius:15px;box-shadow:var(--shadow)}.stat-card{padding:20px;position:relative;overflow:hidden}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#74839a;font-size:11px;font-weight:600}.stat-icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-size:19px}.ic-blue{background:#eaf0ff;color:#3769d0}.ic-green{background:#e5f8f2;color:#1d9b7b}.ic-orange{background:#fff2e4;color:#d88a32}.ic-purple{background:#f1eaff;color:#8d67d7}.stat-number{font-size:29px;font-weight:800;letter-spacing:-1px;margin:15px 0 5px}.stat-foot{font-size:10px;color:#92a0b4}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:18px;margin-bottom:20px}.panel{padding:22px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head h2{font-size:14px;margin:0}.panel-head p{font-size:11px;color:var(--muted);margin:6px 0 0}.chart-wrap{height:240px}.progress-row{margin:18px 0}.progress-label{display:flex;justify-content:space-between;font-size:11px;margin-bottom:9px}.progress-label span:last-child{color:#7c8ba1}.progress{height:7px;border-radius:20px;background:#eef2f8;overflow:hidden}.progress i{display:block;height:100%;border-radius:20px;background:linear-gradient(90deg,#3565d2,#58a5f2)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;color:#8290a5;font-size:10px;text-transform:uppercase;letter-spacing:.7px;background:#fafbfe;padding:13px 14px}td{padding:14px;border-top:1px solid #f0f2f7;font-size:12px}tbody tr:hover{background:#fafcff}.badge{display:inline-flex;padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700;background:#f0f3f8;color:#65738a}.badge.success{background:#e5f8f1;color:#168769}.badge.warning{background:#fff4df;color:#a87519}.badge.danger{background:#ffeded;color:#bf4a4a}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.input,select,textarea{border:1px solid #dfe5ef;border-radius:9px;padding:11px 12px;font:inherit;font-size:12px;background:white;color:var(--ink);max-width:100%}.input:focus,select:focus,textarea:focus{outline:2px solid #dce7ff;border-color:#86a6f5}.alert{padding:13px 16px;border-radius:10px;margin-bottom:18px;font-size:12px}.alert.success{background:#e5f8f1;color:#167c61}.alert.error{background:#fff0f0;color:#b43737}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field label{display:block;font-size:11px;font-weight:700;margin-bottom:7px;color:#5e6e85}.field .input,.field select{width:100%}.dropzone{border:2px dashed #cbd8ed;border-radius:14px;background:#f8faff;padding:30px;text-align:center}.dropzone strong{display:block;margin:12px 0 6px}.dropzone p{font-size:11px;color:#77869d;line-height:1.7}.footer{padding:15px 34px;color:#9aa6b7;font-size:10px}.footer span{padding:0 8px}.empty{text-align:center;padding:35px;color:#8895a8;font-size:12px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:#f6f8fc}.login-brand{background:linear-gradient(145deg,#14294b,#2557a1);color:#fff;padding:8vw;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-brand:after{content:'';position:absolute;width:480px;height:480px;border:1px solid #ffffff18;border-radius:50%;right:-150px;bottom:-200px;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.login-brand h1{font-size:42px;line-height:1.15;letter-spacing:-1.5px;max-width:500px;margin:24px 0 16px}.login-brand p{color:#c1d1ed;line-height:1.8;max-width:430px}.login-form-wrap{display:grid;place-items:center;padding:30px}.login-form{width:100%;max-width:380px}.login-form h2{font-size:25px;margin:0 0 9px}.login-form>p{color:#8794a8;font-size:12px;margin:0 0 28px}.login-form .field{margin-bottom:16px}.login-form .btn{width:100%;justify-content:center;margin-top:8px}.muted{color:var(--muted);font-size:11px}.actions{display:flex;gap:7px}.template-note{font-size:11px;line-height:1.7;color:#73829a}.filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.filter-row>*{min-width:150px}@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.page-content{padding:24px}.topbar{padding:0 24px}}@media(max-width:700px){.sidebar{position:fixed;z-index:10;top:0;bottom:0;left:0;transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.topbar{height:70px;padding:0 16px;gap:12px}.menu-toggle{display:block;border:0;background:#eef3ff;color:#315fca;border-radius:8px;padding:8px}.school-label{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.today-label{display:none}.page-content{padding:20px 14px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:24px}.stats-grid{gap:10px}.stat-card{padding:15px}.stat-number{font-size:24px}.stat-top{font-size:10px}.stat-icon{width:31px;height:31px}.panel{padding:16px}.form-grid{grid-template-columns:1fr}.login-page{grid-template-columns:1fr}.login-brand{display:none}.login-form-wrap{min-height:100vh}.footer{padding:15px}.toolbar>*{flex:1}.filter-row>*{flex:1;min-width:130px}}

/* Logo aplikasi menggunakan identitas visual yang disediakan. */
.brand-logo{display:block;width:48px;height:48px;flex:0 0 48px;object-fit:contain;border-radius:10px;background:#fff;padding:2px;box-shadow:0 5px 16px #081a3333}.login-logo{width:54px;height:54px;flex-basis:54px;padding:2px}.login-form .brand-logo{box-shadow:none;border:1px solid #edf0f6}@media(max-width:700px){.brand-logo{width:44px;height:44px;flex-basis:44px}.login-logo{width:54px;height:54px;flex-basis:54px}}

/* PreJulas branding and developer emblem */
.brand-logo{object-fit:contain}
.footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border-top:1px solid var(--line);background:#fff}
.footer-brand{display:flex;align-items:center;gap:11px;color:#17335f}
.footer-brand img{width:54px;height:54px;object-fit:contain;background:#fff;border:1px solid #edf0f6;border-radius:9px;padding:2px}
.footer-brand strong,.footer-brand small,.footer-credit{display:block}
.footer-brand strong{font-size:12px;color:#17335f}
.footer-brand small{font-size:10px;color:#71819a;margin-top:3px}
.footer-credit{font-size:10px;color:#7d8ba2;margin-top:4px}
.footer-copy{font-size:10px;color:#9aa6b7}
@media(max-width:700px){.footer{align-items:flex-start}.footer-brand img{width:46px;height:46px}.footer-copy{line-height:1.8}}
