.pl-page { padding: 56px 0 100px; display: flex; flex-direction: column; align-items: center; }
.pl-intro { text-align: center; max-width: 46ch; margin-bottom: 24px; }
.pl-intro .hero__eyebrow { margin-bottom: 18px; }
.pl-intro h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.pl-intro p { color: var(--ink-soft); margin: 0; line-height: 1.6; }

.pl-type-tabs { display: flex; flex-wrap: wrap; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; max-width: fit-content; margin: 0 auto 24px; }
.pl-type-tab { border: none; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.82rem; color: var(--ink-soft); cursor: pointer; transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); white-space: nowrap; }
.pl-type-tab:hover { color: var(--ink); }
.pl-type-tab.is-active { background: var(--ink); color: #fff; }

.pl-calc-wrap { width: 100%; max-width: 480px; margin-bottom: 32px; }
.pl-calculator { background: var(--ink); border-radius: var(--radius-lg); padding: 28px 24px 20px; box-shadow: 0 30px 60px -25px rgba(27,31,59,0.45); display: flex; flex-direction: column; gap: 14px; }

.pl-panel { display: none; }
.pl-panel.is-active { display: block; }
.pl-input-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pl-input-group label { font-size: 0.74rem; font-weight: 600; color: rgba(255,255,255,0.5); }
.pl-input { border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 12px 14px; font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; background: rgba(255,255,255,0.06); color: #fff; text-align: center; transition: border-color var(--dur-fast) var(--ease); }
.pl-input:focus { outline: none; border-color: var(--accent); }
.pl-input-row { display: flex; gap: 10px; }

.pl-result { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 16px; text-align: center; }
.pl-result-label { font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.4); display: block; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.pl-result-value { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--highlight); }

.pl-steps { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 14px 16px; }
.pl-steps__title { font-size: 0.76rem; font-weight: 700; color: rgba(255,255,255,0.5); display: block; margin-bottom: 6px; }
.pl-steps__content { font-family: var(--font-mono); font-size: 0.76rem; color: rgba(255,255,255,0.7); line-height: 1.7; white-space: pre-wrap; }

.pl-ref-wrap { width: 100%; max-width: 480px; text-align: center; }
.pl-ref__title { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 12px; }
.pl-ref-table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.pl-ref-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.78rem; }
.pl-ref-table th { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.7rem; padding: 8px 12px; }
.pl-ref-table td { padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--ink); }
.pl-ref-table tbody tr:nth-child(even) td { background: rgba(27,31,59,0.015); }

@media (max-width: 500px) {
  .pl-type-tab { padding: 7px 11px; font-size: 0.74rem; }
  .pl-result-value { font-size: 1.3rem; }
}
