@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/dm-sans-latin.woff2) format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(assets/fonts/manrope-latin.woff2) format("woff2");
}
:root {
  --navy: #05237d;
  --ink: #071d53;
  --violet: #755bfd;
  --violet-text: #6341df;
  --teal: #087c78;
  --cyan: #10c8c0;
  --blue: #29abe2;
  --muted: #63708a;
  --line: #e5e9f2;
  --surface: #f7f9fd;
  --white: #fff;
  --danger: #b83f58;
  --sans: "DM Sans", Arial, sans-serif;
  --sidebar: 15.125rem;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 0.875rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
img,
svg {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, var(--sans);
}
h1 {
  font-size: 1.8125rem;
  font-weight: 700;
  letter-spacing: -0.065625rem;
  line-height: 1.35;
}
h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.028125rem;
  line-height: 1.45;
}
h3 {
  font-size: 0.875rem;
  letter-spacing: -0.0125rem;
  font-weight: 650;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 0.1875rem solid #a18cff;
  outline-offset: 0.1875rem;
}
input,
textarea,
select {
  max-width: 100%;
}
input,
textarea {
  width: 100%;
  border: 0.0625rem solid #dce2ee;
  border-radius: 0.4375rem;
  background: white;
  padding: 0.6875rem 0.8125rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
input::placeholder,
textarea::placeholder {
  color: #5a6175;
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--navy);
  flex-shrink: 0;
  margin: 0.1875rem 0 0;
}
input[readonly] {
  background: #f8f9fd;
}
select {
  border: 0.0625rem solid #dce2ee;
  border-radius: 0.375rem;
  padding: 0.625rem 1.8125rem 0.625rem 0.75rem;
  background: white;
  font-size: 0.8125rem;
  min-height: 2.5rem;
}
input[type="date"] {
  min-height: 2.6875rem;
}
code,
.mono {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.skip-link {
  position: fixed;
  top: -5rem;
  left: 1.25rem;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.25rem;
}
.skip-link:focus {
  top: 0.5rem;
}
.prototype-bar {
  height: 2.1875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5625rem;
  background: #eeebff;
  color: #544479;
  border-bottom: 0.0625rem solid #e2dcf7;
  font-size: 0.6875rem;
  letter-spacing: 0.025rem;
  position: relative;
  z-index: 35;
}
.prototype-bar > span {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
}
.prototype-caption {
  font-size: 0.6875rem;
  letter-spacing: 0;
}
.prototype-dot {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--violet);
}
.prototype-bar > div {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.prototype-bar button {
  padding: 0.3125rem 0;
  color: #544479;
  font-size: 0.6875rem;
}
.prototype-bar button:hover {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: calc(100dvh - 2.1875rem);
}
.sidebar {
  display: flex;
  flex-direction: column;
  padding: 1.875rem 1.25rem 0;
  background: #fff;
  border-right: 0.0625rem solid var(--line);
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 43.125rem;
  z-index: 30;
}
.app-brand {
  display: flex;
  gap: 0.5625rem;
  align-items: center;
  margin-left: 0.5625rem;
  width: max-content;
}
.app-brand img {
  height: auto;
}
.product-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.625rem;
  margin-top: 0.625rem;
  color: #5b647d;
  font-size: 0.6875rem;
  letter-spacing: 0.125rem;
}
.product-label > span {
  font-size: 0.5rem;
  letter-spacing: 0.04375rem;
  color: #6b5c96;
  padding: 0.125rem 0.3125rem;
  background: #f4f0ff;
  border-radius: 0.1875rem;
}
.workspace-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.5625rem;
  background: #f7f8fc;
  border: 0.0625rem solid #e9ecf5;
  border-radius: 0.5rem;
  margin-top: 1.8125rem;
}
.workspace-icon {
  width: 2.0625rem;
  height: 2.0625rem;
  border: 0.0625rem solid #e1e5f1;
  background: #fff;
  display: grid;
  place-items: center;
  border-radius: 0.4375rem;
  color: #516390;
}
.workspace-icon .icon {
  width: 1.0625rem;
  height: 1.0625rem;
}
.workspace-card > div {
  min-width: 0;
}
.workspace-card strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.workspace-card > div > span {
  display: block;
  font-size: 0.625rem;
  color: #596177;
  margin-top: 0.1875rem;
}
.nav-caption {
  font-size: 0.5625rem;
  letter-spacing: 0.06875rem;
  color: #5b6476;
  padding-left: 0.75rem;
  margin: 1.75rem 0 0.75rem;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6875rem 0.75rem;
  color: #5b657c;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: left;
  min-height: 2.6875rem;
}
.nav-item .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.nav-item.active {
  color: var(--navy);
  background: #eeefff;
  font-weight: 650;
}
.nav-item.active .icon {
  color: var(--violet-text);
}
.nav-item:hover {
  background: #f5f6fc;
  color: var(--navy);
}
.nav-item small {
  font-size: 0.6875rem;
  margin-left: auto;
  border-radius: 0.25rem;
  background: #e0dfff;
  color: #5441a5;
  padding: 0.0625rem 0.375rem;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 2.1875rem;
}
.sidebar-help {
  margin: 0 0.25rem 1.375rem;
  padding: 1.0625rem 0.9375rem;
  border: 0.0625rem solid #e9e5fa;
  background: linear-gradient(135deg, #f7f3ff, #f2fbfc);
  border-radius: 0.5625rem;
}
.sidebar-help > .icon {
  color: #6b55b2;
  width: 1.3125rem;
  height: 1.3125rem;
  margin-bottom: 0.75rem;
}
.sidebar-help strong {
  font-family: Manrope, var(--sans);
  font-size: 0.8125rem;
  line-height: 1.7;
  font-weight: 650;
  display: block;
}
.sidebar-help > span {
  display: block;
  font-size: 0.6875rem;
  color: #5e627e;
  margin-top: 0.5rem;
  line-height: 1.8;
}
.signout {
  font-size: 0.6875rem;
  padding-left: 0.5rem;
  margin-bottom: 1.25rem;
}
.signout .icon {
  width: 0.9375rem;
  height: 0.9375rem;
}
.sidebar-person {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-top: 0.0625rem solid var(--line);
  padding: 1.125rem 0 1.3125rem;
}
.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: #eeebfb;
  color: #6a529b;
  font-size: 0.75rem;
  font-weight: 600;
}
.avatar-small {
  width: 1.5625rem;
  height: 1.5625rem;
  font-size: 0.625rem;
}
.sidebar-person > div {
  min-width: 0;
}
.sidebar-person strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
}
.sidebar-person > div > span {
  display: block;
  font-size: 0.625rem;
  color: var(--muted);
  margin-top: 0.0625rem;
}
.online-dot {
  width: 0.375rem;
  height: 0.375rem;
  display: inline-block;
  background: var(--cyan);
  border-radius: 50%;
}
.sidebar-person > .online-dot {
  margin-left: auto;
}
.workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 4.9375rem;
  border-bottom: 0.0625rem solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5625rem;
  padding: 0 2.3125rem;
}
.topbar-location {
  display: flex;
  gap: 0.8125rem;
  align-items: center;
  font-size: 0.8125rem;
  color: #5c6476;
  min-width: 0;
}
.topbar-location > .icon {
  width: 0.75rem;
  height: 0.75rem;
  color: #5f6471;
}
.topbar-location strong {
  color: #44526e;
  font-weight: 500;
}
.topbar-tools {
  display: flex;
  align-items: center;
  gap: 1.1875rem;
}
.role-switcher {
  display: flex;
  align-items: center;
  gap: 0.6875rem;
  font-size: 0.6875rem;
  color: #5c6477;
}
.role-switcher select {
  border-color: #e3e6f1;
  background: #fafbfe;
  min-height: 2.125rem;
  padding-block: 0.375rem;
  font-weight: 600;
  color: #414d6e;
  font-size: 0.75rem;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0.375rem;
  border-radius: 0.3125rem;
  color: #586179;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #f0edff;
  color: var(--violet-text);
}
.icon-button .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.notification-button {
  position: relative;
}
.notification-button > span {
  position: absolute;
  top: 0.3125rem;
  right: 0.4375rem;
  width: 0.3125rem;
  height: 0.3125rem;
  border: 0.0625rem solid #fff;
  border-radius: 50%;
  background: var(--violet);
}
.topbar-avatar {
  width: 1.9375rem;
  height: 1.9375rem;
  font-size: 0.6875rem;
}
.mobile-menu {
  display: none;
}
main {
  max-width: 98.75rem;
  width: 100%;
  margin: 0 auto;
  padding: 2.125rem 2.3125rem 2.375rem;
  flex: 1;
  min-width: 0;
}
main[tabindex]:focus {
  outline: none;
}
.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9375rem;
  margin: 0 2.3125rem;
  padding: 1.25rem 0;
  border-top: 0.0625rem solid var(--line);
  color: #5b6273;
  font-size: 0.6875rem;
}
.app-footer > span:first-child {
  color: #526384;
  font-weight: 600;
}
.eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.084375rem;
  line-height: 1.8;
  color: #5b6377;
  font-weight: 600;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5625rem;
  margin-bottom: 1.8125rem;
}
.page-heading .eyebrow {
  margin-bottom: 0.5625rem;
}
.page-heading h1 {
  max-width: 47.5rem;
}
.page-heading > div > p:not(.eyebrow) {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.5625rem;
  max-width: 41.875rem;
}
.heading-actions {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5625rem;
  min-height: 2.5625rem;
  padding: 0 1rem;
  border: 0.0625rem solid transparent;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
  line-height: 1.5;
  text-align: center;
}
.button .icon {
  width: 1rem;
  height: 1rem;
}
.button:hover:not(:disabled) {
  transform: translateY(-0.0625rem);
}
.button-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 0.1875rem 0.5rem #05237d0a;
}
.button-primary:hover {
  background: #153c96;
}
.button-outline {
  background: #fff;
  border-color: #dce2ef;
  color: #495b80;
}
.button-outline:hover {
  background: #f5f3ff;
}
.button-small {
  min-height: 2.0625rem;
  padding-inline: 0.75rem;
  font-size: 0.6875rem;
  gap: 0.4375rem;
}
.button-danger {
  background: #fff4f6;
  border-color: #f0ccd5;
  color: var(--danger);
}
.button-danger:hover {
  background: #ffe9ee;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.inline-link .icon {
  width: 0.875rem;
  height: 0.875rem;
}
.inline-link:hover {
  color: var(--violet-text);
}
.full-width {
  width: 100%;
}
.welcome-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 14.6875rem;
  padding: 1.75rem 2.0625rem;
  border: 0.0625rem solid #e3ddf6;
  border-radius: 0.75rem;
  background: linear-gradient(110deg, #f0ecff 0, #f5f2ff 50%, #edf9fb 100%);
  overflow: hidden;
  position: relative;
}
.banner-kicker {
  font-size: 0.5625rem;
  letter-spacing: 0.09375rem;
  color: #6b5c8b;
  font-weight: 600;
}
.welcome-banner h2 {
  font-size: 1.6875rem;
  font-weight: 600;
  letter-spacing: -0.05rem;
  line-height: 1.35;
  margin-top: 0.75rem;
}
.welcome-banner p {
  font-size: 0.75rem;
  color: #635f7d;
  margin-top: 0.6875rem;
  max-width: 24.375rem;
}
.welcome-banner a {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  color: #625095;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 1.0625rem;
}
.welcome-banner a .icon {
  width: 0.875rem;
  height: 0.875rem;
}
.banner-art {
  position: relative;
  width: 16.875rem;
  height: 11.875rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-right: 1.875rem;
}
.banner-art > img {
  width: 9.6875rem;
  height: auto;
  transform: rotate(-4deg);
  filter: drop-shadow(0 1.0625rem 1rem #443c9b15);
  z-index: 1;
}
.banner-ring {
  position: absolute;
  width: 13.4375rem;
  height: 13.4375rem;
  border: 0.0625rem solid #d9d3ed;
  border-radius: 50%;
}
.banner-ring::after {
  content: "";
  position: absolute;
  inset: -1.75rem;
  border: 0.0625rem dashed #ddd9ef;
  border-radius: 50%;
}
.banner-badge {
  position: absolute;
  bottom: 0;
  right: -1.75rem;
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 0.8125rem;
  border: 0.0625rem solid #e0e5f0;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0 0.25rem 1.125rem #343c6d08;
  z-index: 2;
  font-size: 0.625rem;
  color: #556986;
  transform: rotate(3deg);
}
.banner-badge .icon {
  width: 0.9375rem;
  height: 0.9375rem;
  color: #016f68;
}
.learner-banner {
  background: linear-gradient(110deg, #eeebff, #f5f4ff 60%, #ecf9f8);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.0625rem;
  margin-block: 1.4375rem;
}
.stat-card {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5625rem;
  padding: 1.25rem 1.25rem 1.0625rem;
  min-width: 0;
}
.stat-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.stat-card p {
  font-size: 0.75rem;
  color: #5a6279;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 1.8125rem;
  height: 1.8125rem;
  border-radius: 0.375rem;
}
.stat-icon .icon {
  width: 0.9375rem;
  height: 0.9375rem;
}
.violet {
  background: #f0ebff;
  color: var(--violet-text);
}
.teal {
  background: #e2f7f4;
  color: #05706c;
}
.blue {
  background: #e7f3fd;
  color: #1f6a97;
}
.amber {
  background: #fff5e3;
  color: #7e5f24;
}
.stat-card > strong {
  display: block;
  font-family: Manrope, var(--sans);
  font-size: 1.9375rem;
  letter-spacing: -0.0625rem;
  line-height: 1.2;
  margin-top: 0.625rem;
  font-weight: 650;
}
.stat-description {
  display: block;
  font-size: 0.625rem;
  color: #5d6577;
  margin-top: 0.625rem;
  line-height: 1.7;
}
.panel {
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.625rem;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.3125rem 1.4375rem;
  border-bottom: 0.0625rem solid #eff1f7;
}
.panel-heading h2 {
  font-size: 0.875rem;
  letter-spacing: -0.015625rem;
}
.panel-heading p {
  color: #5d6576;
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(15rem, 1fr);
  gap: 1.375rem;
  align-items: start;
}
.table-scroll {
  width: 100%;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.75rem;
  white-space: nowrap;
  text-align: left;
}
thead {
  background: #fbfcff;
}
th {
  font-weight: 500;
  font-size: 0.625rem;
  letter-spacing: 0.00625rem;
  color: #5c6476;
  border-bottom: 0.0625rem solid #eef1f7;
  padding: 0.875rem 1.25rem;
}
td {
  padding: 1rem 1.25rem;
  border-bottom: 0.0625rem solid #eff1f7;
  vertical-align: middle;
  color: #55627e;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfcff;
}
.credential-cell {
  display: flex;
  gap: 0.6875rem;
  align-items: center;
}
.credential-cell > span:last-child {
  min-width: 8.125rem;
  max-width: 15rem;
}
.credential-cell strong {
  font-size: 0.75rem;
  font-weight: 600;
  color: #243966;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.credential-cell small {
  display: block;
  font-size: 0.625rem;
  color: #5b6276;
  margin-top: 0.25rem;
}
.credential-glyph {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.0625rem;
  height: 2.25rem;
  border-radius: 0.4375rem;
}
.credential-glyph .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
}
.person-cell > div > strong {
  display: block;
  font-size: 0.8125rem;
  color: #293c64;
  font-weight: 550;
}
.person-cell small {
  display: block;
  font-size: 0.6875rem;
  color: #5b6477;
  margin-top: 0.1875rem;
}
.date-cell {
  font-size: 0.6875rem;
  color: #5a6375;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  padding: 0.25rem 0.4375rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}
.status-pill > span {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: currentColor;
}
.status-pill.valid {
  background: #e8f8f3;
  color: #16725b;
}
.status-pill.expired {
  background: #fff5e5;
  color: #815f1b;
}
.status-pill.revoked {
  background: #fdf0f3;
  color: #a8405b;
}
.status-pill.inactive {
  background: #eff1f6;
  color: #5b6379;
}
.row-open {
  width: 1.625rem;
  height: 1.625rem;
}
.row-open .icon {
  width: 0.875rem;
  height: 0.875rem;
}
.recent-panel th,
.recent-panel td {
  padding-inline: 1rem;
}
.recent-panel .credential-cell > span:last-child {
  min-width: 6.5625rem;
  max-width: 11.25rem;
}
.recent-panel .credential-cell strong {
  font-size: 0.6875rem;
}
.recent-panel .person-cell {
  font-size: 0.6875rem;
}
.recent-panel .avatar-small {
  display: none;
}
.activity-panel .panel-heading {
  padding-inline: 1.25rem;
}
.activity-list {
  padding: 1.375rem 1.25rem 0.375rem;
  margin: 0;
  list-style: none;
}
.activity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 1.4375rem;
}
.activity-list li:last-child {
  padding-bottom: 0.625rem;
}
.activity-dot {
  display: grid;
  place-items: center;
  width: 1.8125rem;
  height: 1.8125rem;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.activity-dot .icon {
  width: 0.875rem;
  height: 0.875rem;
}
.activity-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 0.3125rem;
  left: 0.875rem;
  width: 0.0625rem;
  background: #edf0f7;
}
.activity-list strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #405076;
  line-height: 1.8;
}
.activity-list p {
  font-size: 0.625rem;
  color: #5b6377;
  margin-top: 0.1875rem;
  line-height: 1.8;
}
.activity-list small {
  font-size: 0.5625rem;
  color: #5c6577;
  display: block;
  margin-top: 0.375rem;
}
.activity-link {
  margin: 0.4375rem 1.25rem 1.375rem;
  font-size: 0.6875rem;
}
.scenario-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.6875rem;
  color: #5b6273;
}
.scenario-controls label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.625rem;
}
.scenario-controls label .icon {
  width: 0.8125rem;
  height: 0.8125rem;
}
.scenario-controls select {
  font-size: 0.6875rem;
  min-height: 1.9375rem;
  padding-block: 0.3125rem;
  color: #5a647d;
  background: transparent;
}
.next-step-art {
  display: grid;
  place-items: center;
  width: 2.9375rem;
  height: 2.9375rem;
  background: #eeebff;
  border-radius: 0.75rem;
  margin: 1.375rem auto 1.0625rem;
  color: var(--violet-text);
}
.next-step-art .icon {
  width: 1.375rem;
  height: 1.375rem;
}
.activity-panel > h3 {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0 1.4375rem;
}
.panel-body-copy {
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--muted);
  padding: 0 1.4375rem;
  margin-top: 0.75rem;
}
.activity-panel > .button {
  display: flex;
  margin: 1.125rem 1.4375rem 1.4375rem;
  font-size: 0.6875rem;
  padding-inline: 0.625rem;
}
.activity-panel > .tip {
  margin: 0 1.125rem 1.25rem;
  padding: 0.75rem;
  font-size: 0.625rem;
}
.tip {
  display: flex;
  gap: 0.5625rem;
  align-items: flex-start;
  background: #f6f7fc;
  border: 0.0625rem solid #e9ecf5;
  border-radius: 0.4375rem;
  padding: 0.875rem;
  color: #59617b;
  font-size: 0.75rem;
  line-height: 1.9;
}
.tip > .icon,
.tip > span > .icon {
  width: 0.9375rem;
  height: 0.9375rem;
  color: #695b88;
  margin-top: 0.125rem;
}
.tip p {
  min-width: 0;
}
.recent-learner-list > a {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  padding: 1.0625rem 1.4375rem;
  border-bottom: 0.0625rem solid #eff1f7;
}
.recent-learner-list > a:last-child {
  border-bottom: 0;
}
.recent-learner-list > a > div:not(.achievement-badge) {
  flex: 1;
}
.recent-learner-list strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
}
.recent-learner-list > a > div > span {
  display: block;
  color: #5b6579;
  font-size: 0.6875rem;
  margin-top: 0.25rem;
}
.recent-learner-list > a > .icon {
  width: 0.875rem;
  height: 0.875rem;
  color: #5a6175;
}
.achievement-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.125rem;
  height: 3.375rem;
  flex-shrink: 0;
  background: transparent;
}
.achievement-badge::before {
  content: "";
  position: absolute;
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 0.8125rem;
  transform: rotate(45deg);
  background: currentColor;
  opacity: 0.12;
}
.achievement-badge > div {
  display: grid;
  place-items: center;
  width: 2.1875rem;
  height: 2.1875rem;
  background: #fff;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 0.1875rem #ffffff65;
}
.achievement-badge > div > .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.achievement-badge > span {
  display: grid;
  place-items: center;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  bottom: 0.1875rem;
  right: 0.1875rem;
  box-shadow: 0 0 0 0.125rem #fff;
  z-index: 2;
}
.achievement-badge > span .icon {
  width: 0.625rem;
  height: 0.625rem;
}
.achievement-badge.badge-large {
  width: 6.875rem;
  height: 7.4375rem;
}
.badge-large::before {
  width: 5.625rem;
  height: 5.625rem;
  border-radius: 1.5625rem;
}
.badge-large > div {
  width: 4.5rem;
  height: 4.5rem;
  box-shadow: 0 0 0 0.375rem #ffffff70;
}
.badge-large > div > .icon {
  width: 2.375rem;
  height: 2.375rem;
}
.badge-large > span {
  width: 1.5rem;
  height: 1.5rem;
  right: 0.5rem;
  bottom: 0.625rem;
  box-shadow: 0 0 0 0.25rem #fff;
}
.badge-large > span .icon {
  width: 0.9375rem;
  height: 0.9375rem;
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9375rem;
}
.search-field {
  position: relative;
  max-width: 28.125rem;
  flex: 1;
}
.search-field > .icon {
  position: absolute;
  left: 0.8125rem;
  top: 0.75rem;
  width: 1rem;
  height: 1rem;
  color: #5e6373;
}
.search-field input {
  padding-left: 2.375rem;
  min-height: 2.5625rem;
  font-size: 0.75rem;
}
.filter-fields {
  display: flex;
  gap: 0.5625rem;
  align-items: center;
}
.filter-fields select {
  font-size: 0.6875rem;
  min-height: 2.5625rem;
  max-width: 11.875rem;
}
.layout-toggle {
  display: flex;
  gap: 0.125rem;
  padding: 0.1875rem;
  border: 0.0625rem solid #dce2ee;
  border-radius: 0.375rem;
  background: #fff;
}
.layout-toggle .icon-button {
  width: 1.9375rem;
  height: 2.0625rem;
}
.layout-toggle .selected {
  color: var(--violet-text);
  background: #f0ecff;
}
.layout-toggle .icon {
  width: 1rem;
  height: 1rem;
}
.results-count {
  font-size: 0.6875rem;
  color: #5b6377;
  margin-block: 1.125rem;
}
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3125rem;
}
.wallet-card {
  min-width: 0;
  background: #fff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.6875rem;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.wallet-card:hover {
  box-shadow: 0 0.625rem 1.5625rem #293b740a;
  border-color: #d4c9f9;
}
.wallet-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 1.1875rem 1.25rem 0;
}
.category-label {
  font-size: 0.625rem;
  font-weight: 500;
  color: #5a657b;
}
.wallet-card-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.1875rem 1.25rem 1.75rem;
  text-align: center;
}
.wallet-card-main h2 {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -0.03125rem;
  max-width: 15.625rem;
  margin-top: 1.0625rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-card-main > p {
  font-size: 0.75rem;
  color: #5a6276;
  margin-top: 0.5rem;
}
.wallet-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  border-top: 0.0625rem solid #eef1f7;
  background: #fcfdff;
}
.wallet-card-bottom > span {
  font-size: 0.625rem;
  color: #5b6478;
}
.wallet-card-bottom .inline-link {
  font-size: 0.625rem;
}
.wallet-card-bottom .inline-link > .icon {
  width: 0.8125rem;
  height: 0.8125rem;
}
.credential-list-panel {
  overflow: hidden;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.5rem;
  color: #5c6578;
  font-size: 0.6875rem;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 1.0625rem;
}
.pagination > div > span {
  font-size: 0.6875rem;
}
.empty-state {
  padding: 3.125rem 1.5625rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.empty-state h2 {
  font-size: 1.125rem;
  margin-top: 1.0625rem;
}
.empty-state p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.9;
  max-width: 21.875rem;
  margin-top: 0.625rem;
}
.empty-state > .button {
  margin-top: 1.4375rem;
}
.state-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 0.8125rem;
  background: #f0ecff;
  color: var(--violet-text);
}
.state-icon .icon {
  width: 1.625rem;
  height: 1.625rem;
}
.state-icon.warning {
  background: #fff5e4;
  color: #805d17;
}
.state-panel {
  padding: 4.375rem 1.875rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.25rem;
}
.state-panel h1,
.state-panel h2 {
  font-size: 1.5rem;
  margin-top: 1.4375rem;
  letter-spacing: -0.04375rem;
}
.state-panel p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 26.25rem;
  margin-top: 0.75rem;
}
.state-panel .button {
  margin-top: 1.5625rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #59647a;
  margin-bottom: 1.1875rem;
}
.back-link .icon {
  width: 0.875rem;
  height: 0.875rem;
  transform: rotate(180deg);
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(15.9375rem, 0.85fr) minmax(0, 1.5fr);
  gap: 1.625rem;
  align-items: start;
}
.credential-display {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5625rem 1.375rem;
  background: linear-gradient(160deg, #fff 65%, #f9f7ff);
  isolation: isolate;
}
.credential-display-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.375rem;
  margin: 0 auto 1.8125rem;
}
.credential-display-brand img:first-child {
  width: 1.5rem;
  height: auto;
}
.credential-display-brand img:last-child {
  width: 5.5625rem;
  height: auto;
}
.credential-display > .eyebrow {
  font-size: 0.5625rem;
  letter-spacing: 0.0875rem;
}
.credential-display > .achievement-badge {
  margin: 1.625rem auto 1.3125rem;
}
.credential-display h2 {
  font-size: 1.4375rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.05rem;
}
.credential-display > p:not(.eyebrow) {
  font-size: 0.6875rem;
  color: #5e6173;
  margin-top: 1.5rem;
}
.credential-display h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.4375rem;
}
.credential-display-issuer {
  display: block;
  font-size: 0.75rem;
  color: #5b657b;
  margin-top: 1.0625rem;
}
.credential-display-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  padding-top: 1.3125rem;
  border-top: 0.0625rem solid #e8e8f4;
  margin-top: 2.5rem;
}
.credential-display-status > span:last-child {
  font-size: 0.625rem;
  color: #5b6378;
}
.display-ornament {
  width: 13.75rem;
  height: 13.75rem;
  position: absolute;
  bottom: -10.3125rem;
  left: -5.625rem;
  background: #eae5ff;
  border-radius: 2.5rem;
  transform: rotate(35deg);
  z-index: -1;
}
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.detail-panel > .panel-heading {
  padding: 1.3125rem 1.4375rem;
}
.detail-panel > h3 {
  font-size: 0.8125rem;
  margin: 1.4375rem 1.5rem 0.5625rem;
  font-weight: 600;
}
.detail-panel > p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.95;
  margin: 0 1.5rem;
}
.credential-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1875rem 1.25rem;
  border-top: 0.0625rem solid var(--line);
  margin: 1.5rem;
  padding: 1.375rem 0 0;
}
.credential-meta dt {
  font-size: 0.625rem;
  color: #5b6276;
}
.credential-meta dd {
  font-size: 0.75rem;
  color: #3f537a;
  margin: 0.3125rem 0 0;
}
.credential-meta .meta-full {
  grid-column: 1/-1;
}
.credential-meta dd.mono {
  font-size: 0.6875rem;
}
.verification-panel {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1.25rem;
}
.verification-icon {
  display: grid;
  place-items: center;
  width: 2.3125rem;
  height: 2.3125rem;
  border-radius: 0.5625rem;
  background: #e7f8f3;
  color: #1c7058;
  flex-shrink: 0;
}
.verification-icon .icon {
  width: 1.3125rem;
  height: 1.3125rem;
}
.verification-panel > div {
  flex: 1;
}
.verification-panel h2 {
  font-size: 0.875rem;
}
.verification-panel p {
  font-size: 0.6875rem;
  color: #5b6276;
  margin-top: 0.3125rem;
}
.verification-panel .button {
  min-height: 2.125rem;
  font-size: 0.6875rem;
  gap: 0.5rem;
  padding-inline: 0.75rem;
}
.portability-panel {
  padding: 1.375rem;
}
.portability-panel h2 {
  font-size: 0.875rem;
}
.portability-panel p {
  font-size: 0.6875rem;
  color: #5b6376;
  margin-top: 0.3125rem;
}
.portability-panel > div:last-child {
  display: flex;
  gap: 0.5625rem;
  margin-top: 1.125rem;
  flex-wrap: wrap;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.6875rem;
  padding: 1rem 1.125rem;
  border: 0.0625rem solid #dfe6f4;
  border-radius: 0.4375rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: #58627a;
  background: #f4f7fc;
}
.notice > .icon {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.0625rem;
}
.notice strong {
  font-size: 0.8125rem;
  font-weight: 600;
}
.notice p {
  font-size: 0.75rem;
  line-height: 1.85;
}
.notice strong + p {
  margin-top: 0.3125rem;
}
.notice.danger {
  background: #fff4f6;
  border-color: #f1d6de;
  color: #a3475e;
}
.notice.amber {
  background: #fff8ec;
  border-color: #f2e3bf;
  color: #7d5d20;
}
.notice.subtle {
  margin-top: 1.5rem;
  margin-bottom: 0;
  background: transparent;
  border-style: dashed;
  padding: 0.875rem 1.0625rem;
}
.revoke-zone {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  justify-content: space-between;
  padding: 0.4375rem 0.125rem;
}
.revoke-zone h3 {
  font-size: 0.75rem;
  color: #6c5d6e;
  font-weight: 600;
}
.revoke-zone p {
  font-size: 0.6875rem;
  color: #69616d;
  margin-top: 0.375rem;
  line-height: 1.8;
}
.revoke-zone > .button {
  flex-shrink: 0;
}
.issue-progress {
  display: flex;
  list-style: none;
  counter-reset: step;
  padding: 1.3125rem 1.5625rem;
  margin: 0 0 1.625rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  gap: 2.1875rem;
}
.issue-progress li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  position: relative;
  font-size: 0.75rem;
  color: #5a6274;
}
.issue-progress li > span {
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  border: 0.0625rem solid #dfe4ef;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 500;
  background: #fff;
  flex-shrink: 0;
  z-index: 1;
}
.issue-progress strong {
  font-size: 0.75rem;
  font-weight: 500;
  position: relative;
  background: #fff;
  padding-right: 0.9375rem;
  z-index: 1;
}
.issue-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  height: 0.0625rem;
  left: 2.8125rem;
  right: -1.25rem;
  top: 0.8125rem;
  background: #e5e8f3;
}
.issue-progress .current {
  color: var(--navy);
}
.issue-progress .current > span {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.issue-progress .current > strong {
  font-weight: 650;
}
.issue-progress .complete {
  color: #11715c;
}
.issue-progress .complete > span {
  border-color: #caeae0;
  background: #e7f7f1;
}
.issue-progress .complete .icon {
  width: 0.8125rem;
  height: 0.8125rem;
}
.issue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16.25rem, 0.8fr);
  gap: 1.6875rem;
  align-items: start;
}
.form-panel {
  padding: 1.8125rem;
}
.form-step-label {
  font-size: 0.5625rem;
  letter-spacing: 0.08125rem;
  color: #695f83;
  margin-bottom: 0.6875rem;
}
.form-panel > h2 {
  font-size: 1.4375rem;
  line-height: 1.4;
  letter-spacing: -0.04375rem;
}
.form-intro {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.95;
  margin: 0.5625rem 0 1.5625rem;
}
.form-field {
  margin-top: 1.25rem;
  display: block;
  min-width: 0;
}
.form-field > label,
.form-field > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  color: #4e5d7c;
  margin-bottom: 0.5rem;
}
.form-field label > span {
  color: #6d5e83;
}
.form-field label > small {
  font-size: 0.625rem;
  color: #5b6579;
  font-weight: 400;
  margin-left: 0.1875rem;
}
.form-field > select {
  width: 100%;
  min-height: 2.6875rem;
  font-size: 0.8125rem;
}
.field-hint {
  font-size: 0.6875rem;
  color: #5c657a;
  line-height: 1.8;
  margin-top: 0.4375rem;
}
.form-panel > .tip {
  margin-top: 1.5625rem;
}
.assigned-org {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #f9faff;
  border: 0.0625rem solid var(--line);
  border-radius: 0.4375rem;
  margin-top: 1.5rem;
}
.assigned-org > div {
  flex: 1;
}
.assigned-org > div > span {
  display: block;
  font-size: 0.625rem;
  color: #5a6175;
}
.assigned-org strong {
  font-size: 0.8125rem;
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}
.assigned-org > .icon {
  width: 0.9375rem;
  height: 0.9375rem;
  color: #5c626f;
}
.org-avatar {
  width: 2.3125rem;
  height: 2.3125rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.5625rem;
  font-size: 0.8125rem;
  font-family: Manrope, var(--sans);
  font-weight: 700;
}
.workspace-card > .org-avatar {
  width: 2rem;
  height: 2rem;
  font-size: 0.6875rem;
  border-radius: 0.4375rem;
}
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9375rem;
  margin-top: 1.6875rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--line);
}
.required-note {
  color: #5e6575;
  font-size: 0.6875rem;
}
.form-error {
  font-size: 0.8125rem;
  line-height: 1.85;
  background: #fff2f5;
  border: 0.0625rem solid #f1d3dc;
  border-radius: 0.375rem;
  padding: 0.75rem;
  color: #af3e59;
  margin-top: 1.25rem;
}
.issue-preview {
  position: sticky;
  top: 1.25rem;
  min-width: 0;
}
.preview-label {
  text-align: center;
  font-size: 0.5625rem;
  letter-spacing: 0.075rem;
  color: #656179;
  margin: 0.125rem 0 1rem;
}
.issue-preview > .credential-display {
  border-color: #e1d9f4;
  box-shadow: 0 0.625rem 2.1875rem #32247506;
  padding-inline: 1.4375rem;
}
.issue-preview .credential-display h2 {
  font-size: 1.3125rem;
}
.preview-note {
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.9;
  color: #666179;
  margin-top: 1.25rem;
}
.draft-pill {
  font-size: 0.625rem;
  background: #efebff;
  color: #6b5890;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
.example-selector {
  margin: 1.25rem 0 1.5rem;
  padding: 0.875rem;
  background: #f9f8fe;
  border: 0.0625rem solid #eee9fa;
  border-radius: 0.4375rem;
}
.example-selector > span {
  font-size: 0.6875rem;
  color: #685c81;
}
.example-selector > div {
  display: flex;
  gap: 0.4375rem;
  flex-wrap: wrap;
  margin-top: 0.625rem;
}
.example-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.625rem;
  color: #6f5a9e;
  padding: 0.375rem 0.5rem;
  border: 0.0625rem solid #e4ddf5;
  border-radius: 0.3125rem;
  background: #fff;
}
.example-chip .icon {
  width: 0.75rem;
  height: 0.75rem;
}
.example-chip:hover {
  background: #f0eaff;
  color: #6440ce;
}
.review-summary {
  margin: 0;
}
.review-summary > div {
  display: grid;
  grid-template-columns: 9.0625rem minmax(0, 1fr);
  gap: 1.25rem;
  border-bottom: 0.0625rem solid #eef0f7;
  padding: 0.9375rem 0;
}
.review-summary dt {
  font-size: 0.6875rem;
  color: #5c6376;
}
.review-summary dd {
  font-size: 0.8125rem;
  margin: 0;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.review-summary dd > small {
  font-size: 0.6875rem;
  display: block;
  color: #5e6576;
}
.review-summary dd.mono {
  font-size: 0.6875rem;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: #59647e;
  line-height: 1.9;
  margin-top: 1.4375rem;
}
.checkbox-field span > small {
  display: block;
  font-size: 0.6875rem;
  color: #5e6576;
  margin-top: 0.25rem;
}
.organization-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.375rem;
}
.organization-card {
  padding: 1.5rem;
}
.organization-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.375rem;
}
.organization-card > .organization-card-top > .org-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}
.organization-card h2 {
  font-size: 1.125rem;
  letter-spacing: -0.0375rem;
}
.organization-card > p {
  font-size: 0.75rem;
  color: #5d6476;
  margin-top: 0.4375rem;
}
.organization-stats {
  display: flex;
  gap: 1.875rem;
  margin-top: 1.6875rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.0625rem solid var(--line);
}
.organization-stats strong {
  display: block;
  font-size: 1.4375rem;
  font-weight: 600;
  font-family: Manrope, var(--sans);
}
.organization-stats span {
  display: block;
  font-size: 0.625rem;
  color: #5b6173;
  margin-top: 0.25rem;
}
.organization-uri {
  margin-top: 1.1875rem;
}
.organization-uri > span {
  font-size: 0.625rem;
  color: #5e6575;
  display: block;
  margin-bottom: 0.4375rem;
}
.organization-uri code {
  font-size: 0.625rem;
  line-height: 1.9;
  display: block;
  color: #58637d;
}
.organization-card-bottom {
  margin-top: 1.4375rem;
  padding-top: 1.125rem;
  border-top: 0.0625rem solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
}
.organization-card-bottom > span {
  font-size: 0.5625rem;
  color: #5e6576;
}
.organization-card-bottom .inline-link {
  font-size: 0.625rem;
}
.organization-card-bottom .inline-link .icon {
  width: 0.75rem;
  height: 0.75rem;
}
.small-stats {
  display: flex;
  gap: 1.5625rem;
  align-items: center;
  margin-bottom: 1.4375rem;
  color: #5b6276;
  font-size: 0.75rem;
}
.small-stats strong {
  font-size: 0.875rem;
  color: #465979;
  margin-right: 0.25rem;
  font-weight: 600;
}
.small-stats .online-dot {
  width: 0.3125rem;
  height: 0.3125rem;
  margin-right: 0.375rem;
}
.accounts-panel td {
  padding-block: 1.125rem;
}
.role-pill {
  display: inline-block;
  font-size: 0.6875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background: #f2f3fa;
  color: #58627b;
}
.role-pill.admin {
  background: #f0eaff;
  color: #7757a4;
}
.role-pill.issuer {
  background: #edf3ff;
  color: #446390;
}
.role-pill.org {
  background: #e9f6fc;
  color: #2e6a86;
}
.role-pill.learner {
  background: #e6f7f0;
  color: #346c5a;
}
.organization-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.625rem;
}
.org-profile-card {
  padding: 2rem;
}
.org-profile-card > .org-avatar {
  width: 3.875rem;
  height: 3.875rem;
  font-size: 1.25rem;
  border-radius: 0.875rem;
  margin-bottom: 1.4375rem;
}
.org-profile-card h2 {
  font-size: 1.5rem;
}
.org-profile-card > p {
  font-size: 0.8125rem;
  color: #596377;
  margin-top: 0.625rem;
}
.org-profile-card > .status-pill {
  margin-top: 1.1875rem;
}
.org-profile-card dl {
  margin: 1.5625rem 0 0;
  border-top: 0.0625rem solid var(--line);
  padding-top: 0.375rem;
}
.org-profile-card dl > div {
  padding-top: 1.125rem;
}
.org-profile-card dt {
  font-size: 0.6875rem;
  color: #5c6578;
}
.org-profile-card dd {
  font-size: 0.75rem;
  margin: 0.375rem 0 0;
  line-height: 1.9;
  color: #4e6489;
}
.org-profile-info {
  padding: 2.1875rem;
}
.org-profile-info > h2 {
  font-size: 1.5rem;
  margin-top: 1.5625rem;
  line-height: 1.5;
}
.org-profile-info > p {
  font-size: 0.875rem;
  color: #5b6579;
  line-height: 1.95;
  margin-top: 1.25rem;
}
.org-profile-info > .tip {
  margin-top: 1.5625rem;
}
.org-profile-info > .button {
  margin-top: 1.625rem;
}
.validation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5625rem;
  align-items: stretch;
}
.validation-form-panel {
  padding: 1.875rem;
}
.validation-heading > .state-icon {
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 0.625rem;
  margin-bottom: 1.25rem;
}
.validation-heading h2 {
  font-size: 1.4375rem;
  letter-spacing: -0.04375rem;
}
.validation-heading > p {
  font-size: 0.8125rem;
  color: #5a6176;
  line-height: 1.9;
  margin-top: 0.625rem;
}
.validation-form-panel form {
  margin-top: 1.5625rem;
}
.validation-form-panel textarea {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  min-height: 7.8125rem;
}
.validation-form-panel form > .button {
  width: 100%;
  margin-top: 1.25rem;
}
.validation-examples {
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--line);
  margin-top: 1.6875rem;
}
.validation-examples > p {
  font-size: 0.6875rem;
  color: #5e6374;
  margin-bottom: 0.75rem;
}
.validation-examples > div {
  display: flex;
  gap: 0.4375rem;
  flex-wrap: wrap;
}
.public-note {
  display: flex;
  gap: 0.5625rem;
  align-items: flex-start;
  margin-top: 1.6875rem;
  color: #5e6273;
  font-size: 0.6875rem;
  line-height: 1.9;
}
.public-note > .icon {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.125rem;
}
.validation-result-panel {
  padding: 1.8125rem;
  min-height: 31.875rem;
  display: flex;
  flex-direction: column;
}
.validation-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 28.75rem;
  padding: 0.625rem 1.25rem;
}
.verification-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  border: 0.0625rem dashed #dcd3fa;
  border-radius: 50%;
  color: #695d87;
  margin-bottom: 1.75rem;
}
.verification-orbit::after {
  content: "";
  position: absolute;
  inset: 0.6875rem;
  border: 0.0625rem solid #e8e1f7;
  border-radius: 50%;
}
.verification-orbit > .icon {
  width: 2rem;
  height: 2rem;
}
.validation-empty h2 {
  font-size: 1.375rem;
  line-height: 1.5;
  letter-spacing: -0.04375rem;
}
.validation-empty p {
  font-size: 0.8125rem;
  line-height: 1.95;
  color: #5e6576;
  max-width: 17.5rem;
  margin-top: 1.0625rem;
}
.validation-empty > span {
  font-size: 0.5625rem;
  letter-spacing: 0.09375rem;
  color: #655e79;
  margin-top: 2rem;
}
.validation-verdict {
  text-align: center;
}
.verdict-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  margin: 0.1875rem auto 1.25rem;
}
.verdict-icon > .icon {
  width: 1.8125rem;
  height: 1.8125rem;
}
.verdict-valid .verdict-icon {
  background: #e6f7f0;
  color: #137258;
}
.verdict-invalid .verdict-icon {
  background: #fff0e9;
  color: #855a20;
}
.verdict-unavailable .verdict-icon {
  background: #f4edfe;
  color: #765795;
}
.validation-verdict .eyebrow {
  font-size: 0.5625rem;
}
.validation-verdict h2 {
  font-size: 1.5rem;
  margin-top: 0.625rem;
  letter-spacing: -0.05rem;
}
.validation-verdict > p:not(.eyebrow) {
  font-size: 0.8125rem;
  color: #596377;
  line-height: 1.9;
  max-width: 19.375rem;
  margin: 0.75rem auto 0;
}
.validated-credential {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  margin-top: 1.625rem;
  border-block: 0.0625rem solid var(--line);
  padding: 1.1875rem 0;
}
.validated-credential h3 {
  font-size: 0.875rem;
  line-height: 1.7;
}
.validated-credential p {
  font-size: 0.75rem;
  color: #5b6173;
  margin-top: 0.25rem;
}
.validation-record {
  margin: 0.625rem 0 0;
}
.validation-record > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.625rem 0;
}
.validation-record dt {
  font-size: 0.6875rem;
  color: #5e6475;
}
.validation-record dd {
  font-size: 0.75rem;
  text-align: right;
  margin: 0;
  color: #536789;
  max-width: 65%;
}
.checked-at {
  text-align: center;
  font-size: 0.625rem;
  color: #5e6575;
  margin-top: auto;
  padding-top: 1.5rem;
}
.validation-disclaimer {
  font-size: 0.625rem;
  color: #5b6174;
  line-height: 1.9;
  text-align: center;
  border-top: 0.0625rem solid var(--line);
  padding-top: 0.9375rem;
  margin-top: 0.9375rem;
}
.revocation-note {
  color: #945064;
  font-size: 0.6875rem;
  background: #fff6f8;
  border-radius: 0.3125rem;
  padding: 0.75rem;
  margin-top: 0.9375rem;
  line-height: 1.9;
}
.validation-result-panel > .button {
  margin: 1.125rem auto 0;
}
.login-heading {
  text-align: center;
  margin: 0.9375rem auto 2.5rem;
}
.login-heading h1 {
  font-size: 2.3125rem;
  line-height: 1.4;
  letter-spacing: -0.09375rem;
  margin-top: 0.9375rem;
}
.login-heading > p {
  font-size: 0.875rem;
  color: #5d6577;
  margin-top: 1.0625rem;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.125rem;
}
.persona-card {
  text-align: left;
  padding: 1.5625rem 1.25rem;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.persona-card:hover {
  border-color: #c9bbf5;
  transform: translateY(-0.1875rem);
}
.persona-icon {
  display: grid;
  place-items: center;
  width: 2.6875rem;
  height: 2.6875rem;
  border-radius: 0.625rem;
  margin-bottom: 1.4375rem;
}
.persona-icon .icon {
  width: 1.4375rem;
  height: 1.4375rem;
}
.persona-card h2 {
  font-size: 1.125rem;
}
.persona-card > p {
  font-size: 0.75rem;
  color: #5b6576;
  line-height: 1.9;
  margin-top: 0.6875rem;
  min-height: 2.375rem;
}
.persona-name {
  font-size: 0.75rem;
  display: block;
  margin-top: 1.375rem;
  padding-top: 1.125rem;
  border-top: 0.0625rem solid var(--line);
  color: #5a6579;
}
.persona-card > .inline-link {
  margin-top: 1.4375rem;
  font-size: 0.6875rem;
}
.login-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: #5e6576;
  margin: 1.875rem auto 0;
}
.public-validation-link {
  display: flex;
  justify-content: center;
  margin-top: 1.125rem;
  font-size: 0.8125rem;
}
.toast {
  position: fixed;
  left: calc(50% + var(--sidebar) / 2);
  bottom: 1.625rem;
  transform: translateX(-50%);
  max-width: min(37.5rem, calc(100vw - 2.25rem));
  padding: 0.875rem 1.375rem;
  background: #102657;
  color: #fff;
  border: 0.0625rem solid #294276;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.875rem #071d5330;
  font-size: 0.8125rem;
  line-height: 1.8;
  z-index: 90;
}
.spinner {
  width: 0.8125rem;
  height: 0.8125rem;
  border: 0.125rem solid #ffffff55;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
dialog {
  padding: 0;
  border: 0.0625rem solid #dde2ee;
  border-radius: 0.8125rem;
  background: #fff;
  color: var(--ink);
  width: min(37.5rem, calc(100% - 2.5rem));
  max-height: 88dvh;
  box-shadow: 0 1.5625rem 6.25rem #0b1f5b35;
}
dialog::backdrop {
  background: #10204b62;
  backdrop-filter: blur(0.25rem);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.6875rem;
  border-bottom: 0.0625rem solid var(--line);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.modal-header .eyebrow {
  font-size: 0.5625rem;
  margin-bottom: 0.4375rem;
}
.modal-header h2 {
  font-size: 1.25rem;
  letter-spacing: -0.0375rem;
  line-height: 1.5;
}
.modal-header > .icon-button {
  align-self: flex-start;
}
.modal-body {
  padding: 1.5625rem 1.75rem 1.75rem;
}
.modal-body > .form-intro {
  margin-top: 0;
}
.modal-body > .form-field:first-child {
  margin-top: 0;
}
.modal-body > p:not(.form-intro):not(.form-error):not(.field-hint) {
  font-size: 0.875rem;
  line-height: 1.95;
  color: #586478;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.0625rem;
}
.form-row .form-field {
  margin-top: 0;
}
.read-only-field {
  background: #f8f9fd;
  border: 0.0625rem solid var(--line);
  padding: 0.875rem;
  border-radius: 0.375rem;
  margin-top: 1.25rem;
}
.read-only-field > span {
  display: block;
  font-size: 0.6875rem;
  color: #5b6173;
}
.read-only-field code {
  display: block;
  font-size: 0.75rem;
  line-height: 1.9;
  color: #556581;
  margin-top: 0.5rem;
}
.modal-body > .notice {
  margin-bottom: 1.25rem;
}
.revoke-credential {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  padding: 0.875rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.4375rem;
}
.revoke-credential > strong {
  font-size: 0.875rem;
  font-weight: 600;
}
.revoke-credential > span {
  font-size: 0.75rem;
  color: #5a6277;
}
.share-body > .achievement-badge {
  margin: 0.3125rem auto 1.125rem;
}
.share-body > h3 {
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: -0.0375rem;
}
.share-body > p {
  text-align: center;
  margin: 0.75rem auto 1.5625rem;
  max-width: 24.375rem;
}
.share-body > .button {
  margin-top: 0.75rem;
}
.share-body > .tip {
  margin-top: 1.5rem;
  font-size: 0.6875rem;
}
.share-body > .form-field > input {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
}
.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1.0625rem;
  padding: 1.1875rem 0;
  border-bottom: 0.0625rem solid var(--line);
}
.guide-steps li > span {
  display: grid;
  place-items: center;
  width: 1.8125rem;
  height: 1.8125rem;
  background: #f0ecff;
  color: #7152af;
  border-radius: 0.4375rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.guide-steps strong {
  font-size: 0.8125rem;
  font-weight: 600;
}
.guide-steps p {
  font-size: 0.75rem;
  color: #5b6579;
  line-height: 1.9;
  margin-top: 0.4375rem;
}
.guide-steps .inline-link {
  font-size: 0.6875rem;
  margin-top: 0.6875rem;
}
.review-questions {
  padding: 1.125rem;
  background: #f8f7fe;
  border-radius: 0.4375rem;
  border: 0.0625rem solid #eae5f7;
  margin-block: 1.4375rem;
}
.review-questions > h3 {
  font-size: 0.875rem;
}
.review-questions ul {
  padding-left: 1.125rem;
  margin: 0.75rem 0 0;
  color: #68607e;
  font-size: 0.75rem;
  line-height: 2.1;
}
.muted {
  color: var(--muted);
  font-size: 0.8125rem;
}
@media (min-width: 1600px) {
  main {
    padding-top: 2.625rem;
  }
  .topbar {
    padding-inline: 2.8125rem;
  }
  .welcome-banner {
    min-height: 15.625rem;
  }
  .stat-card {
    padding: 1.4375rem;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 2.3fr) minmax(17.5rem, 1fr);
  }
  .recent-panel td,
  .recent-panel th {
    padding-inline: 1.4375rem;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar: 13.5625rem;
  }
  .sidebar {
    padding-inline: 1rem;
  }
  .topbar {
    padding-inline: 1.625rem;
  }
  main {
    padding-inline: 1.625rem;
  }
  .app-footer {
    margin-inline: 1.625rem;
  }
  h1 {
    font-size: 1.625rem;
  }
  .page-heading {
    gap: 1.25rem;
  }
  .page-heading > div > p:not(.eyebrow) {
    font-size: 0.75rem;
  }
  .heading-actions > .button {
    font-size: 0.6875rem;
    padding-inline: 0.8125rem;
  }
  .welcome-banner {
    padding-inline: 1.6875rem;
  }
  .welcome-banner h2 {
    font-size: 1.5rem;
  }
  .banner-art {
    width: 13.75rem;
    margin-right: 1.25rem;
  }
  .banner-art > img {
    width: 8.75rem;
  }
  .banner-ring {
    width: 11.875rem;
    height: 11.875rem;
  }
  .banner-badge {
    right: -1.25rem;
    font-size: 0.5625rem;
  }
  .stats-grid {
    gap: 0.8125rem;
  }
  .stat-card {
    padding: 1rem;
  }
  .stat-card p {
    font-size: 0.6875rem;
  }
  .stat-description {
    font-size: 0.5625rem;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1.9fr) minmax(13.75rem, 1fr);
    gap: 1.0625rem;
  }
  .recent-panel td,
  .recent-panel th {
    padding-inline: 0.75rem;
  }
  .recent-panel .date-cell {
    display: none;
  }
  .recent-panel th:nth-last-child(3) {
    display: none;
  }
  .recent-panel .credential-cell > span:last-child {
    max-width: 10rem;
  }
  .recent-panel .person-cell {
    font-size: 0.625rem;
  }
  .wallet-grid {
    gap: 1rem;
  }
  .wallet-card-top {
    padding-inline: 1rem;
  }
  .wallet-card-main h2 {
    font-size: 0.875rem;
  }
  .wallet-card-bottom {
    padding-inline: 1rem;
  }
  .wallet-card-bottom > .inline-link {
    font-size: 0.5625rem;
  }
  .wallet-card-bottom > span {
    font-size: 0.5625rem;
  }
  .organization-grid {
    gap: 1rem;
  }
  .organization-card {
    padding: 1.25rem;
  }
  .organization-card h2 {
    font-size: 1rem;
  }
  .organization-card-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.625rem;
  }
  .organization-stats {
    gap: 1.4375rem;
  }
  .detail-layout {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.25fr);
    gap: 1.25rem;
  }
  .verification-panel {
    flex-wrap: wrap;
  }
  .verification-panel > .button {
    margin-left: 3.0625rem;
  }
  .issue-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(15.3125rem, 0.8fr);
    gap: 1.375rem;
  }
  .form-panel {
    padding: 1.5rem;
  }
  .issue-progress {
    gap: 1.5625rem;
  }
  .issue-progress strong {
    font-size: 0.6875rem;
  }
  .credential-display {
    padding-inline: 1.25rem;
  }
  .issue-preview .credential-display h2 {
    font-size: 1.1875rem;
  }
  .review-summary > div {
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.9375rem;
  }
  .persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .persona-card > p {
    min-height: 0;
  }
  .validation-form-panel,
  .validation-result-panel {
    padding: 1.5rem;
  }
  .validation-empty {
    padding-inline: 0.5rem;
  }
  .organization-profile {
    gap: 1.25rem;
  }
  .org-profile-info {
    padding: 1.75rem;
  }
  .org-profile-card {
    padding: 1.6875rem;
  }
}
@media (max-width: 1020px) {
  :root {
    --sidebar: 12.1875rem;
  }
  .sidebar {
    padding-inline: 0.75rem;
  }
  .app-brand {
    gap: 0.4375rem;
    margin-left: 0.5rem;
  }
  .app-brand img:first-child {
    width: 1.625rem;
  }
  .app-brand img:last-child {
    width: 5.6875rem;
  }
  .product-label {
    font-size: 0.625rem;
    padding-inline: 0.5625rem;
  }
  .product-label > span {
    font-size: 0.4375rem;
    padding-inline: 0.25rem;
  }
  .workspace-card {
    gap: 0.5rem;
    padding: 0.6875rem 0.5rem;
  }
  .workspace-card strong {
    font-size: 0.6875rem;
  }
  .workspace-card > div > span {
    font-size: 0.5625rem;
  }
  .nav-item {
    gap: 0.5625rem;
    font-size: 0.75rem;
    padding-inline: 0.625rem;
  }
  .nav-item .icon {
    width: 1rem;
    height: 1rem;
  }
  .sidebar-help {
    padding: 0.9375rem 0.75rem;
  }
  .sidebar-help strong {
    font-size: 0.75rem;
  }
  .sidebar-help > span {
    font-size: 0.625rem;
  }
  .sidebar-person strong {
    font-size: 0.6875rem;
  }
  .sidebar-person > .avatar {
    width: 1.8125rem;
    height: 1.8125rem;
    font-size: 0.6875rem;
  }
  .signout {
    font-size: 0.625rem;
  }
  .topbar {
    height: 4.375rem;
    padding-inline: 1.4375rem;
  }
  .topbar-tools {
    gap: 0.875rem;
  }
  .role-switcher > span {
    display: none;
  }
  .topbar-location {
    gap: 0.5625rem;
    font-size: 0.75rem;
  }
  main {
    padding: 1.8125rem 1.4375rem 2rem;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.0625rem;
    margin-bottom: 1.5rem;
  }
  .page-heading h1 {
    font-size: 1.6875rem;
  }
  .page-heading > div > p:not(.eyebrow) {
    font-size: 0.8125rem;
  }
  .heading-actions > .button {
    font-size: 0.75rem;
  }
  .welcome-banner {
    padding: 1.625rem 1.4375rem;
    min-height: 13.75rem;
  }
  .welcome-banner h2 {
    font-size: 1.375rem;
  }
  .welcome-banner p {
    font-size: 0.6875rem;
    max-width: 16.25rem;
  }
  .banner-kicker {
    font-size: 0.5rem;
  }
  .banner-art {
    width: 10.625rem;
    height: 10.625rem;
    margin-right: 0.75rem;
  }
  .banner-art > img {
    width: 7.375rem;
  }
  .banner-ring {
    width: 9.375rem;
    height: 9.375rem;
  }
  .banner-ring::after {
    inset: -1.3125rem;
  }
  .banner-badge {
    font-size: 0.5rem;
    right: -1.0625rem;
    padding: 0.5rem 0.625rem;
    bottom: 0.4375rem;
  }
  .banner-badge > .icon {
    width: 0.75rem;
    height: 0.75rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem;
  }
  .stat-card p {
    font-size: 0.75rem;
  }
  .stat-description {
    font-size: 0.625rem;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.3125rem;
  }
  .recent-panel .date-cell {
    display: table-cell;
  }
  .recent-panel th:nth-last-child(3) {
    display: table-cell;
  }
  .recent-panel .credential-cell > span:last-child {
    max-width: 13.75rem;
  }
  .recent-panel .person-cell {
    font-size: 0.75rem;
  }
  .activity-panel .activity-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.0625rem;
    padding: 1.375rem;
  }
  .activity-panel .activity-list li {
    padding-bottom: 0.4375rem;
  }
  .activity-panel .activity-list li::after {
    display: none;
  }
  .activity-panel .activity-list strong {
    font-size: 0.625rem;
  }
  .activity-panel .activity-dot {
    width: 1.5625rem;
    height: 1.5625rem;
  }
  .activity-panel > .next-step-art {
    margin-left: 1.4375rem;
    margin-right: 0;
  }
  .activity-panel > h3 {
    text-align: left;
    font-size: 0.9375rem;
  }
  .activity-panel > .button {
    display: inline-flex;
  }
  .activity-panel > .tip {
    max-width: 31.25rem;
    font-size: 0.6875rem;
  }
  .wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wallet-card-main h2 {
    font-size: 1rem;
  }
  .wallet-card-top > .category-label {
    font-size: 0.5625rem;
  }
  .wallet-card-bottom > .inline-link {
    font-size: 0.625rem;
  }
  .wallet-card-bottom > span {
    font-size: 0.625rem;
  }
  .list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .search-field {
    max-width: none;
  }
  .filter-fields {
    justify-content: flex-end;
  }
  .filter-fields select {
    max-width: none;
    flex: 1;
  }
  .layout-toggle {
    flex-shrink: 0;
  }
  .organization-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .organization-card {
    padding: 1.4375rem;
  }
  .organization-card h2 {
    font-size: 1.125rem;
  }
  .organization-card-bottom {
    flex-direction: row;
    align-items: center;
  }
  .organization-profile {
    grid-template-columns: 1fr;
  }
  .org-profile-info > p {
    max-width: 31.25rem;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-layout > .credential-display {
    max-width: 26.875rem;
    width: 100%;
    margin: auto;
    padding-inline: 1.875rem;
  }
  .detail-layout > .credential-display h2 {
    font-size: 1.5625rem;
  }
  .verification-panel {
    flex-wrap: nowrap;
  }
  .verification-panel > .button {
    margin-left: 0;
  }
  .issue-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .issue-preview {
    position: static;
    max-width: 24.375rem;
    width: 100%;
    margin: 0 auto;
  }
  .issue-progress {
    padding-inline: 1.125rem;
    gap: 1.25rem;
  }
  .issue-progress strong {
    font-size: 0.625rem;
    line-height: 1.6;
    max-width: 8.4375rem;
    padding-right: 0.625rem;
  }
  .issue-progress li {
    gap: 0.5rem;
  }
  .form-panel {
    padding: 1.75rem;
  }
  .form-panel > .form-intro {
    max-width: 28.125rem;
  }
  .validation-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.375rem;
  }
  .validation-result-panel {
    min-height: 25.625rem;
  }
  .validation-empty {
    min-height: 23.125rem;
  }
  .validation-heading > p {
    max-width: 28.125rem;
  }
  .validation-empty h2 {
    font-size: 1.5rem;
  }
  .app-footer {
    margin-inline: 1.4375rem;
  }
  .toast {
    left: calc(50% + var(--sidebar) / 2);
    max-width: calc(100vw - var(--sidebar) - 2.1875rem);
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0rem;
  }
  .prototype-bar {
    padding-inline: 1.25rem;
    height: 2.0625rem;
    font-size: 0.625rem;
  }
  .prototype-caption {
    font-size: 0.625rem;
  }
  .prototype-bar > div {
    gap: 0.9375rem;
  }
  .prototype-bar button {
    font-size: 0.625rem;
  }
  .app-shell {
    grid-template-columns: minmax(0, 1fr);
    min-height: calc(100dvh - 2.0625rem);
  }
  .sidebar {
    position: fixed;
    width: 15.125rem;
    height: 100dvh;
    min-height: 0;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    overflow: auto;
    z-index: 60;
    padding: 1.6875rem 1.25rem 0;
  }
  .sidebar.sidebar-open {
    transform: translateX(0);
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: #10204b66;
    backdrop-filter: blur(0.125rem);
    z-index: 55;
  }
  .sidebar nav {
    gap: 0.375rem;
  }
  .nav-item {
    min-height: 2.6875rem;
    font-size: 0.8125rem;
    padding: 0.6875rem 0.75rem;
    gap: 0.75rem;
  }
  .nav-item .icon {
    width: 1.125rem;
    height: 1.125rem;
  }
  .app-brand img:first-child {
    width: 1.9375rem;
  }
  .app-brand img:last-child {
    width: 6.5625rem;
  }
  .product-label {
    font-size: 0.6875rem;
  }
  .product-label > span {
    font-size: 0.5rem;
  }
  .workspace-card {
    padding: 0.75rem 0.5625rem;
    gap: 0.625rem;
  }
  .workspace-card strong {
    font-size: 0.75rem;
  }
  .workspace-card > div > span {
    font-size: 0.625rem;
  }
  .sidebar-help {
    padding: 1.0625rem 0.9375rem;
  }
  .sidebar-help strong {
    font-size: 0.8125rem;
  }
  .sidebar-help > span {
    font-size: 0.6875rem;
  }
  .sidebar-person > .avatar {
    width: 2.125rem;
    height: 2.125rem;
    font-size: 0.75rem;
  }
  .sidebar-person strong {
    font-size: 0.75rem;
  }
  .signout {
    font-size: 0.6875rem;
  }
  .topbar {
    height: 4.25rem;
    padding-inline: 1.25rem;
  }
  .mobile-menu {
    display: inline-grid;
  }
  .topbar-location > span {
    display: none;
  }
  .topbar-location > .icon {
    display: none;
  }
  .topbar-location strong {
    font-size: 0.8125rem;
  }
  .topbar-tools {
    gap: 0.875rem;
  }
  .topbar-avatar {
    display: none;
  }
  .role-switcher select {
    min-height: 2.125rem;
    font-size: 0.75rem;
  }
  .notification-button {
    width: 1.8125rem;
    height: 1.8125rem;
  }
  main {
    padding: 1.75rem 1.5625rem 2rem;
  }
  .page-heading h1 {
    font-size: 1.75rem;
  }
  .page-heading > div > p:not(.eyebrow) {
    font-size: 0.875rem;
    line-height: 1.9;
  }
  .eyebrow {
    font-size: 0.625rem;
  }
  .welcome-banner {
    padding: 1.75rem;
  }
  .welcome-banner h2 {
    font-size: 1.5625rem;
  }
  .welcome-banner p {
    font-size: 0.75rem;
    max-width: 18.125rem;
  }
  .banner-kicker {
    font-size: 0.5625rem;
  }
  .banner-art {
    width: 12.5rem;
    height: 11.25rem;
    margin-right: 0.3125rem;
  }
  .banner-art > img {
    width: 8.125rem;
  }
  .banner-ring {
    width: 10.625rem;
    height: 10.625rem;
  }
  .banner-badge {
    font-size: 0.5625rem;
    right: -0.9375rem;
  }
  .dashboard-columns {
    gap: 1.25rem;
  }
  .stat-card {
    padding: 1.1875rem;
  }
  .stat-description {
    font-size: 0.6875rem;
  }
  .stat-card p {
    font-size: 0.8125rem;
  }
  .stats-grid {
    gap: 1rem;
  }
  .panel-heading h2 {
    font-size: 1rem;
  }
  .panel-heading p {
    font-size: 0.75rem;
  }
  .activity-panel .activity-list strong {
    font-size: 0.6875rem;
  }
  .activity-panel .activity-list p {
    font-size: 0.6875rem;
  }
  .activity-panel .activity-list small {
    font-size: 0.625rem;
  }
  .recent-panel .credential-cell strong {
    font-size: 0.75rem;
  }
  .recent-panel th,
  .recent-panel td {
    padding-inline: 1.0625rem;
  }
  .recent-panel .date-cell {
    font-size: 0.6875rem;
  }
  .recent-panel .credential-cell > span:last-child {
    max-width: 13.125rem;
  }
  .wallet-grid {
    gap: 1.1875rem;
  }
  .wallet-card-top > .category-label {
    font-size: 0.625rem;
  }
  .wallet-card-main h2 {
    font-size: 1.0625rem;
  }
  .wallet-card-bottom > .inline-link {
    font-size: 0.6875rem;
  }
  .wallet-card-bottom > span {
    font-size: 0.625rem;
  }
  .app-footer {
    margin-inline: 1.5625rem;
    font-size: 0.6875rem;
  }
  .toast {
    left: 50%;
    max-width: calc(100vw - 2.25rem);
  }
  .sidebar-bottom {
    padding-top: 1.5625rem;
  }
  .sidebar-help {
    margin-bottom: 1.125rem;
  }
  .sidebar-person {
    padding-block: 1rem;
  }
  .organization-grid {
    gap: 1.1875rem;
  }
  .persona-grid {
    gap: 1.1875rem;
  }
  .persona-card {
    padding: 1.5625rem;
  }
  .persona-card h2 {
    font-size: 1.3125rem;
  }
  .persona-card > p {
    font-size: 0.875rem;
  }
  .persona-name {
    font-size: 0.8125rem;
  }
  .persona-card > .inline-link {
    font-size: 0.75rem;
  }
  .login-heading h1 {
    font-size: 2.125rem;
  }
  .form-panel {
    padding: 1.75rem;
  }
  .detail-layout > .credential-display {
    max-width: 27.5rem;
  }
  .detail-panel > p {
    font-size: 0.875rem;
  }
  .detail-panel > h3 {
    font-size: 0.875rem;
  }
  .credential-meta dt {
    font-size: 0.6875rem;
  }
  .credential-meta dd {
    font-size: 0.8125rem;
  }
  .verification-panel h2 {
    font-size: 0.875rem;
  }
  .verification-panel p {
    font-size: 0.75rem;
  }
  .portability-panel h2 {
    font-size: 0.875rem;
  }
  .portability-panel p {
    font-size: 0.75rem;
  }
  .revoke-zone h3 {
    font-size: 0.8125rem;
  }
  .revoke-zone p {
    font-size: 0.75rem;
  }
  .form-field > label,
  .form-field > span {
    font-size: 0.8125rem;
  }
  .field-hint {
    font-size: 0.75rem;
  }
  .tip {
    font-size: 0.8125rem;
  }
  .form-intro {
    font-size: 0.875rem;
  }
  .form-field > select {
    font-size: 0.875rem;
  }
  .form-panel input,
  .form-panel textarea {
    font-size: 0.875rem;
  }
  .required-note {
    font-size: 0.75rem;
  }
  .button {
    font-size: 0.8125rem;
    min-height: 2.6875rem;
  }
  .button-small {
    font-size: 0.75rem;
    min-height: 2.1875rem;
  }
  .review-summary dt {
    font-size: 0.75rem;
  }
  .review-summary dd {
    font-size: 0.875rem;
  }
  .checkbox-field {
    font-size: 0.8125rem;
  }
  .validation-heading h2 {
    font-size: 1.5625rem;
  }
  .validation-heading > p {
    font-size: 0.875rem;
  }
  .validation-form-panel textarea {
    font-size: 0.8125rem;
  }
  .validation-examples > p {
    font-size: 0.75rem;
  }
  .example-chip {
    font-size: 0.6875rem;
  }
  .public-note {
    font-size: 0.75rem;
  }
  .validation-empty p {
    font-size: 0.875rem;
  }
  .validation-verdict > p:not(.eyebrow) {
    font-size: 0.875rem;
  }
  .validation-record dt {
    font-size: 0.75rem;
  }
  .validation-record dd {
    font-size: 0.8125rem;
  }
  .validation-disclaimer {
    font-size: 0.6875rem;
  }
  .checked-at {
    font-size: 0.6875rem;
  }
}
@media (max-width: 520px) {
  .prototype-bar {
    padding-inline: 0.875rem;
    height: auto;
    min-height: 2.0625rem;
    gap: 0.625rem;
    font-size: 0.5625rem;
  }
  .prototype-caption {
    display: none;
  }
  .prototype-bar button {
    font-size: 0.5625rem;
  }
  .prototype-bar > div {
    gap: 0.8125rem;
  }
  .topbar {
    height: 4.0625rem;
    padding-inline: 0.75rem;
    gap: 0.5rem;
  }
  .topbar-location {
    gap: 0.375rem;
  }
  .topbar-location strong {
    font-size: 0.75rem;
  }
  .topbar-tools {
    gap: 0.5rem;
  }
  .role-switcher select {
    min-height: 2rem;
    padding: 0.3125rem 1.1875rem 0.3125rem 0.5rem;
    font-size: 0.6875rem;
    max-width: 8.0625rem;
  }
  .notification-button {
    width: 1.6875rem;
    height: 1.8125rem;
  }
  .notification-button > .icon {
    width: 1.0625rem;
    height: 1.0625rem;
  }
  .topbar .mobile-menu {
    width: 1.875rem;
    height: 2rem;
  }
  main {
    padding: 1.5625rem 1.125rem 1.875rem;
  }
  .page-heading {
    gap: 1.125rem;
    margin-bottom: 1.5rem;
  }
  .page-heading h1 {
    font-size: 1.5625rem;
    letter-spacing: -0.05625rem;
  }
  .page-heading > div > p:not(.eyebrow) {
    font-size: 0.8125rem;
    line-height: 1.9;
  }
  .page-heading .eyebrow {
    font-size: 0.5625rem;
  }
  .heading-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 0.5625rem;
  }
  .heading-actions > .button {
    font-size: 0.75rem;
    padding-inline: 0.8125rem;
    min-height: 2.5625rem;
  }
  .welcome-banner {
    padding: 1.5rem 1.3125rem;
    min-height: 16.5625rem;
    align-items: flex-start;
  }
  .welcome-banner > div:first-child {
    position: relative;
    z-index: 2;
    max-width: 15rem;
  }
  .banner-kicker {
    font-size: 0.5rem;
    letter-spacing: 0.06875rem;
  }
  .welcome-banner h2 {
    font-size: 1.5rem;
    letter-spacing: -0.05rem;
    margin-top: 0.8125rem;
  }
  .welcome-banner p {
    font-size: 0.75rem;
    max-width: 15rem;
    margin-top: 0.8125rem;
  }
  .welcome-banner a {
    margin-top: 1.25rem;
    font-size: 0.75rem;
  }
  .banner-art {
    position: absolute;
    right: -3.25rem;
    bottom: -3.6875rem;
    width: 10.9375rem;
    height: 10.9375rem;
    opacity: 0.19;
    margin: 0;
  }
  .banner-art > img {
    width: 8.75rem;
  }
  .banner-ring {
    width: 11.25rem;
    height: 11.25rem;
  }
  .banner-badge {
    display: none;
  }
  .stats-grid {
    gap: 0.75rem;
    margin-block: 1.125rem;
  }
  .stat-card {
    padding: 0.9375rem 0.875rem;
  }
  .stat-card p {
    font-size: 0.6875rem;
    line-height: 1.6;
    max-width: 6.25rem;
  }
  .stat-card > strong {
    font-size: 1.8125rem;
    margin-top: 0.8125rem;
  }
  .stat-icon {
    width: 1.5625rem;
    height: 1.5625rem;
    flex-shrink: 0;
  }
  .stat-icon .icon {
    width: 0.875rem;
    height: 0.875rem;
  }
  .stat-description {
    font-size: 0.625rem;
    line-height: 1.9;
  }
  .panel-heading {
    padding: 1.1875rem 1.0625rem;
    gap: 0.625rem;
  }
  .panel-heading h2 {
    font-size: 0.875rem;
  }
  .panel-heading p {
    font-size: 0.6875rem;
    line-height: 1.8;
  }
  .panel-heading > .inline-link {
    font-size: 0.625rem;
    white-space: nowrap;
    gap: 0.3125rem;
  }
  .panel-heading > .inline-link > .icon {
    width: 0.75rem;
    height: 0.75rem;
  }
  .recent-panel .table-scroll table {
    min-width: 30.625rem;
  }
  .recent-panel th,
  .recent-panel td {
    padding-inline: 0.875rem;
  }
  .activity-panel .activity-list {
    display: block;
    padding: 1.375rem 1.1875rem 0.5625rem;
  }
  .activity-panel .activity-list li {
    padding-bottom: 1.4375rem;
    gap: 0.75rem;
  }
  .activity-panel .activity-list li:not(:last-child)::after {
    display: block;
  }
  .activity-panel .activity-list strong {
    font-size: 0.8125rem;
  }
  .activity-panel .activity-list p {
    font-size: 0.75rem;
  }
  .activity-panel .activity-list small {
    font-size: 0.6875rem;
  }
  .activity-panel .activity-dot {
    width: 1.8125rem;
    height: 1.8125rem;
  }
  .activity-link {
    font-size: 0.75rem;
    margin-left: 1.25rem;
  }
  .scenario-controls {
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1.5625rem;
  }
  .scenario-controls label {
    font-size: 0.5625rem;
    gap: 0.25rem;
  }
  .scenario-controls select {
    font-size: 0.625rem;
    max-width: 11.25rem;
    padding-left: 0.5rem;
    padding-right: 1.0625rem;
  }
  .wallet-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1875rem;
  }
  .wallet-card-top {
    padding: 1.25rem 1.3125rem 0;
  }
  .wallet-card-top > .category-label {
    font-size: 0.6875rem;
  }
  .wallet-card-main {
    padding-block: 1.125rem 1.75rem;
  }
  .wallet-card-main h2 {
    font-size: 1.25rem;
    min-height: 0;
    margin-top: 1.1875rem;
  }
  .wallet-card-main > p {
    font-size: 0.8125rem;
    margin-top: 0.625rem;
  }
  .wallet-card-bottom {
    padding: 1.125rem 1.3125rem;
  }
  .wallet-card-bottom > span {
    font-size: 0.75rem;
  }
  .wallet-card-bottom > .inline-link {
    font-size: 0.75rem;
  }
  .status-pill {
    font-size: 0.6875rem;
    padding: 0.3125rem 0.5rem;
  }
  .filter-fields {
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: flex-start;
  }
  .filter-fields select {
    font-size: 0.75rem;
    min-width: 0;
    flex: 1;
    max-width: 100%;
  }
  .filter-fields #organization-filter {
    flex-basis: 100%;
  }
  .filter-fields > .layout-toggle {
    margin-left: auto;
  }
  .search-field input {
    font-size: 0.8125rem;
    min-height: 2.6875rem;
  }
  .results-count {
    font-size: 0.75rem;
    margin-block: 1.125rem;
  }
  .pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9375rem;
    font-size: 0.75rem;
  }
  .pagination > div {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .pagination > div > span {
    font-size: 0.75rem;
  }
  .pagination .button {
    font-size: 0.75rem;
  }
  .empty-state {
    padding: 2.6875rem 1.375rem;
  }
  .empty-state h2 {
    font-size: 1.25rem;
  }
  .empty-state p {
    font-size: 0.875rem;
  }
  .state-panel {
    padding: 3.125rem 1.4375rem;
  }
  .state-panel h1,
  .state-panel h2 {
    font-size: 1.4375rem;
  }
  .state-panel p {
    font-size: 0.875rem;
  }
  .organization-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .organization-card {
    padding: 1.5625rem;
  }
  .organization-card h2 {
    font-size: 1.375rem;
  }
  .organization-card > p {
    font-size: 0.875rem;
  }
  .organization-stats strong {
    font-size: 1.625rem;
  }
  .organization-stats span {
    font-size: 0.75rem;
  }
  .organization-uri > span {
    font-size: 0.6875rem;
  }
  .organization-uri code {
    font-size: 0.75rem;
  }
  .organization-card-bottom > .inline-link {
    font-size: 0.75rem;
  }
  .organization-card-bottom > span {
    font-size: 0.6875rem;
  }
  .small-stats {
    gap: 0.9375rem;
    font-size: 0.6875rem;
    flex-wrap: wrap;
    line-height: 1.8;
  }
  .small-stats > span:first-child {
    flex-basis: 100%;
  }
  .small-stats strong {
    font-size: 1rem;
  }
  .accounts-panel table {
    min-width: 40rem;
  }
  .accounts-panel td {
    padding-inline: 1.0625rem;
  }
  .accounts-panel th {
    padding-inline: 1.0625rem;
    font-size: 0.75rem;
  }
  .notice {
    font-size: 0.8125rem;
    padding: 0.875rem;
  }
  .notice p {
    font-size: 0.75rem;
  }
  .notice.subtle {
    padding: 0.875rem;
  }
  .organization-profile {
    gap: 1.25rem;
  }
  .org-profile-card,
  .org-profile-info {
    padding: 1.625rem;
  }
  .org-profile-card h2,
  .org-profile-info > h2 {
    font-size: 1.4375rem;
  }
  .org-profile-info > p {
    font-size: 0.875rem;
  }
  .org-profile-card dt {
    font-size: 0.75rem;
  }
  .org-profile-card dd {
    font-size: 0.8125rem;
  }
  .back-link {
    font-size: 0.75rem;
    margin-bottom: 1.0625rem;
  }
  .detail-layout {
    gap: 1.3125rem;
  }
  .detail-layout > .credential-display {
    padding: 1.75rem 1.5625rem 1.5rem;
  }
  .detail-layout > .credential-display h2 {
    font-size: 1.5625rem;
  }
  .credential-display h3 {
    font-size: 1.125rem;
  }
  .credential-display-issuer {
    font-size: 0.8125rem;
  }
  .credential-display-status > span:last-child {
    font-size: 0.625rem;
  }
  .credential-display > .eyebrow {
    font-size: 0.625rem;
  }
  .credential-display > p:not(.eyebrow) {
    font-size: 0.75rem;
  }
  .detail-panel > .panel-heading {
    padding-inline: 1.3125rem;
  }
  .detail-panel > h3 {
    margin-inline: 1.3125rem;
    font-size: 0.875rem;
  }
  .detail-panel > p {
    margin-inline: 1.3125rem;
    font-size: 0.875rem;
  }
  .credential-meta {
    margin: 1.4375rem 1.3125rem;
    gap: 1.25rem 1rem;
  }
  .credential-meta dt {
    font-size: 0.6875rem;
  }
  .credential-meta dd {
    font-size: 0.75rem;
  }
  .credential-meta dd.mono {
    font-size: 0.6875rem;
  }
  .verification-panel {
    padding: 1.125rem;
    flex-wrap: wrap;
  }
  .verification-panel h2 {
    font-size: 0.875rem;
  }
  .verification-panel > div {
    min-width: 9.375rem;
  }
  .verification-panel > .button {
    margin-left: 3.0625rem;
    min-height: 2.125rem;
    font-size: 0.75rem;
  }
  .portability-panel {
    padding: 1.3125rem;
  }
  .portability-panel h2 {
    font-size: 0.875rem;
  }
  .portability-panel p {
    font-size: 0.75rem;
    line-height: 1.85;
  }
  .portability-panel > .button {
    font-size: 0.75rem;
  }
  .revoke-zone {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9375rem;
    padding: 0.25rem 0.0625rem;
  }
  .revoke-zone h3 {
    font-size: 0.875rem;
  }
  .revoke-zone p {
    font-size: 0.8125rem;
  }
  .issue-progress {
    padding: 1rem 0.8125rem;
    gap: 0.75rem;
    margin-bottom: 1.375rem;
  }
  .issue-progress li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5625rem;
  }
  .issue-progress strong {
    font-size: 0.625rem;
    line-height: 1.6;
    max-width: 5.625rem;
    padding: 0;
  }
  .issue-progress li:not(:last-child)::after {
    left: 2.1875rem;
    right: 0;
    top: 0.8125rem;
  }
  .form-panel {
    padding: 1.5rem 1.3125rem;
  }
  .form-step-label {
    font-size: 0.5625rem;
  }
  .form-panel > h2 {
    font-size: 1.4375rem;
  }
  .form-intro {
    font-size: 0.875rem;
    line-height: 1.9;
  }
  .form-field {
    margin-top: 1.3125rem;
  }
  .form-field > label,
  .form-field > span {
    font-size: 0.8125rem;
  }
  .form-field > select {
    font-size: 0.8125rem;
  }
  .form-panel input,
  .form-panel textarea {
    font-size: 0.875rem;
  }
  .form-actions {
    gap: 0.625rem;
    margin-top: 1.5rem;
    padding-top: 1.375rem;
  }
  .form-actions .button {
    font-size: 0.75rem;
    padding-inline: 0.75rem;
    min-height: 2.5625rem;
    gap: 0.4375rem;
  }
  .required-note {
    font-size: 0.625rem;
  }
  .assigned-org {
    padding: 0.8125rem;
    gap: 0.625rem;
  }
  .assigned-org > div > span {
    font-size: 0.6875rem;
  }
  .assigned-org strong {
    font-size: 0.8125rem;
  }
  .form-panel > .tip {
    font-size: 0.75rem;
    padding: 0.75rem;
  }
  .issue-preview {
    max-width: 100%;
  }
  .issue-preview .credential-display h2 {
    font-size: 1.4375rem;
  }
  .issue-preview > .credential-display {
    padding: 1.75rem 1.5rem 1.4375rem;
  }
  .preview-label {
    font-size: 0.5625rem;
  }
  .preview-note {
    font-size: 0.8125rem;
  }
  .example-selector {
    padding: 0.8125rem;
  }
  .example-selector > span {
    font-size: 0.6875rem;
  }
  .example-chip {
    font-size: 0.6875rem;
    line-height: 1.6;
  }
  .example-selector > div {
    flex-direction: column;
    align-items: flex-start;
  }
  .review-summary > div {
    display: block;
    padding-block: 0.9375rem;
  }
  .review-summary dt {
    font-size: 0.75rem;
    margin-bottom: 0.375rem;
  }
  .review-summary dd {
    font-size: 0.875rem;
  }
  .review-summary dd.mono {
    font-size: 0.75rem;
  }
  .checkbox-field {
    font-size: 0.8125rem;
    gap: 0.5625rem;
    line-height: 1.9;
  }
  .validation-form-panel,
  .validation-result-panel {
    padding: 1.5625rem 1.3125rem;
  }
  .validation-heading h2 {
    font-size: 1.5rem;
  }
  .validation-heading > p {
    font-size: 0.875rem;
  }
  .validation-form-panel .form-field > label {
    font-size: 0.8125rem;
  }
  .validation-form-panel form > .button {
    font-size: 0.875rem;
  }
  .validation-empty {
    min-height: 22.1875rem;
    padding-inline: 0.3125rem;
  }
  .validation-empty h2 {
    font-size: 1.4375rem;
  }
  .validation-empty p {
    font-size: 0.875rem;
  }
  .validation-empty > span {
    font-size: 0.5rem;
    letter-spacing: 0.08125rem;
  }
  .validation-verdict h2 {
    font-size: 1.4375rem;
  }
  .validation-verdict > p:not(.eyebrow) {
    font-size: 0.875rem;
  }
  .validation-verdict .eyebrow {
    font-size: 0.5625rem;
  }
  .validated-credential h3 {
    font-size: 0.875rem;
  }
  .validated-credential p {
    font-size: 0.8125rem;
  }
  .checked-at {
    font-size: 0.6875rem;
  }
  .validation-record dt {
    font-size: 0.75rem;
  }
  .validation-record dd {
    font-size: 0.8125rem;
  }
  .validation-disclaimer {
    font-size: 0.6875rem;
  }
  .login-heading {
    margin-top: 0.5rem;
    margin-bottom: 1.875rem;
  }
  .login-heading h1 {
    font-size: 1.875rem;
    letter-spacing: -0.0625rem;
  }
  .login-heading > p {
    font-size: 0.875rem;
  }
  .persona-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.0625rem;
  }
  .persona-card {
    padding: 1.5rem;
  }
  .persona-card h2 {
    font-size: 1.3125rem;
  }
  .persona-card > p {
    font-size: 0.875rem;
  }
  .persona-name {
    font-size: 0.8125rem;
  }
  .persona-card > .inline-link {
    font-size: 0.8125rem;
  }
  .login-disclaimer {
    font-size: 0.75rem;
    line-height: 1.9;
    margin-top: 1.5625rem;
  }
  .public-validation-link {
    font-size: 0.75rem;
    gap: 0.4375rem;
  }
  .app-footer {
    margin-inline: 1.125rem;
    font-size: 0.625rem;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .app-footer > span:last-child {
    text-align: right;
    max-width: 10.9375rem;
  }
  .toast {
    font-size: 0.8125rem;
    padding: 0.8125rem 1.0625rem;
    bottom: 1.0625rem;
    width: max-content;
    max-width: calc(100vw - 2rem);
  }
  dialog {
    width: calc(100% - 1.5rem);
    max-height: 91dvh;
  }
  .modal-header {
    padding: 1.25rem;
    gap: 0.75rem;
  }
  .modal-header h2 {
    font-size: 1.1875rem;
  }
  .modal-header .eyebrow {
    font-size: 0.5rem;
  }
  .modal-header > .icon-button {
    width: 1.75rem;
    height: 1.75rem;
  }
  .modal-body {
    padding: 1.4375rem 1.3125rem;
  }
  .modal-body > .form-intro {
    font-size: 0.875rem;
  }
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
  .modal-body .form-field > input {
    font-size: 0.875rem;
  }
  .modal-body .form-field > select {
    font-size: 0.875rem;
  }
  .modal-body .form-field > label,
  .modal-body .form-field > span {
    font-size: 0.8125rem;
  }
  .modal-body .field-hint {
    font-size: 0.75rem;
  }
  .modal-body .checkbox-field {
    font-size: 0.8125rem;
  }
  .modal-body .checkbox-field small {
    font-size: 0.75rem;
  }
  .modal-body .form-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .modal-body .form-actions > .button {
    font-size: 0.75rem;
    min-height: 2.5625rem;
  }
  .modal-body .notice p {
    font-size: 0.8125rem;
  }
  .modal-body .notice strong {
    font-size: 0.8125rem;
  }
  .share-body > h3 {
    font-size: 1.3125rem;
  }
  .share-body > p {
    font-size: 0.875rem;
  }
  .share-body > .tip {
    font-size: 0.75rem;
  }
  .share-body > .button {
    font-size: 0.8125rem;
  }
  .guide-steps li {
    gap: 0.75rem;
  }
  .guide-steps strong {
    font-size: 0.8125rem;
  }
  .guide-steps p {
    font-size: 0.8125rem;
  }
  .guide-steps .inline-link {
    font-size: 0.75rem;
  }
  .review-questions ul {
    font-size: 0.8125rem;
  }
  .review-questions > h3 {
    font-size: 0.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* Keep table descriptions inside their scroll region on narrow screens. */
.table-scroll {
  position: relative;
}
@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
    pointer-events: none;
  }
  .sidebar.sidebar-open {
    visibility: visible;
    pointer-events: auto;
  }
}
/* Organization-owned catalog definitions are distinct from issued credentials. */
.catalog-explanation {
  margin: 0 0 1.4375rem;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.catalog-card {
  padding: 1.4375rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.catalog-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.catalog-card > .eyebrow {
  font-size: 0.5625rem;
  letter-spacing: 0.05625rem;
  margin-bottom: 0.5625rem;
  color: #65728b;
}
.catalog-card > h2 {
  font-size: 1.1875rem;
  line-height: 1.5;
  letter-spacing: -0.0375rem;
  margin-bottom: 0.75rem;
}
.catalog-description {
  font-size: 0.75rem;
  color: #60708a;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  margin-bottom: 1.3125rem;
}
.catalog-card-meta {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.625rem;
  line-height: 1.8;
  color: #66738b;
  margin-top: auto;
  padding-bottom: 1.125rem;
}
.catalog-card-actions {
  display: flex;
  gap: 0.5625rem;
  align-items: center;
  flex-wrap: wrap;
  border-top: 0.0625rem solid var(--line);
  padding-top: 1.125rem;
}
.catalog-card-actions .button {
  font-size: 0.625rem;
  min-height: 2.125rem;
  max-width: 100%;
}
.catalog-archive {
  font-size: 0.625rem;
  padding: 0.4375rem 0;
  color: #70558e;
  margin-left: auto;
}
.catalog-archive:hover {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.definition-summary {
  padding: 1.125rem;
  border: 0.0625rem solid #e4dff3;
  background: #faf9ff;
  border-radius: 0.5rem;
  margin-top: 1.4375rem;
}
.definition-summary > div {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.definition-summary h3 {
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: -0.01875rem;
}
.definition-summary > div > div > span {
  display: block;
  font-size: 0.625rem;
  color: #706289;
  margin-top: 0.25rem;
}
.definition-summary dl {
  margin: 1.25rem 0 0;
}
.definition-summary dt {
  font-size: 0.625rem;
  color: #6e6283;
  margin-top: 1rem;
}
.definition-summary dd {
  font-size: 0.75rem;
  color: #586581;
  line-height: 1.9;
  margin: 0.375rem 0 0;
  overflow-wrap: anywhere;
}
.definition-summary dd.mono {
  font-size: 0.625rem;
}
.organization-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}
.organization-entity-actions {
  margin-top: 1.5625rem;
  border-top: 0.0625rem solid var(--line);
  padding-top: 1.25rem;
}
.entity-issuer-list {
  padding: 0.25rem 1.4375rem 0.9375rem;
}
.entity-issuer-list > div {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 1.125rem 0;
  border-bottom: 0.0625rem solid var(--line);
}
.entity-issuer-list > div:last-child {
  border-bottom: 0;
}
.entity-issuer-list > div > div {
  min-width: 0;
  flex: 1;
}
.entity-issuer-list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
}
.entity-issuer-list > div > div > span {
  display: block;
  font-size: 0.6875rem;
  color: #64738a;
  overflow-wrap: anywhere;
  margin-top: 0.25rem;
}
.entity-issuer-list > .muted {
  padding-block: 1.25rem;
}
.organization-stats {
  gap: 1.125rem;
  flex-wrap: wrap;
}
.persona-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1250px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-card {
    padding: 1.3125rem;
  }
}
@media (max-width: 1020px) {
  .persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .organization-metrics {
    gap: 0.75rem;
  }
  .organization-metrics .stat-card {
    padding: 0.9375rem;
  }
  .organization-metrics .stat-card p {
    font-size: 0.6875rem;
  }
}
@media (max-width: 520px) {
  .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog-card {
    padding: 1.4375rem;
  }
  .catalog-card > h2 {
    font-size: 1.3125rem;
  }
  .catalog-description {
    font-size: 0.8125rem;
  }
  .catalog-card > .eyebrow {
    font-size: 0.5625rem;
  }
  .catalog-card-meta {
    font-size: 0.6875rem;
  }
  .catalog-card-actions .button {
    font-size: 0.6875rem;
    min-height: 2.3125rem;
  }
  .catalog-archive {
    font-size: 0.6875rem;
  }
  .definition-summary {
    padding: 0.9375rem;
  }
  .definition-summary h3 {
    font-size: 0.875rem;
  }
  .definition-summary dd {
    font-size: 0.75rem;
  }
  .organization-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .entity-issuer-list {
    padding-inline: 1.125rem;
  }
  .entity-issuer-list > div {
    gap: 0.5625rem;
    flex-wrap: wrap;
  }
  .entity-issuer-list strong {
    font-size: 0.75rem;
  }
  .entity-issuer-list > div > div > span {
    font-size: 0.625rem;
  }
  .persona-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Learners choose an organization per application; issuers decide on requests. */
.status-pill.request-pending {
  background: #f0ebff;
  color: #6943a2;
}
.status-pill.request-approved {
  background: #e8f8f3;
  color: #187a61;
}
.status-pill.request-rejected {
  background: #fff1e6;
  color: #925b26;
}
.status-pill.request-withdrawn {
  background: #eff1f6;
  color: #59657d;
}
.explore-org {
  display: flex;
  gap: 0.5625rem;
  align-items: center;
  font-size: 0.6875rem;
  color: #596b89;
  margin-bottom: 1.0625rem;
  line-height: 1.7;
}
.explore-org .org-avatar {
  width: 1.75rem;
  height: 1.75rem;
  font-size: 0.5625rem;
  border-radius: 0.375rem;
}
.explore-card .catalog-card-actions {
  margin-top: auto;
  justify-content: space-between;
}
.explore-card .catalog-card-actions .inline-link {
  font-size: 0.625rem;
}
.opportunity-organization {
  padding: 1.75rem;
}
.opportunity-organization > .org-avatar {
  width: 3.375rem;
  height: 3.375rem;
  font-size: 1.0625rem;
  margin-bottom: 1.375rem;
}
.opportunity-organization > h2 {
  font-size: 1.4375rem;
  line-height: 1.5;
}
.opportunity-organization > p {
  color: #63708a;
  font-size: 0.75rem;
  margin-top: 0.5625rem;
}
.opportunity-organization > .tip {
  margin-top: 1.5625rem;
}
.application-steps {
  margin: 1.5rem;
  padding-top: 1.25rem;
  border-top: 0.0625rem solid var(--line);
}
.application-steps h3 {
  font-size: 0.8125rem;
}
.application-steps ol {
  padding-left: 1.25rem;
  font-size: 0.75rem;
  color: #60708a;
  line-height: 1.95;
  margin-top: 0.8125rem;
}
.application-steps li + li {
  margin-top: 0.5625rem;
}
.application-target {
  display: flex;
  gap: 0.8125rem;
  align-items: center;
  padding: 1rem;
  background: #f7f6fd;
  border: 0.0625rem solid #e7e3f4;
  border-radius: 0.5rem;
  margin-bottom: 1.375rem;
}
.application-target > div {
  min-width: 0;
}
.application-target strong {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.application-target > div > span {
  display: block;
  font-size: 0.6875rem;
  color: #63708a;
  line-height: 1.8;
  margin-top: 0.25rem;
}
.dashboard-request-panel {
  margin: 0 0 1.4375rem;
}
.dashboard-request-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.dashboard-request-list > a {
  display: flex;
  gap: 0.6875rem;
  align-items: center;
  padding: 1.1875rem 1.3125rem;
  min-width: 0;
}
.dashboard-request-list > a + a {
  border-left: 0.0625rem solid var(--line);
}
.dashboard-request-list > a > div {
  flex: 1;
  min-width: 0;
}
.dashboard-request-list strong {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.7;
  font-weight: 600;
}
.dashboard-request-list > a > div > span {
  display: block;
  font-size: 0.625rem;
  color: #64728a;
  margin-top: 0.25rem;
}
.dashboard-request-list .status-pill {
  font-size: 0.5rem;
  padding: 0.25rem 0.375rem;
}
.dashboard-request-list > .muted {
  grid-column: 1/-1;
  padding: 1.375rem;
  font-size: 0.75rem;
}
.request-stats {
  padding-block: 0.3125rem;
  margin-bottom: 1.5rem;
}
.requests-table td {
  font-size: 0.6875rem;
}
.requests-table .credential-cell strong {
  font-size: 0.75rem;
  white-space: normal;
  min-width: 10.625rem;
  line-height: 1.7;
}
.requests-table .credential-cell small {
  font-size: 0.625rem;
}
.requests-table .inline-link {
  font-size: 0.6875rem;
}
.request-detail-layout {
  grid-template-columns: minmax(15.625rem, 0.7fr) minmax(0, 1.6fr);
}
.request-overview {
  padding: 1.6875rem;
}
.request-overview > .achievement-badge {
  margin: 0 auto 1.3125rem;
}
.request-overview > .status-pill {
  display: flex;
  width: max-content;
  margin: 0 auto 1.5625rem;
}
.request-overview dl {
  margin: 0;
}
.request-overview dl > div {
  padding: 0.8125rem 0;
  border-bottom: 0.0625rem solid var(--line);
}
.request-overview dt {
  font-size: 0.625rem;
  color: #66738b;
}
.request-overview dd {
  font-size: 0.75rem;
  line-height: 1.8;
  margin: 0.3125rem 0 0;
}
.request-independence {
  font-size: 0.6875rem;
  line-height: 1.9;
  color: #63708a;
  margin-top: 1.25rem;
}
.request-evidence {
  padding: 0 1.5rem 1.5rem;
}
.request-evidence > .muted {
  font-size: 0.6875rem;
}
.evidence-link {
  font-size: 0.6875rem;
  overflow-wrap: anywhere;
  max-width: 100%;
  line-height: 1.9;
  align-items: flex-start;
}
.request-definition-note {
  padding: 1.125rem 1.5rem;
  margin-top: 1.5rem;
  background: #f8f7fd;
  border-top: 0.0625rem solid #ece7f8;
  font-size: 0.6875rem;
  line-height: 1.9;
  color: #6a5d85;
  border-radius: 0 0 0.625rem 0.625rem;
}
.notice.request-success {
  background: #eaf9f3;
  border-color: #cbeadd;
  color: #246d59;
}
#request-decision-form .form-actions {
  flex-wrap: wrap;
}
@media (max-width: 1250px) {
  .dashboard-request-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .dashboard-request-list > a + a {
    border-left: 0;
    border-top: 0.0625rem solid var(--line);
  }
  .dashboard-request-list strong {
    font-size: 0.75rem;
  }
  .dashboard-request-list .status-pill {
    font-size: 0.5625rem;
  }
  .request-detail-layout {
    grid-template-columns: minmax(14.375rem, 0.8fr) minmax(0, 1.3fr);
  }
}
@media (max-width: 1020px) {
  .request-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .request-overview dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5625rem;
  }
  .request-independence {
    max-width: 31.25rem;
  }
  .requests-table {
    min-width: 42.5rem;
  }
}
@media (max-width: 520px) {
  .request-overview {
    padding: 1.5rem 1.3125rem;
  }
  .request-overview dl {
    display: block;
  }
  .request-overview dd {
    font-size: 0.8125rem;
  }
  .request-overview dt {
    font-size: 0.6875rem;
  }
  .request-evidence {
    padding-inline: 1.3125rem;
  }
  .request-definition-note {
    padding-inline: 1.3125rem;
    font-size: 0.6875rem;
  }
  .application-target {
    padding: 0.875rem;
    gap: 0.6875rem;
  }
  .application-target strong {
    font-size: 0.8125rem;
  }
  .application-target > div > span {
    font-size: 0.6875rem;
  }
  .application-steps {
    margin: 1.375rem 1.3125rem;
  }
  .application-steps ol {
    font-size: 0.75rem;
  }
  .opportunity-organization {
    padding: 1.5625rem;
  }
  .dashboard-request-list > a {
    padding: 1.125rem 1.0625rem;
    gap: 0.625rem;
  }
  .dashboard-request-list strong {
    font-size: 0.6875rem;
  }
  .dashboard-request-list > a > div > span {
    font-size: 0.625rem;
  }
  .dashboard-request-list .status-pill {
    font-size: 0.5rem;
  }
  .explore-org {
    font-size: 0.75rem;
  }
  .explore-card .catalog-card-actions .inline-link {
    font-size: 0.6875rem;
  }
  .explore-card .catalog-card-actions .button {
    font-size: 0.6875rem;
  }
  .requests-table .credential-cell strong {
    font-size: 0.75rem;
  }
}
.application-criteria {
  padding: 0.9375rem 1.0625rem;
  background: #faf9ff;
  border: 0.0625rem solid #e7e1f5;
  border-radius: 0.4375rem;
  margin-block: 1.25rem;
}
.application-criteria h3 {
  font-size: 0.75rem;
  color: #51456b;
}
.application-criteria p {
  font-size: 0.6875rem;
  line-height: 1.9;
  color: #63708a;
  margin-top: 0.5rem;
}

/* Explicit logo widths follow the shared interface scale. */
@media (min-width: 1024px) {
  .app-brand > img:first-child {
    width: 1.9375rem;
  }
  .app-brand > img:last-child {
    width: 6.5625rem;
  }
}
/* Desktop interface scale: grow text, controls, artwork and spacing together. Keep viewport dimensions and pixel-based media breakpoints responsive. */
html {
  --desktop-scale: 1;
  font-size: 100%;
}
@media (min-width: 1024px) {
  html {
    --desktop-scale: 1.2;
    font-size: 120%;
  }
}

/* Let the larger desktop controls reflow instead of crowding narrower screens. */
@media (min-width: 1024px) {
  .sidebar {
    min-height: 0;
    overflow-y: auto;
  }
}
@media (min-width: 1024px) and (max-width: 1250px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Organization identity, credential artwork and personal account settings. */
.org-avatar.has-logo {
  padding: 0.3rem;
  background: #fff;
  border: 0.0625rem solid var(--line);
}
.org-avatar > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
}
.achievement-badge.has-artwork::before {
  display: none;
}
.achievement-badge.has-artwork > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.credential-glyph > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.issuer-identity {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.issuer-logo {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-upload {
  border: 0;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  min-width: 0;
}
.logo-upload > legend {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: #4e5d7c;
}
.logo-upload-layout {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  padding: 1rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5rem;
  background: #fafbff;
}
.logo-upload-preview {
  flex-shrink: 0;
}
.logo-upload-preview > .org-avatar {
  width: 5.25rem;
  height: 5.25rem;
  font-size: 1.5rem;
  border-radius: 0.6rem;
}
.logo-upload-layout > div:last-child {
  min-width: 0;
}
.logo-upload-layout > div > p {
  font-size: 0.6875rem;
  color: #63708a;
  line-height: 1.8;
}
.logo-upload-layout .field-hint {
  overflow-wrap: anywhere;
  font-size: 0.625rem;
}
.logo-upload-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}
.logo-upload-actions .inline-link {
  font-size: 0.6875rem;
}
.artwork-picker {
  border: 0;
  padding: 0;
  margin: 1.6rem 0;
  min-width: 0;
}
.artwork-picker > legend {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4e5d7c;
  margin-bottom: 0.4rem;
}
.artwork-picker > p {
  font-size: 0.6875rem;
  color: #63708a;
  margin-bottom: 1rem;
  line-height: 1.8;
}
.artwork-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.artwork-choice {
  display: block;
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.artwork-choice > input {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  width: 0.85rem;
  height: 0.85rem;
  margin: 0;
  accent-color: var(--violet-text);
}
.artwork-choice > span {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0.8rem 0.45rem 0.65rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.5rem;
  background: #fcfcff;
  min-height: 7.5rem;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.artwork-choice img {
  width: 3.7rem;
  height: 4.1rem;
  object-fit: contain;
}
.artwork-choice strong {
  font-size: 0.625rem;
  font-weight: 550;
  line-height: 1.6;
  color: #5d6b86;
  margin-top: 0.4rem;
  overflow-wrap: anywhere;
}
.artwork-choice input:checked + span {
  border-color: var(--violet);
  background: #f2eeff;
  box-shadow: inset 0 0 0 0.0625rem var(--violet);
}
.artwork-choice input:focus-visible + span {
  outline: 0.1875rem solid #a18cff;
  outline-offset: 0.1875rem;
}
.artwork-selection {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #f8f7fd;
  border: 0.0625rem solid #e8e2f5;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.artwork-selection > img {
  width: 3.4rem;
  height: 3.75rem;
  flex-shrink: 0;
  object-fit: contain;
}
.artwork-selection strong {
  font-size: 0.75rem;
  font-weight: 600;
}
.artwork-selection p {
  font-size: 0.625rem;
  line-height: 1.8;
  color: #63708a;
  margin-top: 0.3rem;
}
.account-profile-summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.account-profile-summary > .avatar {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 0.875rem;
}
.account-profile-summary > div {
  flex: 1;
  min-width: 0;
}
.account-profile-summary h2 {
  font-size: 1.1rem;
  line-height: 1.6;
}
.account-profile-summary p {
  font-size: 0.75rem;
  color: #63708a;
  overflow-wrap: anywhere;
  margin-top: 0.25rem;
}
.account-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.4rem;
  align-items: start;
}
.account-settings-grid .panel-heading {
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}
.account-settings-grid .panel-heading h2 {
  font-size: 1rem;
}
.account-settings-grid .panel-heading p {
  font-size: 0.6875rem;
  line-height: 1.85;
  max-width: 20rem;
}
.email-list,
.passkey-list {
  list-style: none;
  margin: 0;
  padding: 0 1.4rem;
}
.email-list > li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-bottom: 0.0625rem solid var(--line);
  flex-wrap: wrap;
}
.email-list > li:last-child {
  border-bottom: 0;
}
.email-symbol {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: #f1edff;
  color: #6a4faa;
  border-radius: 0.45rem;
  flex-shrink: 0;
}
.email-symbol > .icon {
  width: 1rem;
  height: 1rem;
}
.email-list > li > div:not(.email-actions) {
  flex: 1;
  min-width: 8rem;
}
.email-list strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  overflow-wrap: anywhere;
  line-height: 1.8;
}
.email-list > li > div > span {
  display: block;
  font-size: 0.625rem;
  color: #63708a;
  margin-top: 0.3rem;
  line-height: 1.8;
}
.email-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-wrap: wrap;
}
.email-actions .inline-link {
  font-size: 0.625rem;
}
.email-list .status-pill {
  font-size: 0.5625rem;
  margin-top: 0.25rem;
}
.settings-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0 1.4rem 1.4rem;
  padding: 1rem;
  border: 0.0625rem solid #e8e3f3;
  background: #f8f6fe;
  border-radius: 0.45rem;
  color: #63708a;
  font-size: 0.6875rem;
  line-height: 1.9;
}
.settings-note > .icon {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #78639a;
}
.security-summary {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 1.5rem 1.4rem 0.9rem;
}
.security-symbol {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  background: #e4f6f2;
  color: #167f70;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.security-symbol > .icon {
  width: 1.5rem;
  height: 1.5rem;
}
.security-summary h3 {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.security-summary .status-pill {
  font-size: 0.625rem;
}
.security-description {
  font-size: 0.75rem;
  line-height: 1.9;
  color: #63708a;
  padding: 0 1.4rem;
}
.demo-security-notice {
  padding: 1rem;
  background: #f7f5fc;
  border: 0.0625rem solid #e8e2f4;
  border-radius: 0.5rem;
  margin: 1.2rem 0;
  color: #635574;
  font-size: 0.6875rem;
  line-height: 1.9;
}
.demo-security-notice strong {
  display: block;
  font-size: 0.6875rem;
  margin-bottom: 0.3rem;
  font-weight: 650;
}
.security-settings > .demo-security-notice {
  margin: 1.2rem 1.4rem;
}
.security-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0 1.4rem 1.5rem;
}
.security-actions > .button {
  max-width: 100%;
  font-size: 0.6875rem;
  line-height: 1.7;
  padding-block: 0.6rem;
}
.security-actions > .inline-link {
  font-size: 0.6875rem;
}
.passkey-list > li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-top: 0.0625rem solid var(--line);
}
.passkey-list > li > span {
  color: #4f6b89;
  padding-top: 0.15rem;
}
.passkey-list > li > span > .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.passkey-list > li > div {
  flex: 1;
  min-width: 0;
}
.passkey-list strong {
  display: block;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
  line-height: 1.8;
  font-weight: 550;
}
.passkey-list small {
  display: block;
  font-size: 0.625rem;
  color: #63708a;
  line-height: 1.8;
  margin-top: 0.25rem;
}
.passkey-setup-art {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.1rem;
  background: #eeebff;
  color: #6341df;
  margin: 0 auto 1.3rem;
}
.passkey-setup-art > .icon {
  width: 2.1rem;
  height: 2.1rem;
}
.passkey-steps {
  font-size: 0.75rem;
  color: #63708a;
  line-height: 1.9;
  padding-left: 1.4rem;
  margin: 1.4rem 0;
}
.passkey-steps li + li {
  margin-top: 0.5rem;
}
#passkey-setup-form .form-actions {
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .account-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .email-list > li > div:not(.email-actions) {
    min-width: 12rem;
  }
  .email-actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .logo-upload-layout {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 1rem;
  }
  .logo-upload-preview > .org-avatar {
    width: 4.5rem;
    height: 4.5rem;
  }
  .logo-upload-layout > div:last-child {
    flex: 1;
    min-width: 9rem;
  }
  .logo-upload-actions {
    gap: 0.8rem;
  }
  .logo-upload-actions .button {
    font-size: 0.625rem;
    min-height: 2rem;
  }
  .artwork-options {
    gap: 0.5rem;
  }
  .artwork-choice > span {
    padding: 0.8rem 0.3rem 0.6rem;
    min-height: 7rem;
  }
  .artwork-choice img {
    width: 3rem;
    height: 3.3rem;
  }
  .artwork-choice strong {
    font-size: 0.6rem;
  }
  .artwork-choice > input {
    left: 0.4rem;
    top: 0.4rem;
  }
  .artwork-selection {
    padding: 0.8rem;
  }
  .artwork-selection p {
    font-size: 0.625rem;
  }
  .account-profile-summary {
    padding: 1.2rem;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .account-profile-summary h2 {
    font-size: 1rem;
  }
  .account-profile-summary > .avatar {
    width: 2.8rem;
    height: 2.8rem;
  }
  .account-profile-summary > .role-pill {
    margin-left: 3.6rem;
  }
  .account-profile-summary p {
    font-size: 0.6875rem;
  }
  .email-list,
  .passkey-list {
    padding-inline: 1.2rem;
  }
  .email-list > li > div:not(.email-actions) {
    min-width: 10rem;
  }
  .email-actions {
    width: 100%;
    margin-left: 2.75rem;
    justify-content: flex-start;
  }
  .email-list strong {
    font-size: 0.75rem;
  }
  .email-actions .inline-link {
    font-size: 0.6875rem;
  }
  .email-list .status-pill {
    font-size: 0.625rem;
  }
  .settings-note {
    margin-inline: 1.2rem;
    font-size: 0.6875rem;
  }
  .security-description {
    font-size: 0.75rem;
    padding-inline: 1.2rem;
  }
  .security-summary {
    padding-inline: 1.2rem;
  }
  .security-settings > .demo-security-notice {
    margin-inline: 1.2rem;
  }
  .security-actions {
    padding-inline: 1.2rem;
  }
  .security-actions > .button {
    font-size: 0.6875rem;
  }
  .passkey-list strong {
    font-size: 0.75rem;
  }
  .passkey-list small {
    font-size: 0.625rem;
  }
  .demo-security-notice {
    font-size: 0.6875rem;
  }
}

/* Service connection and identity-provider entry. */
.token-login-panel {
  padding: 1.75rem;
  max-width: 44rem;
  margin: 2rem auto;
}
.token-login-panel > p {
  color: var(--text-muted);
  margin: 0.75rem 0 1.25rem;
}
.token-login-panel textarea {
  min-height: 5rem;
  overflow-wrap: anywhere;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.email-actions {
  flex-wrap: wrap;
}
