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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 380px;
  min-height: 560px;
  background: #f7f8fb;
  color: #111827;
}

.app {
  display: grid;
  gap: 16px;
  padding: 20px;
}

header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

button {
  border: 1px solid #d6dce8;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  min-height: 42px;
  padding: 0 14px;
}

button:hover {
  border-color: var(--accent);
}

.iconButton {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--accent);
  font-size: 24px;
}

.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.field {
  display: grid;
  gap: 7px;
}

.field span,
.summary span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d6dce8;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  outline: none;
}

input {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 230px;
  padding: 12px;
  resize: vertical;
  line-height: 1.45;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.summary {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 10px;
}

.summary div {
  min-width: 0;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.summary strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.actions.secondary {
  grid-template-columns: 1fr 1fr;
}

.status {
  min-height: 20px;
  margin: 0;
  color: #475569;
  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; 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; }
