
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#222;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.65}
a{color:#155ca8;text-decoration:none}
a:hover{text-decoration:underline}
.site-width{width:min(1120px,calc(100% - 34px));margin:auto}
.topbar{background:#fff;border-bottom:1px solid #ececec}
.topbar-inner{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-title{font-size:21px;font-weight:700;color:#222;letter-spacing:.1px}
.home-link{font-size:14px;color:#555}
.page{padding:34px 0 55px}
.page-title{text-align:center;font-size:28px;font-weight:700;margin:0 0 28px;color:#252525}
.faculty-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:930px;margin:0 auto}
.faculty-card{border:1px solid #e3e6e9;background:#fff;display:flex;flex-direction:column;overflow:hidden}
.card-photo{height:310px;background:#f3f4f5;display:flex;align-items:center;justify-content:center}
.card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:20px 22px 23px}
.card-body h2{font-size:20px;line-height:1.3;margin:0 0 10px;font-weight:700}
.contact{margin:4px 0;color:#444;font-size:14px}
.details-btn{display:inline-block;margin-top:15px;padding:8px 18px;border:1px solid #333;background:#333;color:#fff;font-size:13px}
.details-btn:hover{background:#111;text-decoration:none}
.profile-head{display:grid;grid-template-columns:210px 1fr;gap:30px;align-items:center;padding:4px 0 28px;border-bottom:1px solid #e5e5e5}
.profile-photo{width:210px;height:210px;background:#f1f2f3;border:1px solid #e1e1e1}
.profile-photo img{width:100%;height:100%;object-fit:cover}
.profile-name{font-size:30px;line-height:1.25;margin:0 0 10px}
.profile-meta{margin:4px 0;color:#555}
.profile-meta strong{color:#222}
.profile-nav{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 30px;padding-bottom:13px;border-bottom:1px solid #e5e5e5}
.profile-nav a{font-size:13px;border:1px solid #ddd;padding:6px 11px;color:#444;background:#fafafa}
.profile-section{padding:0 0 27px;margin-bottom:27px;border-bottom:1px solid #ededed}
.profile-section:last-child{border-bottom:0}
.profile-section h2{font-size:21px;margin:0 0 13px;color:#222}
.profile-section p{margin:0 0 10px}
.prose{white-space:normal}
.table-wrap{overflow:auto}
.info-table{width:100%;border-collapse:collapse;font-size:14px}
.info-table th,.info-table td{border:1px solid #ddd;padding:9px 10px;text-align:left;vertical-align:top}
.info-table th{background:#f7f7f7;font-weight:700}
.list{margin:0;padding-left:22px}
.list li{margin:0 0 10px}
.research-links{display:flex;flex-wrap:wrap;gap:9px}
.research-links a{border:1px solid #d8d8d8;padding:7px 10px;font-size:13px;background:#fafafa}
.site-footer{border-top:1px solid #e8e8e8;color:#666;font-size:13px;text-align:center;padding:20px 0;margin-top:12px}
.empty{padding:40px;text-align:center;border:1px solid #e5e5e5;background:#fafafa}
.admin-wrap{padding:30px 0}
.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.stat{border:1px solid #e1e4e8;padding:18px;background:#fff}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:block;font-weight:700;font-size:13px}
input,textarea,select{width:100%;padding:10px;border:1px solid #cfd5db;border-radius:2px;background:#fff;font:inherit}
textarea{min-height:130px;resize:vertical}
.btn{display:inline-block;padding:9px 15px;border:0;background:#333;color:#fff;cursor:pointer}
.btn:hover{background:#111;text-decoration:none}
.btn-danger{background:#8c2b2b}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.notice{padding:11px 13px;background:#f6f7f8;border:1px solid #ddd;margin-bottom:18px}
.small{font-size:12px;color:#777}
@media(max-width:760px){
 .site-width{width:min(100% - 24px,1120px)}
 .topbar-inner{min-height:54px}
 .faculty-grid{grid-template-columns:1fr;gap:20px}
 .card-photo{height:285px}
 .profile-head{grid-template-columns:1fr;text-align:center;justify-items:center}
 .profile-photo{width:180px;height:180px}
 .profile-name{font-size:25px}
 .profile-nav{justify-content:center}
 .form-grid,.admin-grid{grid-template-columns:1fr}
 .page{padding-top:25px}
}
