:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17212b;
  background: #f7f8fa;
}

* {
  box-sizing: border-box;
}

body {
  width: 390px;
  max-height: 600px;
  margin: 0;
  overflow: hidden;
  background: #f7f8fa;
}

.shell {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  padding: 14px;
  overflow: hidden;
}

header,
.actions,
.secondary-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

header {
  justify-content: space-between;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 20px;
}

.eyebrow,
.field span {
  color: #657080;
  font-size: 12px;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #4a5565;
  font-size: 13px;
}

.check-row input {
  width: 15px;
  height: 15px;
  margin: 0;
}

#saveState {
  color: #657080;
}

select,
input,
textarea,
button {
  font: inherit;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #d5dae2;
  border-radius: 8px;
  background: #ffffff;
  color: #17212b;
}

select,
input {
  height: 34px;
  padding: 0 10px;
}

textarea {
  height: 122px;
  min-height: 112px;
  max-height: 122px;
  resize: vertical;
  padding: 10px;
  line-height: 1.45;
  overflow: auto;
}

button {
  height: 34px;
  border: 1px solid #c8ced8;
  border-radius: 8px;
  background: #ffffff;
  color: #17212b;
  cursor: pointer;
}

button:hover {
  background: #eef2f7;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

header button {
  width: 34px;
  font-size: 18px;
}

.actions {
  margin-top: 10px;
}

.actions button {
  flex: 1;
}

.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.primary:hover {
  background: #0d665f;
}

.secondary-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin-top: 8px;
  gap: 6px;
}

.secondary-actions button {
  color: #526070;
  padding: 0 6px;
  font-size: 13px;
}

.pro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 11px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: #eef8f6;
}

.pro-card div {
  display: grid;
  gap: 2px;
}

.pro-card strong {
  font-size: 13px;
}

.pro-card span,
.pro-kicker {
  color: #526070;
  font-size: 11px;
  line-height: 1.35;
}

.pro-kicker {
  color: #0f766e;
  font-weight: 800;
}

.pro-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 32px;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.hidden-file {
  display: none;
}

.variables {
  margin-top: 10px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 8px;
}

.variables summary {
  cursor: pointer;
  color: #4a5565;
  font-size: 13px;
}

.var-grid {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.status {
  min-height: 16px;
  margin-top: 8px;
  color: #315f3c;
  font-size: 12px;
}
