:root {
  color-scheme: dark;
  --bg: #061329;
  --panel: rgba(8, 28, 56, 0.88);
  --panel-strong: rgba(9, 34, 68, 0.96);
  --line: rgba(160, 194, 235, 0.16);
  --text: #f3f5f7;
  --muted: #98a2b3;
  --accent: #72b7ff;
  --accent-strong: #2684e8;
  --danger: #ff7b8d;
  --success: #7df0b0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Pretendard Variable", "Pretendard", "Segoe UI Variable", "Noto Sans KR", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(70, 153, 242, 0.08), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(70, 130, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #090b0f 0%, #050608 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  opacity: 0.04;
  pointer-events: none;
}

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
}

.page-glow-a {
  top: -10rem;
  left: -8rem;
  background: #247fd7;
}

.page-glow-b {
  right: -10rem;
  bottom: -10rem;
  background: #1254a0;
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero {
  margin-bottom: 28px;
  animation: rise 0.55s ease;
}

.hero-compact {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.mode-switch,
.panel,
.result-panel,
.label-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel,
.result-panel {
  position: relative;
  overflow: hidden;
}

.panel::before,
.result-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.eyebrow,
.panel-kicker,
.hero-card-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.panel h2,
.result-panel h2,
.label-dialog h2 {
  margin: 0;
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI Variable", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
}

.dialog-copy {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

code {
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.92em;
}

.workspace {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
  justify-items: stretch;
  align-content: center;
}

.mode-switch {
  display: inline-flex;
  width: fit-content;
  padding: 6px;
  gap: 6px;
  justify-self: center;
}

.mode-button,
.primary-button,
.secondary-button,
.ghost-button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.mode-button {
  min-width: 116px;
  padding: 12px 18px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
}

.mode-button.active {
  background: linear-gradient(135deg, rgba(70, 153, 242, 0.2), rgba(38, 132, 232, 0.28));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(70, 153, 242, 0.2);
}

.panel,
.result-panel {
  padding: 24px;
}

.hidden {
  display: none;
}

.panel-heading {
  margin-bottom: 18px;
}

.panel-kicker {
  margin-bottom: 8px;
}

.panel h2,
.result-panel h2,
.label-dialog h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.stack {
  display: grid;
  gap: 16px;
}

.field span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #dce2e9;
}

.field input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(9, 11, 15, 0.98);
  color: var(--text);
  font: inherit;
}

.field input::placeholder {
  color: #6d7683;
}

.field input:focus {
  outline: 0;
  border-color: rgba(70, 153, 242, 0.4);
  box-shadow: 0 0 0 4px rgba(70, 153, 242, 0.1), 0 0 26px rgba(70, 153, 242, 0.1);
}

.primary-button,
.secondary-button,
.ghost-button {
  padding: 14px 20px;
  font-weight: 700;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #06110a;
  box-shadow: 0 14px 34px rgba(38, 132, 232, 0.22);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.ghost-button {
  background: transparent;
  color: var(--muted);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.mode-button:hover {
  transform: translateY(-1px);
}

.drop-zone {
  padding: 26px 22px;
  border: 1px dashed rgba(70, 153, 242, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(70, 153, 242, 0.12), transparent 55%),
    rgba(11, 14, 18, 0.96);
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.drop-zone-hidden {
  display: none;
}

.drop-zone strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.drop-zone p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.drop-zone.dragging {
  border-color: rgba(70, 153, 242, 0.7);
  box-shadow: inset 0 0 0 1px rgba(70, 153, 242, 0.25), 0 0 34px rgba(70, 153, 242, 0.15);
  transform: scale(1.01);
}

.status-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

#status-text {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

#status-text.error {
  color: var(--danger);
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-list.empty {
  min-height: 120px;
  place-items: center;
}

.empty-text {
  margin: 0;
  color: var(--muted);
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.delete-license-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 6px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--muted);
}

.delete-license-icon:hover { color: var(--danger); }

.delete-license-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-meta {
  display: grid;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.result-meta p {
  margin: 0;
}

.result-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.result-title-row .result-label { min-width: 0; }

.edit-label-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 6px;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--muted);
}

.edit-label-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.result-label {
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  font-weight: 700;
}

.result-hwid {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.95rem;
  color: #c8d0da;
  overflow-wrap: anywhere;
}

.result-subtle {
  color: var(--muted);
  font-size: 0.9rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.result-actions > * {
  white-space: nowrap;
}

button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.download-link {
  width: fit-content;
  margin-left: auto;
  flex-shrink: 0;
  text-decoration: none;
}

.certificate-link { margin-left: 0; }

.message {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(125, 240, 176, 0.14);
  border-radius: 16px;
  background: rgba(125, 240, 176, 0.12);
  color: var(--success);
}

.message.error {
  border-color: rgba(255, 123, 141, 0.2);
  background: rgba(255, 123, 141, 0.12);
  color: var(--danger);
}

.label-dialog {
  width: min(500px, calc(100% - 24px));
  padding: 0;
  color: var(--text);
}

.label-dialog::backdrop {
  background: rgba(2, 4, 7, 0.72);
  backdrop-filter: blur(6px);
}

.label-dialog form {
  padding: 24px;
}

.dialog-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.danger-button {
  border: 1px solid rgba(255, 123, 141, 0.28);
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(255, 94, 117, 0.16);
  color: #ffdce1;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.danger-button:hover { background: rgba(255, 94, 117, 0.26); }
.delete-license-dialog .users-dialog-content { padding: 26px; }
.delete-license-dialog .dialog-actions { margin-top: 20px; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100%, calc(100% - 20px));
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .panel,
  .result-panel {
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 3.7rem);
  }

  .status-row {
    display: grid;
    align-items: start;
  }

  #status-text {
    text-align: left;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .result-card {
    display: grid;
    align-items: start;
  }

  .download-link {
    margin-left: 0;
  }
}

/* Refined blue identity and compact brand header */
.hero-compact { justify-items: start; text-align: left; gap: 12px; width: min(980px, 100%); margin: 0 auto 28px; }
.brand-lockup { display: flex; align-items: center; gap: 16px; }
.brand-mark { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.brand-copy .eyebrow { margin-bottom: 5px; }
.hero h1 { font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.15; letter-spacing: -.045em; }
.hero h1 span { color: #b9d9ff; }
.hero-description, .section-copy { color: var(--muted); line-height: 1.65; }
.hero-description { margin: 0 0 0 74px; }
.section-copy { margin: 10px 0 0; max-width: 58ch; }
.workspace { gap: 16px; }
.panel, .result-panel { border-color: rgba(130, 177, 231, .18); }
.panel { padding: clamp(24px, 4vw, 36px); }
.panel-heading { margin-bottom: 24px; }
.field-hint { margin-left: 5px; color: #86a9d3; font-size: .72rem; letter-spacing: .12em; }
.field input { border-color: rgba(145, 181, 224, .2); }
.primary-button { color: #061b35; }
.workspace-footnote { display:flex; align-items:center; justify-content:center; gap:8px; color:#8298b6; font-size:.82rem; margin: 2px 0 0; }
.status-dot { width:7px; height:7px; border-radius:50%; background:#61d49b; box-shadow:0 0 12px rgba(97,212,155,.6); }
@media (max-width: 720px) {
  .hero-compact { justify-items: start; text-align: left; margin-bottom: 22px; }
  .brand-mark { width: 48px; height: 48px; border-radius: 13px; }
  .hero-description { margin-left: 64px; }
  .hero h1 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
}


/* Compact, full-width identity bar */
.app-shell { width: 100%; min-height: 100vh; padding: 0 0 36px; display: block; }
.hero-compact { width: 100%; margin: 0; padding: 12px max(16px, calc((100% - 980px) / 2)); border-bottom: 1px solid rgba(160, 194, 235, .12); background: linear-gradient(90deg, rgba(7, 31, 63, .78), rgba(7, 27, 53, .54)); box-shadow: 0 8px 28px rgba(0, 0, 0, .12); backdrop-filter: blur(16px); }
.brand-lockup { width: 100%; max-width: 980px; margin: 0 auto; gap: 11px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.brand-copy .eyebrow { margin: 0 0 2px; font-size: .58rem; letter-spacing: .16em; }
.hero h1 { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.025em; }
.hero h1 span { color: #b9d9ff; }
.workspace { padding-top: clamp(48px, 9vh, 92px); }
@media (max-width: 720px) {
  .hero-compact { padding: 11px 16px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .hero h1 { font-size: 1rem; }
  .workspace { padding-top: 34px; }
}

/* Workspace title sits above the mode selector */
.brand-name { color: #f3f5f7; font-size: 1rem; font-weight: 750; letter-spacing: -.02em; }
.workspace-intro { width: min(980px, 100%); margin: 0 auto 26px; text-align: center; }
.workspace-intro h1 { margin: 0; color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.15; letter-spacing: -.045em; }
@media (max-width: 720px) { .workspace-intro { margin-bottom: 20px; } }

/* Keep the two mode panels aligned at the same size */
.brand-copy { display: grid; gap: 2px; }
.brand-copy .eyebrow { margin: 0; font-size: .55rem; letter-spacing: .15em; }
.workspace > .panel:not(.hidden) { height: 384px; min-height: 384px; display: flex; flex-direction: column; }
.workspace > .panel:not(.hidden) .panel-heading { min-height: 128px; }
.workspace > .panel:not(.hidden) form.stack { display: flex; flex: 1; flex-direction: column; }
.workspace > .panel:not(.hidden) form.stack > button { margin-top: auto; }


/* Reserve scrollbar space so centered panels do not shift when results appear */
html { scrollbar-gutter: stable; }

/* Hide the scrollbar while preserving native mouse-wheel scrolling */
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
html { scrollbar-gutter: auto; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Signed-in user identity in the top bar */
.user-chip { display: flex; align-items: center; gap: 9px; margin-left: auto; padding: 5px 12px 5px 5px; border: 1px solid rgba(160, 194, 235, .16); border-radius: 999px; background: rgba(255, 255, 255, .035); }
.user-avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #398fdf, #174b86); color: white; font-size: .82rem; font-weight: 800; }
.user-meta { display: grid; gap: 1px; }
.user-state { color: #86a9d3; font-size: .52rem; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.user-name { color: #eef5ff; font-size: .72rem; font-weight: 750; letter-spacing: .04em; line-height: 1.2; }
@media (max-width: 420px) { .user-chip { gap: 7px; padding-right: 9px; } .user-state { display: none; } }

/* Login and first-run setup screens */
.auth-shell { width: 100%; min-height: 100vh; }
.auth-card { width: min(480px, calc(100% - 32px)); margin: clamp(48px, 10vh, 96px) auto 48px; padding: clamp(24px, 5vw, 36px); }
.auth-card h1 { margin: 0; color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", sans-serif; font-size: clamp(1.8rem, 5vw, 2.35rem); letter-spacing: -.04em; }
.auth-form { margin-top: 24px; }
.auth-form .field input[readonly] { color: #b7c6d8; }
#auth-error { margin: 18px 0 0; }

/* User controls and administrator account list */
.user-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.user-chip { margin-left: 0; }
.header-action { padding: 8px 11px; border: 1px solid rgba(160, 194, 235, .16); border-radius: 999px; background: rgba(255, 255, 255, .035); color: #c5d6ea; font: inherit; font-size: .72rem; font-weight: 650; cursor: pointer; }
.header-action:hover { background: rgba(255, 255, 255, .09); color: white; }
.users-dialog { width: min(620px, calc(100% - 24px)); max-height: min(88vh, 760px); overflow: auto; }
.users-dialog-content { padding: clamp(22px, 4vw, 30px); }
.users-dialog h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.users-dialog .dialog-copy { margin-top: 8px; }
.user-create-form { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(3, 15, 31, .28); }
.user-form-hint { margin: -8px 0 0; color: var(--muted); font-size: .82rem; }
.users-list { display: grid; gap: 8px; margin-top: 18px; }
.user-admin-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); }
.user-admin-name { color: var(--text); font-weight: 700; overflow-wrap: anywhere; }
.user-admin-role { display: block; margin-top: 3px; color: var(--muted); font-size: .75rem; }
.user-admin-row .secondary-button { padding: 9px 13px; font-size: .8rem; }
.user-admin-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.users-dialog .dialog-actions { margin-top: 16px; }
@media (max-width: 620px) {
  .user-controls { gap: 5px; }
  .header-action { padding: 7px 8px; font-size: .66rem; }
  .user-chip { gap: 6px; padding-right: 7px; }
  .user-avatar { width: 27px; height: 27px; }
  .user-name { font-size: .65rem; }
  .user-state { display: none; }
}

/* The header logo can be held to switch between the two local service ports. */
.brand-mark { touch-action: none; user-select: none; -webkit-user-drag: none; cursor: pointer; transition: transform 180ms ease; }
.brand-mark.is-holding { transform: scale(.94); }

/* Keep hidden application and admin-only controls hidden after component styles */
.app-shell.hidden, .auth-shell.hidden, .header-action.hidden { display: none !important; }

/* Compact icon actions; the system share button is available only on mobile. */
.result-actions { margin-left: auto; align-items: center; }
.result-actions .icon-action { width: 52px; height: 52px; min-width: 52px; padding: 0; margin: 0; display: inline-grid; place-items: center; border-radius: 16px; text-decoration: none; }
.icon-action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.share-file-button { border: 1px solid var(--line); color: var(--text); cursor: pointer; }
.share-file-button:hover:not(:disabled) { border-color: rgba(125, 240, 176, .3); color: var(--success); }
@media (min-width: 721px) { .share-file-button { display: none !important; } }
@media (max-width: 720px) {
  .result-actions { justify-content: flex-end; margin-left: 0; width: 100%; }
  .result-actions .icon-action { width: 48px; height: 48px; min-width: 48px; }
  .result-actions .icon-action svg { width: 21px; height: 21px; }
}
.field select { width: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(9, 11, 15, .98); color: var(--text); font: inherit; }
.field select:focus { outline: 0; border-color: rgba(70,153,242,.4); box-shadow: 0 0 0 4px rgba(70,153,242,.1); }
.field select option { background: #101a27; color: var(--text); }

/* Compact user management controls */
.user-admin-summary { min-width: 100px; }
.user-admin-actions { gap: 6px; }
.user-role-select { width: 126px; min-width: 104px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 11px; background: rgba(9, 11, 15, .98); color: var(--text); font: inherit; font-size: .78rem; }
.user-role-select:focus { outline: 0; border-color: rgba(70,153,242,.45); }
.user-icon-button { display: inline-grid; place-items: center; width: 36px; height: 36px; min-width: 36px; padding: 7px !important; border-radius: 11px; cursor: pointer; }
.user-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.user-icon-button:hover:not(:disabled) { color: var(--accent); border-color: rgba(70,153,242,.4); }
.user-icon-button.delete-user-button:hover:not(:disabled) { color: var(--danger); border-color: rgba(255,123,141,.4); }
.user-icon-button:disabled { cursor: default; opacity: .4; }
.current-account { margin: 0 2px; white-space: nowrap; }
@media (max-width: 620px) {
  .user-admin-row { align-items: flex-start; flex-direction: column; }
  .user-admin-actions { width: 100%; justify-content: flex-end; gap: 5px; }
  .user-role-select { flex: 1 1 100px; max-width: 136px; }
  .user-icon-button { width: 34px; height: 34px; min-width: 34px; }
}

/* Mark the signed-in account beside its name, away from action controls. */
.user-admin-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 7px; }
.user-admin-role { flex-basis: 100%; }
.current-account-indicator { display: inline-block; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #32d583; box-shadow: 0 0 0 3px rgba(50, 213, 131, .12), 0 0 10px rgba(50, 213, 131, .58); }

/* Compact account creation form: username and password side by side. */
#add-user-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 12px; }
#add-user-form .user-create-role,
#add-user-form .user-form-hint,
#add-user-form > button { grid-column: 1 / -1; }
#add-user-form .user-create-username,
#add-user-form .user-create-password { min-width: 0; }
@media (max-width: 560px) {
  #add-user-form { grid-template-columns: minmax(0, 1fr); }
  #add-user-form .user-create-role,
  #add-user-form .user-form-hint,
  #add-user-form > button { grid-column: auto; }
}
