.member-background-section{display:block!important;grid-column:1/-1!important;align-self:start;margin-top:12px;padding:24px;border:1px solid #dce3ef;border-radius:10px;background:#f8faff;box-shadow:0 7px 20px rgba(8,42,143,.04)}
.member-background-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #dce3ef}
.member-background-heading>span{display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:#082a8f;color:#fff;font-size:1.1rem}
.member-background-heading h2{margin:0!important;color:#082a8f!important;font:700 1.15rem 'Libre Baskerville',serif!important}
.member-background-heading p{margin:4px 0 0;color:#667085;font-size:.8rem}
.member-background-heading .add-background-row{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:auto;min-height:42px;padding:9px 14px;border:2px solid #082a8f;border-radius:5px;background:#fff;color:#082a8f;font:700 .8rem Montserrat,Arial,sans-serif;cursor:pointer}
.member-background-heading .add-background-row:hover{background:#082a8f;color:#fff}
.repeatable-rows{display:grid;gap:12px}
.repeatable-row{display:grid;align-items:end;gap:12px;padding:16px;border:1px solid #dce3ef;border-left:4px solid #f4c430;border-radius:8px;background:#fff}
.job-row{grid-template-columns:minmax(150px,1fr) minmax(210px,1.4fr) auto 44px}
.education-row{grid-template-columns:minmax(140px,.8fr) minmax(190px,1.3fr) minmax(130px,.7fr) auto 44px}
.repeatable-row>div{display:grid;align-self:start;gap:6px;min-width:0}
.repeatable-row label{font-size:.76rem;font-weight:700;color:#24345a}
.repeatable-row input,.repeatable-row select{display:block;width:100%;height:46px!important;min-height:46px!important;margin:0;padding:10px 12px;border:1px solid #b9c5d7;border-radius:5px;background:#fff;font:inherit}
.repeatable-row input:focus,.repeatable-row select:focus{outline:3px solid rgba(8,42,143,.12);border-color:#082a8f}
.current-check{display:flex!important;align-items:center;align-self:end;gap:7px;height:46px;min-height:46px;padding:0 10px;border:1px solid #dce3ef;border-radius:5px;background:#f8faff;white-space:nowrap;cursor:pointer}
.current-check input{flex:0 0 auto;width:17px!important;height:17px!important;min-height:0!important;margin:0}
.remove-background-row{display:grid;place-items:center;align-self:end;width:44px;height:46px;border:0;border-radius:5px;background:#ffe8eb;color:#a51724;cursor:pointer}
.remove-background-row:hover{background:#df1f2d;color:#fff}
.panel.form-grid>.field.full:last-child{display:flex;align-items:center;gap:10px}.panel.form-grid>.field.full:last-child .btn{display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:44px;margin:0}
.panel.form-grid input[name="year_admitted"]{align-self:start;height:46px!important;min-height:46px!important}
.member-upload-enhanced{display:block!important;grid-column:1/-1!important;padding:22px;border:1px solid #dce3ef;border-radius:9px;background:#f8faff}
.member-photo-field-layout{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:24px;margin-top:3px}.member-photo-field-layout .member-photo-preview{width:180px;margin:0}.member-photo-upload{display:grid;gap:9px}.member-photo-upload strong{color:#082a8f}.member-photo-upload input[type="file"]{height:auto!important;padding:13px;border:1px dashed #9dacc5;background:#fff}.member-photo-upload small{color:#667085;line-height:1.55}
.admin-dark-mode .member-background-section,.dark-mode .member-background-section,.admin-dark-mode .member-upload-enhanced,.dark-mode .member-upload-enhanced{background:#111827;border-color:#30394c}.admin-dark-mode .repeatable-row,.dark-mode .repeatable-row{background:#171e2d;border-color:#30394c}.admin-dark-mode .current-check,.dark-mode .current-check{background:#202a3d;border-color:#3b465b}.admin-dark-mode .repeatable-row label,.dark-mode .repeatable-row label{color:#dce5ff}
.background-view-panel{margin-top:20px}.background-view-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}.background-view-heading>i{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#082a8f;color:#fff}.background-view-heading h2{margin:0!important;color:#082a8f}.background-view-heading p{margin:3px 0 0;color:#667085}.background-view-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.background-view-grid article{position:relative;padding:16px;border:1px solid #dce3ef;border-radius:8px;background:#fbfcff}.background-view-grid span{display:block;color:#667085;font-size:.72rem;font-weight:800;text-transform:uppercase}.background-view-grid strong{display:block;margin:5px 0}.background-view-grid small{color:#667085}.background-view-grid b{display:inline-block;margin-top:8px;padding:3px 8px;border-radius:20px;background:#e2f6e8;color:#176531;font-size:.68rem;text-transform:uppercase}.background-empty{padding:18px;border:1px dashed #b9c5d7;color:#667085;text-align:center}.admin-dark-mode .background-view-grid article,.dark-mode .background-view-grid article{background:#111827;border-color:#30394c}
@media(max-width:980px){.job-row,.education-row{grid-template-columns:1fr 1fr}.remove-background-row{width:100%}}
@media(max-width:650px){.member-background-section{padding:17px}.member-background-heading{grid-template-columns:auto 1fr}.member-background-heading .add-background-row{grid-column:1/-1;width:100%}.job-row,.education-row{grid-template-columns:1fr}.current-check{align-self:stretch}.member-photo-field-layout{grid-template-columns:1fr}.member-photo-field-layout .member-photo-preview{margin:auto}.panel.form-grid>.field.full:last-child{display:grid;grid-template-columns:1fr}.panel.form-grid>.field.full:last-child .btn{width:100%}}
