:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#152238;background:#f9f8ff}*{box-sizing:border-box}body{margin:0}header{background:#40318b;color:white;padding:17px max(20px,calc((100% - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px}header a{color:white;text-decoration:none}header nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.brand{font-size:21px;font-weight:750}main{max-width:1100px;margin:36px auto;padding:0 18px}h1{font-size:28px}h2{font-size:20px}section,.card{background:white;border:1px solid #e1e7f0;border-radius:15px;padding:24px;margin:18px 0;box-shadow:0 5px 20px #17365c08}a{color:#6754dc}label{display:block;font-weight:650;margin:12px 0 6px}input,select{display:block;width:100%;padding:11px;border:1px solid #c9d3e2;border-radius:8px;font:inherit}button,.button{display:inline-block;background:#6754dc;color:white;border:0;border-radius:8px;padding:11px 17px;font:inherit;cursor:pointer;text-decoration:none;margin-top:13px}.button.secondary{background:#e8eef7;color:#19385f}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.grid section{margin:0}table{width:100%;border-collapse:collapse;overflow-x:auto}th,td{padding:12px;border-bottom:1px solid #e7edf5;text-align:left}th{font-size:13px;color:#52617a}.muted{color:#66758c}.error{padding:12px;background:#fff0f0;color:#8c1d1d;border-radius:8px}.ok{padding:12px;background:#e8f8ee;color:#116039;border-radius:8px}.row{display:flex;gap:12px;flex-wrap:wrap}.row>*{flex:1;min-width:180px}.small{font-size:13px}@media(max-width:650px){header{padding:15px;align-items:flex-start;flex-direction:column}main{margin:20px auto}section{padding:17px}table{display:block;overflow-x:auto}}

.checkline{display:flex;align-items:center;gap:10px;padding:10px 0}.checkline input{width:auto;display:inline-block}.inline-form{display:flex;gap:8px;flex-wrap:wrap}.inline-form button{margin-top:0}[hidden]{display:none!important}h3{font-size:17px}

/* EduMind360 responsive app */
html{font-size:16px;-webkit-text-size-adjust:100%}body{min-width:0;overflow-x:hidden}
header{max-width:100%;min-height:72px}header nav{min-width:0}header nav span{overflow-wrap:anywhere}
main{width:min(100%,1160px);margin:clamp(16px,3vw,36px) auto;padding:0 clamp(14px,3vw,26px)}
section,.card{min-width:0;overflow-wrap:anywhere}h1{font-size:clamp(1.5rem,3vw,2.1rem)}h2{font-size:clamp(1.15rem,2.3vw,1.45rem)}
input,select,textarea,button{font-size:16px;max-width:100%}button,.button{min-height:44px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b0a3ff;outline-offset:2px}
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.table-scroll{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}table{min-width:550px}th,td{white-space:normal;vertical-align:top}
@media(max-width:760px){header{padding:16px;flex-wrap:wrap;gap:10px}header nav{width:100%;gap:10px;justify-content:flex-start}header nav a{display:inline-flex;align-items:center;min-height:38px}section,.card{padding:18px;margin:14px 0}.row{flex-direction:column}.row>*{min-width:0;width:100%}}
@media(max-width:480px){header .brand{font-size:19px}header nav span{width:100%}main{padding:0 12px}section,.card{padding:15px;border-radius:12px}button,.button{width:100%;text-align:center}.inline-form button{width:auto}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
