.nfi-student-id {
  color-scheme:light;
  width:min(430px,calc(100% - 28px));
  max-height:calc(100dvh - 28px);
  margin:auto;
  padding:clamp(18px,5vw,30px);
  overflow:auto;
  box-sizing:border-box;
  border:1px solid #b5955d;
  border-radius:18px;
  color:#182b3c;
  background:radial-gradient(ellipse at 100% 0,#f1e5cc,transparent 52%),#faf7ef;
  box-shadow:0 24px 75px #02070bb3;
  text-align:center;
}
.nfi-student-id::backdrop { background:#07111cbf; backdrop-filter:blur(5px); }
.nfi-student-id-brand { margin:0 0 5px; color:#745221; font:750 .72rem system-ui; letter-spacing:.12em; text-transform:uppercase; }
.nfi-student-id h2 { margin:0 0 15px; font:500 clamp(1.8rem,6vw,2.6rem)/1.1 Baskerville,Georgia,serif; }
.nfi-student-id h2:focus { outline:none; }
.nfi-student-id code {
  display:block; padding:12px 8px; border:1px solid #d6c5a9; border-radius:9px; background:#fffdf8;
  font-size:clamp(.95rem,4.7vw,1.22rem); font-weight:750; user-select:all; overflow-wrap:anywhere;
}
.nfi-student-id #nfi-student-id-description { margin:12px 0 16px; color:#495867; font:.9rem/1.5 system-ui; }
.nfi-student-id-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; }
.nfi-student-id button {
  min-height:44px; padding:8px 16px; cursor:pointer; color:#182b3c; background:#fffdf8;
  border:1px solid #a69271; border-radius:8px; font:700 .9rem system-ui;
}
.nfi-student-id button:focus-visible { outline:2px solid #235675; outline-offset:2px; }
.nfi-student-id button:hover { background:#f1e5cc; }
.nfi-student-id .nfi-student-id-primary { background:#ecd297; border-color:#b5955d; }
.nfi-student-id-status { margin:8px 0 0; color:#495867; font:.84rem system-ui; }
.nfi-student-id-status:empty { display:none; }
