body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 560px;
  margin: 40px auto;
  padding: 0 16px 40px;
  color: #1b1b1b;
}

h1 {
  font-size: 18px;
}

p {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

code {
  font-size: 12px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

label {
  font-size: 12px;
  font-weight: 600;
}

input,
select,
textarea {
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 24px 0;
}

button {
  align-self: flex-start;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #6b2c81;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #582269;
}

.ai-instructions-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-instructions-actions select {
  padding: 7px 8px;
  font-size: 12px;
}

.ai-instructions-actions button {
  padding: 7px 12px;
  font-size: 12px;
}

.ai-template-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-template-name-row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 7px 8px;
  font-size: 13px;
}

.ai-template-name-row button {
  padding: 7px 12px;
  font-size: 12px;
}

a {
  color: #6b2c81;
}

#status {
  font-size: 12px;
  color: #6b2c81;
}

.muted {
  font-size: 12px;
  color: #888;
}

.page-footer {
  margin-top: 24px;
  text-align: right;
}

.page-footer a {
  margin-right: 12px;
}

.app-version {
  color: #bbb;
  cursor: default;
}

.account-columns {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-top: 10px;
}

.account-column {
  flex: 1 1 200px;
  min-width: 0;
}

.account-column h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #888;
  margin: 0 0 6px;
}

.option-list {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.option-group-heading {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #aaa;
  padding: 8px 0 2px;
}

.option-group-heading:first-of-type {
  padding-top: 0;
}

.option-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  padding: 3px 0;
  cursor: pointer;
}

.profile-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
}

.profile-row span {
  flex: 1;
}

.profile-row button {
  font-size: 12px;
  padding: 3px 8px;
}

.credit-limit-input {
  width: 100px;
  font-size: 13px;
  padding: 3px 6px;
}

#dashboard-accounts-status,
#dashboard-budget-status {
  font-size: 12px;
  color: #6b2c81;
}

#property-value-proxy-form {
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

#property-value-proxy-form label {
  flex: 1 1 100%;
}

#property-value-proxy-url {
  flex: 1 1 320px;
  min-width: 0;
}

