:root {
  --pmt-bg: #111414;
  --pmt-panel: #1b201e;
  --pmt-text: #f0f3ef;
  --pmt-muted: #adb7b0;
  --pmt-line: #38433d;
  --pmt-signal: #dff760;
  --pmt-paper: #edf0ec;
  --pmt-paper-ink: #18221c;
  --pmt-paper-muted: #45534a;
  --pmt-paper-line: #b9c5ba;
  --pmt-link: #c7ee86;
  --pmt-accent: var(--pmt-signal);
  --pmt-ink: var(--pmt-text);
  --pmt-deep: #0b0d0c;
  --pmt-surface: #222925;
  --pmt-tint: var(--pmt-panel);
  --pmt-mist: #d7e0d8;
  --pmt-sans: "Inter", "Segoe UI", Arial, sans-serif;
  --pmt-display: "Bahnschrift", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --pmt-mono: "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --pmt-max: 1320px;
  --pmt-measure: 880px;
  --pmt-gutter: clamp(18px, 4.5vw, 70px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--pmt-bg); color: var(--pmt-text); font: 16px/1.6 var(--pmt-sans); }
img, svg, video { max-width: 100%; }
img { display: block; height: auto; }
figure, dl, dd { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.35em; }
a { color: inherit; text-underline-offset: .23em; text-decoration-thickness: .075em; }
a:hover { color: var(--pmt-link); }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .55em; font: 650 1rem/1.12 var(--pmt-display); overflow-wrap: anywhere; }
h1 { font-size: clamp(2.75rem, 7vw, 7rem); line-height: .98; letter-spacing: -.06em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3.4rem); letter-spacing: -.045em; }
h3 { font-size: 1.45rem; letter-spacing: -.028em; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.08rem; }
::selection { background: var(--pmt-signal); color: var(--pmt-bg); }
:where(a, button, summary, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid var(--pmt-accent); outline-offset: 4px; }
[hidden], .pmt-is-hidden { display: none !important; }

.pmt-skip, .pmt-home-skip { position: absolute; top: 12px; left: 12px; z-index: 200; transform: translateY(-180%); padding: .55rem .9rem; background: var(--pmt-signal); color: var(--pmt-bg); }
.pmt-skip:focus, .pmt-home-skip:focus { transform: none; color: var(--pmt-bg); }
.pmt-shell { width: min(var(--pmt-max), calc(100% - var(--pmt-gutter) * 2)); min-width: 0; margin-inline: auto; }
.pmt-section { padding-block: clamp(38px, 6vw, 88px); }
.pmt-section-soft, .pmt-section--soft { background: var(--pmt-panel); }
.pmt-kicker, .pmt-eyebrow, .pmt-field-label {
  display: block;
  margin-bottom: .65rem;
  color: var(--pmt-accent);
  font: 650 .72rem/1.45 var(--pmt-mono);
  letter-spacing: .085em;
  text-transform: uppercase;
}
.pmt-section-heading { display: flex; align-items: end; justify-content: space-between; gap: .7rem 2rem; margin-bottom: 1.8rem; }
.pmt-section-heading :is(h2, p) { margin: 0; }
.pmt-section-heading p { max-width: 46ch; }
.pmt-section-heading p, .pmt-section-note { color: var(--pmt-muted); }
.pmt-section-note { font-size: .925rem; }

.pmt-header { position: relative; z-index: 30; border-bottom: 1px solid var(--pmt-line); background: var(--pmt-deep); }
.pmt-header-row { position: relative; display: flex; align-items: center; gap: clamp(14px, 2.5vw, 40px); min-height: 76px; }
.pmt-brand { display: inline-flex; flex: none; align-items: center; gap: .62rem; width: fit-content; color: var(--pmt-text); text-decoration: none; }
.pmt-brand:hover { color: inherit; }
.pmt-brand-logo { flex: none; width: 41px; height: 41px; }
.pmt-brand strong { display: block; font: 740 .94rem/1.1 var(--pmt-display); letter-spacing: .09em; }
.pmt-brand small { display: block; margin-top: .16rem; color: var(--pmt-muted); font: 600 .66rem/1.1 var(--pmt-mono); letter-spacing: .16em; text-transform: uppercase; }
.pmt-nav { display: flex; flex: auto; justify-content: center; align-self: stretch; gap: clamp(13px, 2.4vw, 38px); }
.pmt-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  padding: 2px 0 0;
  color: var(--pmt-muted);
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.pmt-nav > a:hover, .pmt-nav > a[aria-current="page"] { border-bottom-color: var(--pmt-signal); color: var(--pmt-signal); }
.pmt-menu-toggle { display: none; }

.pmt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .64em;
  width: fit-content;
  max-width: 100%;
  min-height: 46px;
  padding: .65rem 1rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: .87rem;
  font-weight: 730;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
}
.pmt-button > span { flex: none; font-size: 1.12em; }
.pmt-button:hover, .pmt-button--primary { border-color: var(--pmt-signal); background: var(--pmt-signal); color: #161c13; }
.pmt-button--primary:hover { border-color: #eefaae; background: #eefaae; color: #151b12; }
.pmt-button--light { border-color: #dce6de; background: #dce6de; color: var(--pmt-paper-ink); }
.pmt-header-enquiry { flex: none; min-height: 40px; padding-inline: .85rem; white-space: nowrap; }

.pmt-cta, .pmt-enquiry-strip { padding-block: clamp(28px, 5vw, 66px); border-top: 1px solid var(--pmt-line); background: var(--pmt-panel); }
.pmt-cta-row, .pmt-enquiry-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.pmt-cta h2, .pmt-enquiry-strip h2 { max-width: 24ch; margin-bottom: .35em; }
.pmt-cta p, .pmt-enquiry-strip p { max-width: 58ch; margin-bottom: 0; color: var(--pmt-muted); }
.pmt-cta .pmt-button, .pmt-enquiry-strip .pmt-button { flex: none; border-color: var(--pmt-signal); background: var(--pmt-signal); color: #161c13; }
.pmt-cta .pmt-button:hover, .pmt-enquiry-strip .pmt-button:hover { border-color: #eefaae; background: #eefaae; }

.pmt-footer { position: relative; padding-top: clamp(35px, 5vw, 65px); border-top: 1px solid var(--pmt-line); background: var(--pmt-deep); color: var(--pmt-text); }
.pmt-footer-grid { display: grid; grid-template-columns: 1.18fr 1.14fr .78fr 1fr; gap: clamp(1.35rem, 3.15vw, 3.45rem); }
.pmt-footer-grid > div { min-width: 0; }
.pmt-footer h3 { margin: 0 0 .75rem; padding-bottom: .55rem; border-bottom: 1px solid var(--pmt-line); color: var(--pmt-signal); font: 680 .74rem/1.45 var(--pmt-mono); letter-spacing: .04em; text-transform: uppercase; }
.pmt-footer p { max-width: 34ch; color: var(--pmt-muted); font-size: .9rem; line-height: 1.55; }
.pmt-footer .pmt-brand { margin-bottom: .95rem; }
.pmt-footer nav > a, .pmt-topic-tree a { display: block; min-height: 32px; padding: .3rem 0; font-size: .85rem; line-height: 1.45; text-decoration: none; overflow-wrap: anywhere; }
.pmt-footer a:hover { color: var(--pmt-signal); text-decoration: underline; }
.pmt-footer-enquiry { display: inline-block; color: var(--pmt-signal); font-size: .87rem; font-weight: 700; }
.pmt-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .7rem 1.3rem; margin-top: clamp(24px, 4vw, 52px); padding-block: 17px; border-top: 1px solid var(--pmt-line); color: var(--pmt-muted); font: .75rem/1.45 var(--pmt-mono); }
.pmt-topic-tree, .pmt-topic-children { margin: 0; padding: 0; list-style: none; }
.pmt-topic-tree > li { position: relative; min-width: 0; }
.pmt-topic-tree > .pmt-submenu-enhanced { display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; }
.pmt-topic-toggle { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--pmt-line); background: transparent; color: var(--pmt-signal); font: 1rem/1 var(--pmt-mono); }
.pmt-topic-toggle:hover, .pmt-submenu-open > .pmt-topic-toggle { border-color: var(--pmt-signal); background: var(--pmt-signal); color: var(--pmt-bg); }
.pmt-submenu-open > .pmt-topic-toggle span { transform: rotate(45deg); }
.pmt-topic-children { padding-inline-start: .75rem; }
.pmt-submenu-enhanced > .pmt-topic-children { position: absolute; z-index: 3; left: 0; bottom: 100%; visibility: hidden; width: max(100%, 215px); max-height: 350px; overflow: auto; padding: .6rem .85rem; border: 1px solid var(--pmt-line); background: var(--pmt-panel); box-shadow: 0 8px 25px #0007; pointer-events: none; }
.pmt-submenu-open > .pmt-topic-children { visibility: visible; pointer-events: auto; }
.pmt-opens-down > .pmt-topic-children { top: 100%; bottom: auto; }

.pmt-resource-heading, .pmt-results, .pmt-ui-news-grid { width: 100%; max-width: var(--pmt-measure); min-width: 0; margin-inline: auto; }
.pmt-resource-hero { padding-block: clamp(35px, 6vw, 84px); border-bottom: 1px solid var(--pmt-line); background: var(--pmt-panel); }
.pmt-resource-heading h1 { max-width: 23ch; margin: 0; font-size: clamp(2.45rem, 6vw, 5.5rem); }
.pmt-resource-heading p { max-width: 68ch; margin: .9rem 0 0; color: var(--pmt-muted); overflow-wrap: anywhere; }
.pmt-breadcrumb, .pmt-library-link { display: block; margin-bottom: .9rem; color: var(--pmt-muted); font-size: .84rem; overflow-wrap: anywhere; }
.pmt-tag-row { display: flex; flex-wrap: wrap; gap: .43rem .5rem; margin: 0; padding: 0; list-style: none; }
.pmt-tag { padding: .18rem .55rem; border: 1px solid var(--pmt-line); color: inherit; font-size: .8rem; overflow-wrap: anywhere; }
.pmt-topic-tags { padding-block: .7rem; border-bottom: 1px solid var(--pmt-line); }
.pmt-result-list { margin: 0; padding: 0; border-top: 1px solid var(--pmt-line); list-style: none; }
.pmt-result, .pmt-record { display: grid; grid-template-columns: minmax(0, 1fr) minmax(86px, 18%); gap: .65rem 1.5rem; align-items: start; padding: 1.15rem 0; border-bottom: 1px solid var(--pmt-line); }
.pmt-result > a:first-child, .pmt-record > img { grid-column: 2; grid-row: 1; }
.pmt-result-copy, .pmt-record-body { grid-column: 1; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
.pmt-result img, .pmt-record > img { width: 100%; max-height: 185px; object-fit: cover; }
.pmt-result-title { margin: 0 0 .38em; font-size: clamp(1.35rem, 3vw, 2.25rem); }
.pmt-result-title a { text-decoration: none; }
.pmt-result-title a:hover { text-decoration: underline; }
.pmt-result-copy p { margin-block: 0 .35rem; color: var(--pmt-muted); }
.pmt-result-copy br { display: none; }
.pmt-result-date, .pmt-ui-news__date { display: block; margin-bottom: .38rem; color: var(--pmt-muted); font: .77rem/1.4 var(--pmt-mono); }
.pmt-result-faq { grid-column: 1 / -1; border-top: 1px solid var(--pmt-line); }
.pmt-result-faq summary { width: fit-content; padding: .6rem .15rem; color: var(--pmt-link); font-size: .88rem; font-weight: 650; }
.pmt-result-answers { padding: 0 .75rem .55rem; }
.pmt-result-question { padding-top: .55rem; border-top: 1px solid var(--pmt-line); }
.pmt-result-question h3 { margin: 0 0 .35rem; font-size: 1.15rem; }
.pmt-result-faq-link { font-size: .87rem; font-weight: 680; }
.pmt-result-empty { padding: 1.2rem 0; color: var(--pmt-muted); }

.pmt-reference-links { border-top: 1px solid var(--pmt-line); background: var(--pmt-bg); }
.pmt-reference-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; margin-bottom: 1.15rem; }
.pmt-reference-heading :is(h2, p) { margin: 0; }
.pmt-reference-heading p { max-width: 46ch; color: var(--pmt-muted); }
.pmt-reference-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--pmt-line); list-style: none; }
.pmt-reference-list > li { min-width: 0; padding: .65rem .7rem .65rem 0; border-bottom: 1px solid var(--pmt-line); overflow-wrap: anywhere; }
.pmt-reference-button { display: inline-block; font-size: .9rem; }
.pmt-faq-list > details { border-top: 1px solid var(--pmt-line); }
.pmt-faq-list > details:last-child { border-bottom: 1px solid var(--pmt-line); }
.pmt-faq-list summary { position: relative; display: flex; align-items: baseline; gap: .75rem; min-height: 46px; padding: .78rem 2.5rem .78rem 0; font-weight: 710; }
.pmt-faq-list summary::-webkit-details-marker { display: none; }
.pmt-faq-list summary::after { position: absolute; right: .65rem; color: var(--pmt-accent); content: '+'; }
.pmt-faq-list details[open] > summary::after { content: '−'; }
.pmt-faq-list summary h3 { margin: 0; font: inherit; }
.pmt-faq-number { color: var(--pmt-accent); font: .77rem/1 var(--pmt-mono); }
.pmt-faq-list details > p, .pmt-answer-text { padding: 0 1.4rem .7rem 0; }
.pmt-answer-text p:last-child, .pmt-faq-list details > p:last-child { margin-bottom: 0; }
.pmt-enquiry-box { max-width: calc(100vw - 28px); color-scheme: light; }

@media (max-width: 1060px) {
  .pmt-header-row { gap: 12px; }
  .pmt-nav { gap: clamp(10px, 1.65vw, 16px); }
  .pmt-nav > a, .pmt-header-enquiry { font-size: .76rem; }
  .pmt-header-enquiry { padding-inline: .65rem; }
}
@media (max-width: 860px) {
  .pmt-header-row { justify-content: space-between; min-height: 62px; }
  .pmt-header-enquiry { display: none; }
  .pmt-menu-toggle { display: inline-block; min-width: 70px; min-height: 42px; padding: .4rem .75rem; border: 1px solid var(--pmt-line); background: var(--pmt-panel); color: var(--pmt-text); font: 640 .84rem/1.1 var(--pmt-mono); }
  .pmt-nav { position: absolute; inset: 100% 0 auto; display: none; border: 1px solid var(--pmt-line); background: var(--pmt-panel); box-shadow: 0 12px 24px #0007; }
  .pmt-nav.pmt-is-open { display: grid; gap: 0; }
  .pmt-nav > a { min-height: 46px; padding: .65rem .85rem; border-bottom: 1px solid var(--pmt-line); font-size: .9rem; white-space: normal; }
  .pmt-nav > a:last-child { border-bottom: 0; }
  .pmt-nav > a[aria-current="page"], .pmt-nav > a:hover { background: var(--pmt-surface); }
  .pmt-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pmt-video-focus :is(.pmt-enquiry-box, #tawk-bubble-container, iframe[title="chat widget"]) { visibility: hidden !important; pointer-events: none !important; }
}
@media (max-width: 640px) {
  .pmt-section-heading, .pmt-cta-row, .pmt-enquiry-strip-inner { flex-direction: column; align-items: flex-start; }
  .pmt-footer-grid { gap: 1.45rem 1.1rem; }
  .pmt-footer-grid > div:first-child, .pmt-footer-grid > div:last-child { grid-column: 1 / -1; }
  .pmt-submenu-enhanced > .pmt-topic-children { position: static; display: none; grid-column: 1 / -1; width: 100%; margin-block: .35rem; box-shadow: none; }
  .pmt-submenu-open > .pmt-topic-children { display: block; max-height: none !important; }
  .pmt-reference-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 365px) {
  .pmt-brand-logo { width: 36px; height: 36px; }
  .pmt-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .pmt-header, .pmt-footer, .pmt-enquiry-box, .pmt-reader-toolbar, .pmt-contents, .pmt-enquiry-strip { display: none !important; }
  body, .pmt-resource-hero { background: white; color: black; }
  .pmt-shell { width: 100%; }
  .pmt-section, .pmt-resource-hero { padding-block: 12px; }
}
