.hdwm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.hdwm-modal {
  background: white;
  border-radius: 8px;
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hdwm-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #eee;
}

.hdwm-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.hdwm-subtitle {
  margin: 0;
  color: #666;
  font-size: 14px;
}

.hdwm-body {
  padding: 16px 24px;
  overflow-y: auto;
  flex: 1;
}

.hdwm-section-heading {
  margin: 16px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hdwm-section-heading:first-child {
  margin-top: 0;
}

.hdwm-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
  font-size: 14px;
}

.hdwm-card-title {
  margin-bottom: 6px;
}

.hdwm-card-description {
  margin-bottom: 10px;
  color: #666;
}

.hdwm-radio {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}

.hdwm-radio:last-child {
  margin-bottom: 0;
}

.hdwm-info-list {
  margin: 0;
  padding: 0 0 0 20px;
  color: #444;
  font-size: 14px;
}

.hdwm-info-list li {
  margin-bottom: 6px;
}

.hdwm-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.hdwm-btn {
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.hdwm-btn-cancel {
  border: 1px solid #ccc;
  background: white;
}

.hdwm-btn-push {
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 500;
}

.hdwm-arrow {
  color: #888;
}
