:root {
    --pm-bg: #f4f6f7;
    --pm-card: #fff;
    --pm-text: #1d2f3b;
    --pm-muted: #667884;
    --pm-line: #dfe7eb;
    --pm-brand: #e68112;
    --pm-brand-dark: #bd5f05;
    --pm-brand-soft: #fff3d5;
    --pm-green: #197848;
    --pm-red: #b83b31;
}

body.pm-page { background: var(--pm-bg); color: var(--pm-text); }
.pm-main { padding: 28px 0 64px; }
.pm-shell { max-width: 1180px; margin: 0 auto; }
.pm-hero,
.pm-card {
    background: var(--pm-card);
    border: 1px solid var(--pm-line);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(27, 50, 63, .07);
}
.pm-hero { padding: clamp(24px, 4vw, 44px); margin-bottom: 22px; position: relative; overflow: hidden; }
.pm-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -90px;
    top: -120px;
    background: radial-gradient(circle, rgba(253,198,0,.34), rgba(253,198,0,0) 68%);
    pointer-events: none;
}
.pm-eyebrow { color: var(--pm-brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pm-hero h1 { margin: 8px 0 10px; max-width: 900px; color: var(--pm-text); font-size: clamp(29px, 4vw, 46px); line-height: 1.08; font-weight: 800; }
.pm-lead { color: var(--pm-muted); font-size: 17px; line-height: 1.55; margin: 0 0 24px; }
.pm-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; max-width: 780px; position: relative; z-index: 1; }
.pm-search-field { min-width: 0; }
.pm-search input[type="text"] { height: 50px; border: 1px solid #cbd7dd; border-radius: 10px; padding: 0 16px; font-size: 16px; width: 100%; background: #fff; }
.pm-search input[type="text"]:focus { border-color: var(--pm-brand); box-shadow: 0 0 0 3px rgba(230,129,18,.14); outline: 0; }
.pm-suggestions { max-height: 312px; overflow-y: auto; margin-top: 6px; padding: 5px; border: 1px solid #cbd7dd; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(27, 50, 63, .16); }
.pm-suggestions[hidden] { display: none; }
.pm-suggestion { display: flex; min-height: 44px; align-items: center; padding: 10px 12px; border-radius: 7px; color: var(--pm-text); font-weight: 700; line-height: 1.35; text-decoration: none !important; touch-action: manipulation; }
.pm-suggestion:hover, .pm-suggestion:focus, .pm-suggestion.is-active { background: var(--pm-brand-soft); color: var(--pm-brand-dark); }
.pm-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 10px; padding: 0 20px; background: linear-gradient(135deg, var(--pm-brand-dark), var(--pm-brand) 58%, #f5b51b); color: #fff !important; font-weight: 800; text-decoration: none !important; box-shadow: 0 6px 16px rgba(190,96,6,.21); }
.pm-button:hover, .pm-button:focus { color: #fff; filter: brightness(.97); transform: translateY(-1px); }
.pm-button-secondary { background: #fff; color: var(--pm-brand-dark) !important; border: 1px solid #e4b468; box-shadow: none; }
.pm-button-secondary:hover, .pm-button-secondary:focus { color: var(--pm-brand-dark); background: var(--pm-brand-soft); }

.pm-card { padding: clamp(18px, 3vw, 30px); margin-bottom: 18px; }
.pm-card h2 { margin: 0 0 9px; color: var(--pm-text); font-size: clamp(22px, 3vw, 29px); line-height: 1.2; }
.pm-card h3 { color: var(--pm-text); }
.pm-card-intro { margin: 0 0 18px; color: var(--pm-muted); line-height: 1.55; }
.pm-overview { background: linear-gradient(135deg, var(--pm-brand-soft), #fff 60%); }
.pm-overview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.pm-location-label { color: var(--pm-muted); margin: 4px 0 0; }
.pm-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pm-fact { background: rgba(255,255,255,.78); border: 1px solid #eadfc0; border-radius: 999px; padding: 7px 12px; color: #50616b; font-size: 13px; }
.pm-fact strong { color: var(--pm-text); }

.pm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pm-stat { border: 1px solid var(--pm-line); border-radius: 14px; padding: 16px; background: #fff; min-width: 0; }
.pm-stat-label { min-height: 34px; color: var(--pm-muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pm-stat-value { display: block; margin-top: 7px; color: var(--pm-text); font-size: clamp(21px, 2.5vw, 28px); font-weight: 800; line-height: 1.1; }
.pm-stat-meta { display: block; margin-top: 8px; color: var(--pm-muted); font-size: 12px; line-height: 1.45; }
.pm-positive { color: var(--pm-green); }
.pm-negative { color: var(--pm-red); }
.pm-muted { color: var(--pm-muted); }
.pm-quality-note { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 8px; background: #f5f8fa; color: #536a76; font-size: 12px; margin: 0 0 16px; }
.pm-quality-note::before { content: "i"; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: #718b99; font-weight: 800; }

.pm-table-wrap { overflow-x: auto; border: 1px solid var(--pm-line); border-radius: 12px; }
.pm-table { width: 100%; margin: 0; border-collapse: collapse; min-width: 780px; }
.pm-table th, .pm-table td { padding: 12px 13px; border-bottom: 1px solid var(--pm-line); text-align: left; vertical-align: top; }
.pm-table th { background: #f4f7f8; color: #48606e; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.pm-table tbody tr:last-child td { border-bottom: 0; }
.pm-table small { display: block; color: var(--pm-muted); margin-top: 3px; }
.pm-delta { margin-left: 5px; font-weight: 800; font-size: 12px; white-space: nowrap; }

.pm-chart-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; }
.pm-chart { min-height: 330px; }
.pm-chart-small { min-height: 280px; }

.pm-place-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.pm-place-list a { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 1px solid var(--pm-line); border-radius: 11px; color: var(--pm-text); text-decoration: none; background: #fff; }
.pm-place-list a:hover, .pm-place-list a:focus { border-color: #e3aa58; background: var(--pm-brand-soft); color: var(--pm-brand-dark); }
.pm-place-list small { color: var(--pm-muted); }
.pm-place-list a::after { content: "→"; color: var(--pm-brand-dark); font-weight: 800; }
.pm-alert { border-left: 4px solid var(--pm-brand); }

.pm-method { line-height: 1.7; color: #445b68; }
.pm-method strong { color: var(--pm-text); }
.pm-faq { display: grid; gap: 9px; margin-top: 16px; }
.pm-faq details { border: 1px solid var(--pm-line); border-radius: 11px; background: #fff; }
.pm-faq summary { cursor: pointer; padding: 14px 44px 14px 15px; color: var(--pm-text); font-weight: 750; position: relative; list-style: none; }
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after { content: "+"; position: absolute; right: 16px; top: 11px; font-size: 22px; color: var(--pm-brand-dark); }
.pm-faq details[open] summary::after { content: "−"; }
.pm-faq p { margin: 0; padding: 0 15px 15px; color: var(--pm-muted); line-height: 1.6; }
.pm-cta { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.pm-cta p { margin: 5px 0 0; color: var(--pm-muted); }

@media (max-width: 991px) {
    .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm-chart-grid { grid-template-columns: 1fr; }
    .pm-place-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pm-main { padding-top: 16px; }
    .pm-hero, .pm-card { border-radius: 14px; }
    .pm-search { grid-template-columns: 1fr; }
    .pm-search-field { width: 100%; }
    .pm-suggestions { max-height: min(44vh, 312px); }
    .pm-suggestion { min-height: 48px; padding: 12px 13px; }
    .pm-button { width: 100%; }
    .pm-grid, .pm-place-list { grid-template-columns: 1fr; }
    .pm-cta { align-items: stretch; flex-direction: column; }
    .pm-stat-label { min-height: 0; }
}
