.pn-page { background: #f3f6f4; }
.pn-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(11,38,22,.55) 0%, rgba(11,38,22,.8) 100%),
    url('https://images.pexels.com/photos/1072179/pexels-photo-1072179.jpeg?auto=compress&cs=tinysrgb&w=1920&h=600&fit=crop') center / cover no-repeat;
  color: #fff;
  padding: 76px 0 42px;
}
.pn-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.pn-hero p { margin: 0; max-width: 540px; font-size: 1rem; opacity: 0.85; line-height: 1.55; }
@media (max-width: 900px) {
  .pn-hero { min-height: 270px; }
}
@media (max-width: 768px) {
  .pn-hero { min-height: 240px; padding-top: 64px; }
  .pn-hero h1 { font-size: 1.65rem; }
  .pn-hero p { font-size: 0.92rem; }
}
.pn-section { padding: 1.75rem 0 3rem; }
.pn-wrap { max-width: 760px; }
.pn-card {
  background: #fff;
  border: 1px solid #d7e0da;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.pn-card h2 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.pn-lead { margin: 0 0 1.1rem; color: #5b6b61; line-height: 1.5; font-size: 0.95rem; }
.pn-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.pn-btn-icon {
  flex-shrink: 0;
  display: block;
}
.pn-btn--primary {
  background: #0f3d24;
  color: #fff;
}
.pn-btn--ghost {
  background: #eef3f0;
  color: #0f3d24;
  border-color: #d7e0da;
}
.pn-btn--block { width: 100%; margin-top: 0.85rem; }
.pn-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pn-field { margin-bottom: 0.85rem; }
.pn-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.pn-field select {
  width: 100%;
  border: 1px solid #d7e0da;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.pn-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.25rem 0 0.25rem;
}
.pn-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d7e0da;
}
.pn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pn-thumb button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(15,23,42,.75);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.pn-credit {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}
.pn-alert {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  line-height: 1.5;
}
.pn-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  color: #065f46;
  font-weight: 600;
}
.pn-status.is-error {
  background: #fef2f2;
  color: #991b1b;
}
.pn-results { margin-top: 1.25rem; display: grid; gap: 0.85rem; }
.pn-result {
  background: #fff;
  border: 1px solid #d7e0da;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}
.pn-result-score {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #166534;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.pn-result-score small { font-size: 0.65rem; font-weight: 600; opacity: 0.8; }
.pn-result h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-style: italic;
}
.pn-result .pn-author { color: #6b7280; font-size: 0.82rem; margin: 0 0 0.45rem; }
.pn-meta { margin: 0; font-size: 0.88rem; color: #374151; line-height: 1.45; }
.pn-result-imgs {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.pn-result-imgs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}
@media (max-width: 560px) {
  .pn-actions { grid-template-columns: 1fr; }
  .pn-result { grid-template-columns: 1fr; }
  .pn-result-score { width: 100%; height: auto; flex-direction: row; gap: 0.4rem; padding: 0.55rem; }
}
