/* Layout unique to /ptnk. Palette, type, header and buttons come from /style.css. */
main a:not(.button-link):not(.navlink) { color: var(--fg); }
.hero { margin-bottom: 48px; }
.hero .lead { font-size: 1.2rem; font-weight: 600; }
.hero .tag { color: var(--muted); font-size: .9rem; margin-top: 24px; }
.section { margin-bottom: 40px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.quote {
  font-style: italic;
  color: var(--muted);
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 4px solid var(--fg);
}
.message { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; margin: 16px 0; }
.message.ok { border-color: var(--pass); color: var(--pass); }
.message.err { border-color: var(--fail); color: var(--fail); }
.hidden { display: none !important; }
.required { color: var(--fail); }
.subtitle, .muted { color: var(--muted); font-weight: 400; font-size: .9rem; }
.warn { color: var(--pending); }
.ok-text { color: var(--pass); }
.err-text { color: var(--fail); }
.field { margin-bottom: 4px; }
textarea { min-height: 100px; resize: vertical; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.check input { width: auto; height: 20px; margin-top: 2px; flex-shrink: 0; }
.check label { margin: 0; font-weight: 400; }
.modal {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 20px;
}
.modal-card {
  background: var(--panel);
  padding: 24px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.modal-card h2 { margin-top: 0; }
.row input { flex: 1 1 240px; width: auto; }
.row button[type=submit] { margin-top: 0; }
.note {
  background: var(--panel);
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 6px;
  border-left: 3px solid var(--fg);
}
.list-card {
  background: var(--panel);
  padding: 12px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.list-card.pending { border-left: 4px solid var(--pending); }
.list-card.approved { border-left: 4px solid var(--pass); }
.list-card.rejected { border-left: 4px solid var(--line); opacity: .75; }
.list-card.frozen { border-left: 4px solid var(--fail); }
.actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
button.ok.small, button.danger.small { width: auto; padding: 4px 10px; font-size: .85rem; margin: 0; }
button.danger { background: transparent; color: var(--fail); border: 1px solid var(--fail); }
.who { font-size: 1.1rem; font-weight: 700; }
