#student-details-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:20px;padding:0;color:#112b28;background:#fff;}
#student-details-dialog::backdrop{background:#112b28c9;backdrop-filter:blur(3px);}.student-details-head{display:flex;justify-content:space-between;gap:12px;padding:22px 24px 12px;border-bottom:1px solid #e2e8f0;}.student-details-head h2{margin:0;font-size:23px;line-height:1.5;}.student-details-head p{margin:5px 0;color:#64748b;}#student-details-form{padding:16px 24px 24px;}#student-details-form>p{line-height:1.6;}.student-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;}.student-details-grid label{display:grid;gap:7px;font-size:14px;font-weight:600;}.student-details-grid label:last-child{grid-column:1/-1;}.student-details-grid input{width:100%;box-sizing:border-box;min-height:44px;}.student-details-private,.student-details-hint{font-size:12px;color:#64748b;}.student-details-actions{display:flex;gap:10px;flex-wrap:wrap;}.student-details-actions button{min-height:44px;}.student-details-actions [type=submit]{background:#059669;}[data-details-status]{color:#9a3412;}#student-details-account dl{display:grid;grid-template-columns:auto 1fr;gap:9px 18px;overflow-wrap:anywhere;}#student-details-account dd{margin:0;}#student-details-account dt{color:#64748b;}.student-details-table{overflow-x:auto;margin-top:16px;}.student-details-table table{width:100%;border-collapse:collapse;text-align:start;}.student-details-table td,.student-details-table th{padding:12px;border-bottom:1px solid #e2e8f0;vertical-align:top;min-width:90px;}.student-details-table button{margin:12px 8px 0 0;}
@media(max-width:540px){.student-details-grid{grid-template-columns:1fr;}.student-details-head{padding:18px 18px 10px;}#student-details-form{padding:14px 18px 20px;}.student-details-head h2{font-size:20px;}.student-details-actions{flex-direction:column;}#student-details-account dl{grid-template-columns:1fr;gap:4px;}#student-details-account dd{margin-bottom:10px;}}

#student-details-owner{scroll-margin-top:100px;margin:0 0 24px;border:1px solid #a7f3d0;background:#fff;}#student-details-owner h2{font-size:22px;line-height:1.5;}#student-details-owner td a{color:#047857;font-weight:700;text-decoration:underline;display:inline-block;}
@media(max-width:640px){#student-details-owner{padding:18px;}#student-details-owner h2{font-size:20px;}#student-details-owner .student-details-table{overflow:visible;}#student-details-owner table,#student-details-owner tbody{display:block;width:100%;}#student-details-owner thead{display:none;}#student-details-owner tbody{display:grid;gap:16px;}#student-details-owner tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;border:1px solid #dcebe5;border-radius:14px;background:#f8fafc;gap:12px;}#student-details-owner td{display:block;min-width:0;padding:0;border:0;overflow-wrap:anywhere;}#student-details-owner td::before{content:attr(data-label);display:block;color:#64748b;font-size:12px;margin-bottom:4px;}#student-details-owner td:nth-child(1),#student-details-owner td:nth-child(2),#student-details-owner td:nth-child(5),#student-details-owner td:nth-child(6){grid-column:1/-1;}#student-details-owner td:nth-child(5){font-size:18px;}}
#student-whatsapp-invite{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:0;border-radius:20px;padding:24px;background:#fff;color:#112b28;}#student-whatsapp-invite::backdrop{background:#112b28c9;backdrop-filter:blur(3px);}#student-whatsapp-invite p{line-height:1.7;}#student-whatsapp-invite .primary,#student-details-account>a.primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:12px;background:#047857;color:#fff;text-decoration:none;text-align:center;}#student-details-account>a.primary{margin:10px;}

.student-details-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;}.student-details-filters label{display:grid;gap:6px;flex:1 1 160px;min-width:0;font-size:14px;}.student-details-filters .student-details-search{flex:2 1 240px;}.student-details-filters input,.student-details-filters select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#112b28;}.student-details-filters button{min-height:46px;}@media(max-width:640px){.student-details-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);}.student-details-filters .student-details-search{grid-column:1/-1;}.student-details-filters button{width:100%;padding:10px;font-size:13px;}}

#member-signin,#student-details-account [data-edit-student-details]{min-height:48px;padding:12px 20px;font-weight:700;}#member-signin.student-profile-needs-info,#student-details-account .student-profile-needs-info{background:#fbbf24!important;color:#422006!important;border:2px solid #b45309;box-shadow:0 0 0 4px #fef3c7;font-weight:800;}#student-details-account .student-profile-missing-hint{padding:14px;border-radius:12px;background:#fffbeb;color:#92400e;border:1px solid #fcd34d;line-height:1.7;}#member-security{margin-top:8px;}
