.teacher-login-line,
.teacher-user-id,
.account-name-edit-modal {
  --account-accent:var(--web-accent-primary, #3971d3);
  --account-accent-strong:var(--web-accent-strong, #2e5ebc);
  --account-border:var(--ui-border-default, #dce4ee);
}
[data-field-icon-theme="group"] :is(.teacher-login-line, .teacher-user-id, .account-name-edit-modal) {
  --account-accent:#117a65;
  --account-accent-strong:#0d6655;
  --account-border:var(--ui-border-default, #dce4ee);
}
.teacher-login-line .teacher-name-edit,
.teacher-login-line .teacher-name-edit-icon,
button.teacher-user-id {
  display:inline-flex;
  align-items:center;
  min-width:0;
  min-height:0;
  width:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:4px;
  background:transparent;
  box-shadow:none;
  color:inherit;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.teacher-login-line .teacher-name-edit {
  overflow:hidden;
}
.teacher-name-edit strong {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.teacher-login-line .teacher-name-edit-icon {
  flex:0 0 18px;
  width:18px;
  height:20px;
  justify-content:center;
  color:var(--account-accent);
}
.teacher-name-edit-icon :is(svg, i) {
  display:block;
  width:14px;
  height:14px;
}
button.teacher-user-id {
  display:flex;
  gap:3px;
  min-height:18px;
  max-width:100%;
  color:#64748b;
  font-size:12px;
  font-weight:650;
  line-height:1.45;
}
.teacher-user-id-copy-icon {
  flex:0 0 14px;
  width:14px;
  height:14px;
  margin-left:3px;
  color:var(--account-accent);
}
.teacher-login-line :is(.teacher-name-edit, .teacher-name-edit-icon):is(:hover, :focus-visible):not(:disabled),
button.teacher-user-id:is(:hover, :focus-visible):not(:disabled) {
  color:var(--account-accent-strong);
}
.teacher-login-line :is(.teacher-name-edit, .teacher-name-edit-icon):disabled,
button.teacher-user-id:disabled {
  cursor:default;
  opacity:1;
}
.account-name-edit-modal .account-name-edit-card {
  position:relative;
  width:420px;
  max-width:calc(100vw - 64px);
  padding:28px;
  border:1px solid var(--account-border);
  border-radius:20px;
  background:#fff;
  color:#172033;
}
.account-name-edit-card h2 {
  margin:0 0 12px;
  font-size:22px;
  font-weight:800;
  text-align:center;
}
.account-name-edit-hint {
  margin:0 0 20px;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}
.account-name-edit-card .account-name-input {
  width:100%;
  height:44px;
  margin:0;
  padding:0 12px;
  border:1px solid var(--account-border);
  border-radius:10px;
  background:transparent;
  color:#172033;
  font-size:16px;
  box-sizing:border-box;
}
.account-name-edit-counter {
  margin-top:6px;
  color:#64748b;
  font-size:12px;
  text-align:right;
}
.account-name-edit-status {
  margin:12px 0 0;
  color:#b4233d;
  font-size:13px;
  line-height:1.6;
}
.account-name-edit-status[hidden] { display:none; }
.account-name-edit-actions {
  display:flex;
  gap:12px;
  margin-top:22px;
}
.account-name-edit-actions button {
  flex:1;
  min-height:42px;
  padding:10px 14px;
  border:1px solid var(--account-border);
  border-radius:10px;
  background:#fff;
  color:var(--account-accent-strong);
  font-size:14px;
  font-weight:700;
}
.account-name-edit-actions button.primary {
  border-color:var(--account-accent);
  background:var(--account-accent);
  color:#fff;
}
.account-name-edit-actions button:disabled,
.account-name-edit-card input:disabled { opacity:.6; cursor:default; }
