:root{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:#18243b;background:#f3f6fa}*{box-sizing:border-box}body{margin:0}header{background:#101c36;color:white;padding:18px max(18px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}header strong{font-size:22px;letter-spacing:.05em}header strong span{color:#67d5c3}nav{display:flex;gap:14px;flex-wrap:wrap}nav a{color:#e9eef9;text-decoration:none;font-size:14px}nav a:hover{text-decoration:underline}main{max-width:1120px;margin:35px auto;padding:0 18px}h1{font-size:29px}h2{font-size:19px;margin:0 0 12px}.panel{background:white;border:1px solid #dfe6f0;border-radius:13px;padding:23px;margin:18px 0;box-shadow:0 3px 14px #16213b08}.login{max-width:460px;margin:10vh auto;background:white;padding:35px;border-radius:16px}form{display:grid;gap:14px}label{display:grid;gap:7px;font-size:14px;font-weight:600}input,select,textarea{font:inherit;width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:11px;background:white}input[type=checkbox]{width:auto;accent-color:#087e7a}.check{display:flex;align-items:center;gap:10px;font-weight:400;padding:5px 0}.check[hidden]{display:none}fieldset{border:1px solid #dae3ed;border-radius:10px;padding:12px}button{border:0;background:#087e7a;color:white;border-radius:8px;padding:11px 18px;cursor:pointer;font-weight:700;width:max-content}button.secondary{background:#e9eef6;color:#25354e}.item{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e8edf3;padding:12px 0}.item:last-child{border:0}.item p{margin:6px 0}.pill{background:#e0f5f1;color:#076b64;padding:8px 12px;border-radius:30px;white-space:nowrap}small{color:#627187}.flash{background:#e4f6ea;color:#146a36;padding:14px;border-radius:8px}.error{color:#b42318}.score{display:flex;flex-wrap:wrap;align-items:end;border-top:1px solid #e8edf3;padding:10px 0}.score input{max-width:210px}@media(max-width:640px){header{display:block}nav{margin-top:14px}main{margin:20px auto}.panel{padding:15px}.item{align-items:start}}

.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin:22px 0}.metric{background:white;border:1px solid #dfe6f0;border-radius:12px;padding:18px}.metric span{display:block;color:#627187;font-size:14px}.metric strong{display:block;font-size:32px;margin-top:8px;color:#101c36}.late{display:inline-block;color:#a5271b;background:#ffebe9;border-radius:20px;padding:4px 8px;font-size:12px;font-weight:700}.item>div:last-child{text-align:right}

/* AKBEL v0.3: personnel visibility controls */
.switch-row{display:flex;align-items:center;gap:12px;padding:10px 12px;margin:6px 0;border:1px solid #dce5eb;border-radius:10px;cursor:pointer}.switch-row input[type=checkbox]{appearance:none;width:42px;height:24px;min-width:42px;border-radius:24px;background:#9aa7b4;position:relative;cursor:pointer;transition:background .2s}.switch-row input[type=checkbox]:checked{background:#008e89}.switch-row input[type=checkbox]:before{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s}.switch-row input[type=checkbox]:checked:before{transform:translateX(18px)}.switch-row input[type=checkbox]:focus-visible{outline:3px solid #184d8c;outline-offset:2px}.switch-row[hidden]{display:none!important}details{padding:10px 0;border-bottom:1px solid #e2e7eb}details summary{cursor:pointer;font-weight:600}

/* AKBEL mobile v0.4 */
:root{--akbel-teal:#087e7a}body{min-width:0}main{width:100%}a,button,input,select,textarea{touch-action:manipulation}button{min-height:44px} .mobile-nav{display:none}.mobile-topline{display:none}
@media(max-width:700px){
 body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));background:#f2f5f9}
 header{padding:14px 16px;display:block;position:sticky;top:0;z-index:20;box-shadow:0 2px 12px #14203512}
 header strong{font-size:18px}header nav{display:none}
 main{margin:0 auto;padding:16px 13px 24px}main>h1{font-size:23px;line-height:1.2;margin:6px 2px 18px}
 .panel{padding:17px 15px;border-radius:16px;margin:12px 0;box-shadow:0 3px 12px #15213a0a}
 .panel h2{font-size:17px;line-height:1.3;overflow-wrap:anywhere}
 .item{gap:12px;align-items:flex-start;flex-wrap:wrap;overflow-wrap:anywhere}
 .item>div{min-width:0;max-width:100%}.item p{overflow-wrap:anywhere}
 .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 .metric{padding:14px!important}.metric strong{font-size:25px!important}
 .mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:30;background:#fff;border-top:1px solid #dce4ed;padding:7px 3px calc(8px + env(safe-area-inset-bottom,0px));box-shadow:0 -5px 20px #15213b12}
 .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 1px;text-decoration:none;color:#566276;font-size:10px;font-weight:700;text-align:center;border-radius:10px}
 .mobile-nav a.active{color:#087e7a;background:#e9f7f5}.mobile-nav .symbol{font-size:21px;line-height:1.1}
 .mobile-topline{display:block;font-size:12px;color:#d4eae8;margin-top:3px}
 input,select,textarea{font-size:16px;max-width:100%;min-height:45px}textarea{min-height:90px}
 form button{width:100%;min-height:48px}form{min-width:0}fieldset{min-width:0}
 .login{margin:5vh auto;padding:24px 19px}.score{padding-top:12px}
 details{max-width:100%}small{line-height:1.5}
}
