:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17202a;
  background: #f5f7fb;
}
* { box-sizing: border-box; }
body {
  width: 380px;
  max-height: 590px;
  margin: 0;
  overflow: hidden;
  background: #f5f7fb;
}
.shell {
  display: flex;
  flex-direction: column;
  max-height: 590px;
  padding: 14px;
  overflow: hidden;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
h1, p { margin: 0; }
h1 { font-size: 21px; line-height: 1.15; }
header p, .field span, .status, .meta span {
  color: #667386;
  font-size: 12px;
}
.icon-button {
  width: 34px;
  flex: 0 0 auto;
}
.meta {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 8px;
  margin-top: 10px;
}
.meta div {
  min-width: 0;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}
.meta strong {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.field-row {
  display: flex;
  justify-content: space-between;
}
input, textarea {
  width: 100%;
  border: 1px solid #d3dae5;
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  font: inherit;
}
textarea {
  height: 230px;
  max-height: 230px;
  overflow: auto;
  resize: vertical;
  line-height: 1.45;
}
button {
  height: 34px;
  border: 1px solid #c7cfdb;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
button:hover { background: #eef3f8; }
.actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.actions button { flex: 1; }
.secondary { margin-top: 8px; }
.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #fff;
}
.primary:hover { background: #0d665f; }
.status {
  min-height: 15px;
  margin-top: 7px;
  color: #286142;
}

.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; }
