.student-actions,.search{display:flex;align-items:center;gap:8px}.search input{min-width:220px;padding:10px 12px;border:1px solid var(--border);border-radius:8px}.student-actions{flex-wrap:wrap;justify-content:flex-end}
.student-details{margin-bottom:20px;border-left:4px solid var(--blue)}.student-profile-head{display:flex;align-items:center;gap:14px}.student-mark{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-weight:800;font-size:17px}.student-profile-head h2{margin:1px 0}.student-profile-head p{margin:0}.student-details dl{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.student-details dl div,.student-related>div{padding:14px;background:#f8fafc;border-radius:9px}.student-details dt{color:var(--muted);font-size:11px}.student-details dd{margin:3px 0 0;font-weight:650}.student-related{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:20px}.student-related h3{margin:0 0 10px;font-size:14px}.student-related p{padding:8px 0;margin:0;border-bottom:1px solid var(--border)}.student-related p b,.student-related p small{display:block}.student-related p small{margin-top:5px}.student-related p:last-child{border:0}
.student-profile-section{margin:22px 0}.profile-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.profile-section-title>div{display:flex;align-items:center;gap:9px}.profile-section-title span{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#eaf1ff;color:var(--blue)}.profile-section-title h2{margin:0}.profile-section-title>strong{font-size:18px;color:var(--blue)}.student-finance-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}.student-finance-stats article{padding:17px;background:#fff;border:1px solid var(--border);border-radius:11px}.student-finance-stats span{display:block;color:var(--muted);font-size:12px}.student-finance-stats strong{font-size:20px}.profile-finance-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-finance-grid h3{margin-top:0}.profile-finance-grid .panel{padding:18px}
.student-details~.grid{display:none}.student-photo-widget{width:72px;height:72px;flex:0 0 72px;border-radius:18px;display:grid;place-items:center;overflow:hidden;background:#eaf1ff;color:var(--blue);font-size:22px;font-weight:800;border:3px solid #fff;box-shadow:0 3px 12px #17203320}.student-photo-widget img{width:100%;height:100%;object-fit:cover}.student-photo-edit{margin:0 0 20px;border-left:4px solid var(--blue)}.student-photo-edit>div{display:flex;align-items:center;gap:22px}.student-photo-edit>div>img,.student-photo-edit>div>span{width:110px;height:110px;flex:0 0 110px;border-radius:18px;object-fit:cover;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:28px;font-weight:800}.student-photo-edit form{flex:1}.student-photo-edit small{display:block;color:var(--muted);font-weight:400;margin-top:5px}
.staff-photo-edit{margin-bottom:20px;border-left:4px solid var(--blue)}.staff-photo-edit>div{display:flex;align-items:center;gap:22px}.staff-photo-edit img,.staff-photo-edit>div>span{width:105px;height:105px;flex:0 0 105px;border-radius:18px;object-fit:cover;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:28px;font-weight:800}.staff-photo-edit form{flex:1}.staff-photo-edit small{display:block;color:var(--muted);font-weight:400}.staff-profile{border-left:4px solid var(--blue)}.staff-profile-head{display:flex;align-items:center;gap:15px}.staff-profile-head img,.staff-profile-head>span:first-child{width:76px;height:76px;flex:0 0 76px;border-radius:18px;object-fit:cover;display:grid;place-items:center;background:#eaf1ff;color:var(--blue);font-size:22px;font-weight:800}.staff-profile-head h2{margin:1px 0}.staff-profile-head p{margin:0}.staff-profile-head>.status{margin-left:auto}.staff-profile dl{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:22px 0}.staff-profile dl div{padding:13px;background:#f8fafc;border-radius:9px}.staff-profile dt{font-size:11px;color:var(--muted)}.staff-profile dd{margin:3px 0 0;font-weight:650}.staff-payroll-history{border-top:1px solid var(--border);margin-top:24px;padding-top:20px}@media(max-width:900px){.profile-finance-grid{grid-template-columns:1fr}.staff-profile dl{grid-template-columns:1fr 1fr}}@media(max-width:700px){.student-actions,.search{width:100%}.search input{min-width:0;flex:1}.page-title{flex-wrap:wrap}.student-actions{justify-content:flex-start}.student-details dl{grid-template-columns:1fr 1fr}.student-related{grid-template-columns:1fr}.student-finance-stats{grid-template-columns:1fr}.staff-photo-edit>div{align-items:flex-start;flex-direction:column}.staff-photo-edit form{width:100%}}
.student-related p>small{display:block!important;margin-top:10px!important;padding-top:2px;line-height:1.4}
