/* Shared screen theme. Print layouts and mathematical notation retain their own styling. */
@media screen {
:root{--eh-navy:#15304f;--eh-blue:#2458a6;--eh-border:#dce4ed;--eh-muted:#64748b}
body{background:#f3f6fa!important;color:#24344a;font-family:"Segoe UI","Noto Sans Bengali",Arial,sans-serif!important;line-height:1.6}
h1,h2,h3{color:var(--eh-navy);line-height:1.3;letter-spacing:-.015em}h1{font-size:clamp(1.5rem,3vw,2rem)}
.card,.student-box,.q-box,.result-box{border:1px solid var(--eh-border)!important;border-radius:14px!important;box-shadow:0 5px 20px rgba(21,48,79,.055)!important;background:#fff}
.card{padding:clamp(18px,3vw,28px)!important}.student-box{padding:24px!important}.q-box{padding:20px!important;margin-bottom:18px!important}
label{font-size:14px;font-weight:600;color:#334155}
input:not([type=radio]):not([type=checkbox]):not([type=hidden]),select,textarea{border:1px solid #cbd5e1!important;border-radius:8px!important;background:#fff;color:#24344a;font-family:inherit;font-size:15px;padding:10px 12px;min-height:44px;max-width:100%;transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:2px solid #2458a622!important;border-color:var(--eh-blue)!important;box-shadow:0 0 0 3px #2458a616}
input[type=radio],input[type=checkbox]{accent-color:var(--eh-blue);width:18px;height:18px;vertical-align:middle}
button,.btn,.start-button,.submit-btn{font-family:inherit!important;border-radius:8px!important;font-weight:600!important;min-height:42px;cursor:pointer;transition:filter .15s,transform .15s}
.start-button,.submit-btn,.btn{background:var(--eh-blue)!important;color:#fff!important;border:0!important;box-shadow:0 3px 8px #2458a61c!important}
button:hover,.btn:hover{filter:brightness(.94)}button:disabled{opacity:.6;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #93b4ea;outline-offset:3px}
.table-wrap{overflow-x:auto;border-radius:10px}table{font-size:14px}th{background:var(--eh-navy)!important;color:white;padding:13px 12px!important;white-space:nowrap}td{padding:12px!important;border-bottom:1px solid #e8edf3!important}tbody tr:nth-child(even){background:#f8fafc}tbody tr:hover{background:#edf4fc}tfoot{background:#eaf1fb!important;color:var(--eh-navy)}
.summary{background:#edf3fb!important;padding:14px 16px!important;border-radius:9px!important}.alert-error,.empty{border:1px solid #fecaca;border-radius:9px;background:#fff1f2!important;color:#9f1239!important;padding:14px!important}.alert-success{border:1px solid #bbf7d0;border-radius:9px;background:#f0fdf4;color:#166534;padding:14px}
@media(max-width:680px){.search-grid{grid-template-columns:1fr!important}.summary{display:flex!important;flex-direction:column;gap:4px}th,td{padding:9px!important;font-size:13px}.student-box,.q-box{padding:16px!important}button.start-button,button.submit-btn{width:100%}}
}
