.license-gate__overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  padding: 1.5rem;
}

.license-gate__overlay[hidden] {
  display: none !important;
}

.license-gate__panel {
  width: min(28rem, 100%);
  background: #fff;
  color: #0f172a;
  border-radius: 0.5rem;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
  padding: 1.5rem 1.5rem 1.25rem;
  font-family: "Segoe UI", system-ui, sans-serif;
}

.license-gate__logo {
  display: block;
  height: 2.5rem;
  width: auto;
  margin: 0 auto 0.75rem;
}

.license-gate__subtitle {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.license-gate__hint {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #475569;
}

.license-gate__field {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
}

.license-gate__field span {
  display: block;
  margin-bottom: 0.25rem;
}

.license-gate__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.35rem;
  font-size: 1rem;
}

.license-gate__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.license-gate__actions button {
  flex: 1 1 auto;
  min-width: 6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.35rem;
  border: 1px solid #94a3b8;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 600;
}

.license-gate__actions button.primary {
  background: #a16207;
  border-color: #a16207;
  color: #fff;
}

.license-gate__actions button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.license-gate__error {
  min-height: 1.25rem;
  margin: 0.5rem 0 0;
  color: #b91c1c;
  font-size: 0.85rem;
}

.license-gate__status {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #334155;
}

.license-gate-app--locked {
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.15);
}

#license-account-bar {
  display: none;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
}

#license-account-bar.is-visible {
  display: inline-flex;
}

.license-feedback-dialog {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
}

.license-feedback-dialog__panel {
  width: min(28rem, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 1rem 1.1rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.license-feedback-dialog__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #0f172a;
}

.license-feedback-dialog__hint {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  color: #475569;
}

.license-feedback-dialog__note {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 6rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font: inherit;
}

.license-feedback-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
