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

* {
  box-sizing: border-box;
}

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

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

header,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 20px;
  line-height: 1.2;
}

.eyebrow,
.label,
.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;
}

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

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

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

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

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

button:hover {
  background: #eef2f7;
}

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

.primary {
  flex: 1;
  border-color: #1f6feb;
  background: #1f6feb;
  color: #ffffff;
}

.primary:hover {
  background: #195fc9;
}

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

.meta {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
  margin-top: 10px;
}

.meta div {
  min-width: 0;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.meta strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actions {
  flex: 0 0 auto;
  margin-top: 10px;
}

.toggles {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.toggles label {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px;
  color: #4a5565;
  font-size: 12px;
  line-height: 1.2;
}

.toggles input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.actions button:not(.primary) {
  width: 92px;
}

.status {
  flex: 0 0 auto;
  min-height: 16px;
  margin-top: 8px;
  color: #42613a;
  font-size: 12px;
}

.hidden {
  display: none;
}

.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; min-width: 0; }
.pro-card p { margin: 0; color: #0f766e; font-size: 11px; font-weight: 800; }
.pro-card strong { font-size: 13px; line-height: 1.3; }
.pro-card span { color: #526070; font-size: 11px; line-height: 1.35; }
.pro-card a { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; height: 32px; border-radius: 8px; background: #0f766e; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.pro-card a:hover { background: #0d665f; }
