:root {
  --pth-accent: #00a99d;
  --pth-accent-dark: #00877e;
  --pth-title: #0b1728;
  --pth-text: #475569;
  --pth-muted: #7b8794;
  --pth-soft: #f7fafc;
  --pth-border: #e7edf2;
  --pth-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}
.pth, .pth * { box-sizing: border-box; }
.pth {
  padding: 34px 18px 44px;
  background: linear-gradient(180deg, #fff 0%, #fbfdfe 100%);
  color: var(--pth-text);
  font-family: Arial, Helvetica, sans-serif;
}
.pth-container { width: min(1180px, 100%); margin: 0 auto; }
.pth-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--pth-border);
  padding-bottom: 18px;
}
.pth-head span {
  display: inline-block;
  color: var(--pth-accent-dark);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 5px;
}
.pth-head h1 {
  color: var(--pth-title);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin: 0;
}
.pth-head p { color: var(--pth-muted); font-size: .94rem; margin: 6px 0 0; }
.pth-search {
  width: min(570px, 100%);
  display: grid;
  grid-template-columns: 1fr 120px 96px;
  gap: 8px;
  margin: 0;
}
.pth-search input,
.pth-search select,
.pth-search button {
  height: 42px;
  border: 1px solid var(--pth-border);
  border-radius: 10px;
  background: #fff;
  color: var(--pth-title);
  padding: 0 12px;
  font-size: .86rem;
  outline: none;
  line-height: 1;
}
.pth-search input:focus,
.pth-search select:focus {
  border-color: var(--pth-accent);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, .11);
}
.pth-search button { cursor: pointer; font-weight: 700; color: var(--pth-accent-dark); }
.pth-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.pth-card {
  min-height: 168px;
  background: #fff;
  border: 1px solid var(--pth-border);
  border-radius: 18px;
  box-shadow: var(--pth-shadow);
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: .22s ease;
  text-decoration: none !important;
}
.pth-card:hover,
.pth-card.active {
  transform: translateY(-4px);
  border-color: rgba(0, 169, 157, .42);
  box-shadow: 0 15px 32px rgba(0, 169, 157, .11);
  text-decoration: none !important;
}
.pth-icon-circle {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(0, 169, 157, .35);
  background: #f8fefd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.pth-icon { width: 30px; height: 30px; color: var(--pth-accent); }
.pth-card h2 { color: var(--pth-title); font-size: .95rem; font-weight: 600; line-height: 1.25; margin: 0; }
.pth-meta { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: .76rem; color: var(--pth-muted); }
.pth-meta strong { color: var(--pth-accent-dark); font-weight: 700; }
.pth-line { display: block; width: 28px; height: 3px; border-radius: 999px; background: var(--pth-accent); margin: 11px auto 0; }
.pth-results { background: #fff; border: 1px solid var(--pth-border); border-radius: 18px; overflow: hidden; box-shadow: var(--pth-shadow); }
.pth-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--pth-border);
  background: var(--pth-soft);
}
.pth-results-head h3 { color: var(--pth-title); font-size: 1.02rem; margin: 0; }
.pth-head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pth-count { color: var(--pth-accent-dark); font-size: .82rem; font-weight: 700; }
.pth-clear { color: var(--pth-title); font-size: .82rem; font-weight: 700; text-decoration: none !important; border: 1px solid var(--pth-border); padding: 6px 10px; border-radius: 999px; background: #fff; }
.pth-year { padding: 16px 18px 6px; color: var(--pth-title); font-size: 1rem; font-weight: 700; margin: 0; }
.pth-list { padding: 0 18px 16px; display: grid; gap: 10px; }
.pth-doc {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--pth-border);
  border-radius: 14px;
  background: #fff;
}
.pth-doc h4 { color: var(--pth-title); font-size: .94rem; margin: 0 0 4px; }
.pth-doc p { color: var(--pth-muted); font-size: .82rem; line-height: 1.35; margin: 0; }
.pth-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.pth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: .18s ease;
}
.pth-view { background: var(--pth-accent); color: #fff !important; }
.pth-download { background: #fff; color: var(--pth-title) !important; border: 1px solid var(--pth-border); }
.pth-empty { display: block; padding: 24px; text-align: center; color: var(--pth-muted); font-size: .92rem; }
@media (max-width: 980px) {
  .pth-head { display: block; }
  .pth-search { margin-top: 16px; }
  .pth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pth { padding: 26px 12px 34px; }
  .pth-search { grid-template-columns: 1fr; }
  .pth-grid { grid-template-columns: 1fr; gap: 10px; }
  .pth-card { min-height: 120px; flex-direction: row; justify-content: flex-start; text-align: left; padding: 14px; }
  .pth-icon-circle { width: 54px; height: 54px; margin: 0 14px 0 0; flex: 0 0 54px; }
  .pth-line { display: none; }
  .pth-doc { grid-template-columns: 1fr; }
  .pth-actions { justify-content: flex-start; }
}
