.pmprint-report,
.pmprint-pharmacy {
  --print-ink: var(--ink, #101528);
  --print-muted: var(--muted, #585c65);
  --print-accent: var(--accent, #5e40c7);
  --print-line: var(--line, #dedfdc);
  --print-paper: #ede9de;
  --print-green: #24564a;
  --print-green-text: #24564a;
  --print-forest: #172f2a;
  --print-chalk: #f6f5ed;
  max-width: 1240px;
  margin-inline: auto;
  min-width: 0;
  color: var(--print-ink);
  font-family: var(--font, Manrope, Arial, sans-serif);
}

[data-theme="dark"] :is(.pmprint-report, .pmprint-pharmacy) {
  --print-green-text: #a6cfb8;
}

.pmprint-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:is(.pmprint-report, .pmprint-pharmacy) :is(a, button):focus-visible {
  outline: 2px solid var(--print-accent);
  outline-offset: 4px;
}

.pmprint-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(26px, 5vw, 80px);
  margin: clamp(22px, 4vw, 58px) 0 clamp(22px, 4vw, 48px);
}

.pmprint-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--print-green-text);
  font-size: .73rem;
  line-height: 1.5;
  font-weight: 790;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pmprint-eyebrow > span {
  flex: 0 0 22px;
  height: 1px;
  background: currentColor;
}

.pmprint-hero h1 {
  margin: 0;
  max-width: 16ch;
  color: var(--print-ink);
  font-size: clamp(2.4rem, 4.35vw, 4.6rem);
  line-height: 1.03;
  font-weight: 720;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.pmprint-hero h1 em {
  display: block;
  color: var(--print-green-text);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.07em;
}

.pmprint-hero-lead {
  margin: 19px 0 0;
  max-width: 42ch;
  color: var(--print-muted);
  font-size: clamp(.96rem, 1.3vw, 1.13rem);
  line-height: 1.63;
}

.pmprint-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pmprint-button {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--print-ink);
  font: inherit;
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 750;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.pmprint-button--primary { background: var(--print-green); color: #fff; }
.pmprint-button--primary:hover { background: #174438; color: #fff; }
.pmprint-button--secondary { background: transparent; border-color: var(--print-line); color: var(--print-ink); }
.pmprint-button--secondary:hover,
.pmprint-button--secondary[aria-pressed="true"] { border-color: var(--print-green-text); color: var(--print-green-text); }

.pmprint-hero-figure { min-width: 0; margin: 0; }
.pmprint-hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2px 14px;
  margin-top: 9px;
  color: var(--print-muted);
  font-size: .75rem;
  line-height: 1.5;
}
.pmprint-hero-figure figcaption > span:first-child { color: var(--print-ink); font-weight: 730; }
.pmprint-hero-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
  gap: 10%;
  align-items: center;
  container-type: inline-size;
  aspect-ratio: 1.28;
  padding: 13% 13% 12%;
  overflow: hidden;
  border-radius: 17px;
  background: #284d42;
  isolation: isolate;
}

.pmprint-hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, #dfeddf17 0 1px, transparent 1px 36px),
    repeating-linear-gradient(90deg, #dfeddf17 0 1px, transparent 1px 36px);
  mask-image: radial-gradient(ellipse at center, #000, transparent 82%);
}

.pmprint-stage-sticker,
.pmprint-stage-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: fit-content;
  color: #193c33;
  background: #f0ecde;
  box-shadow: 0 22px 40px -16px #0c221de0, 0 5px 8px #0920192e;
}

.pmprint-stage-sticker { padding: 11% 10% 10%; transform: rotate(-8deg); }
.pmprint-stage-phone { position: relative; padding: 18% 9% 10%; border: clamp(3px, 1cqw, 7px) solid #0d2721; border-radius: clamp(12px, 5cqw, 25px); transform: rotate(8deg); background: #edf2e9; }
.pmprint-stage-sticker > strong,
.pmprint-stage-phone > strong {
  margin: .47em 0 .48em;
  font-family: Georgia, serif;
  font-size: clamp(17px, 8.4cqw, 41px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.065em;
}
.pmprint-stage-phone > strong { font-size: clamp(12px, 5.3cqw, 26px); }
.pmprint-stage-brand {
  display: flex;
  align-items: center;
  gap: .35em;
  color: #214a3c;
  font-size: clamp(6px, 2.25cqw, 12px);
  font-weight: 800;
  line-height: 1.15;
}
.pmprint-stage-phone .pmprint-stage-brand { font-size: clamp(5px, 1.7cqw, 10px); }
.pmprint-stage-brand .pmprint-cross { flex: 0 0 auto; width: 1em; height: 1em; }
.pmprint-stage-time { display: block; padding: .6em 0; border-top: 1px solid #24564a3d; font-size: clamp(6px, 2.1cqw, 11px); font-weight: 730; }
.pmprint-stage-scan {
  display: flex;
  align-items: center;
  gap: .5em;
  color: #28574b;
  font-size: clamp(5px, 1.7cqw, 10px);
  font-weight: 730;
  line-height: 1.2;
}
.pmprint-stage-scan svg { width: 1.65em; flex: none; }
.pmprint-stage-phone-bar { position: absolute; inset: .6em auto auto 50%; width: 30%; height: 3px; border-radius: 5px; transform: translateX(-50%); background: #183d33; }
.pmprint-stage-hours { display: grid; grid-template-columns: 1fr auto; gap: .5em .25em; padding: .6em 0; border-block: 1px solid #24564a3d; font-size: clamp(5px, 1.65cqw, 9px); line-height: 1.15; font-variant-numeric: tabular-nums; }
.pmprint-stage-directions {
  display: flex;
  justify-content: space-between;
  gap: .35em;
  margin-top: .7em;
  padding: .55em .62em;
  border-radius: 3px;
  background: #244d40;
  color: #fff;
  font-size: clamp(5px, 1.55cqw, 8px);
  line-height: 1.25;
  font-weight: 730;
}

.pmprint-report .pmprint-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(16px, 2.5vw, 35px);
  list-style: none;
  margin: 0 0 clamp(46px, 7vw, 94px);
  padding: 0;
  border-block: 1px solid var(--print-line);
}
.pmprint-report .pmprint-flow > li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 13px 0;
  margin: 0;
  color: var(--print-ink);
  font-size: clamp(.75rem, 1.15vw, .93rem);
  font-weight: 680;
  line-height: 1.45;
}
.pmprint-flow > li > span,
.pmprint-card-index { color: var(--print-green-text); font-family: ui-monospace, Consolas, monospace; font-size: .75rem; font-weight: 750; }

.pmprint-materials { scroll-margin-top: 32px; margin-bottom: clamp(46px, 6vw, 80px); }
.pmprint-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .52fr);
  align-items: end;
  gap: 12px 26px;
  margin-bottom: 21px;
}

:is(.pmprint-section-heading, .pmprint-dashboard-heading) h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  letter-spacing: -.055em;
  font-weight: 720;
  line-height: 1.06;
}

.pmprint-section-heading > p,
.pmprint-dashboard-heading > div > p:not(.pmprint-eyebrow) {
  color: var(--print-muted);
  font-size: .91rem;
  line-height: 1.55;
  max-width: 42ch;
  margin: 0;
}

.pmprint-mockups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(12px, 2.3vw, 28px); }
.pmprint-card { min-width: 0; border-bottom: 1px solid var(--print-line); }
.pmprint-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding-top: 13px;
}
.pmprint-card-heading > div { display: flex; align-items: baseline; gap: 9px; }
.pmprint-card-heading h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.2; font-weight: 750; margin: 0; }
.pmprint-card-heading > span { font-size: .78rem; color: var(--print-muted); }
.pmprint-mockup {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  aspect-ratio: 1448 / 1086;
  border-radius: 10px;
  background: #d3cec1;
}

.pmprint-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.pmprint-mockup--poster { --sheet-x: 35.25%; --sheet-y: 17.05%; --sheet-w: 30.2%; --sheet-h: 58.35%; }
.pmprint-mockup--flyer { --sheet-x: 30.18%; --sheet-y: 11.72%; --sheet-w: 39.43%; --sheet-h: 72.72%; }
.pmprint-creative {
  position: absolute;
  left: var(--sheet-x);
  top: var(--sheet-y);
  width: var(--sheet-w);
  height: var(--sheet-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(3px, 1.35cqw, 9px);
  padding: 1.3%;
  background: #f4f4e8;
  color: #173c34;
  text-align: center;
  font-family: Arial, sans-serif;
}

.pmprint-mockup--flyer .pmprint-creative { background: #e4eedf; }
.pmprint-cross { position: relative; display: inline-block; color: #2f6b56; }
.pmprint-cross::before,
.pmprint-cross::after {
  content: "";
  position: absolute;
  inset: 39% 0;
  background: currentColor;
  border-radius: 20%;
}

.pmprint-cross::after { transform: rotate(90deg); }
.pmprint-creative-brand {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  font-size: clamp(6px, 2cqw, 14px);
  font-weight: 800;
  line-height: 1;
}

.pmprint-creative-brand .pmprint-cross { width: 1em; height: 1em; flex: none; }
.pmprint-creative strong {
  display: block;
  font-size: clamp(7px, 2.55cqw, 17px);
  line-height: 1.13;
  letter-spacing: -.025em;
  max-width: 19ch;
}

.pmprint-qr {
  display: block;
  flex: 0 0 auto;
  width: min(86%, 141px);
  aspect-ratio: 1;
  background: #fff;
  color: #122d26;
  overflow: hidden;
}

.pmprint-qr:empty { background: none; border: 1px solid #3a675742; }
.pmprint-qr :is(svg, canvas, img) { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.pmprint-card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--print-green-text);
  text-decoration: none !important;
  font-size: .87rem;
  line-height: 1.4;
  font-weight: 750;
}
.pmprint-card-link:hover { color: var(--print-ink); }
.pmprint-card-link:hover > span { transform: translate(2px,-2px); }
.pmprint-card-link > span { transition: transform .18s ease; }

.pmprint-dashboard {
  --print-muted: #becdc4;
  --print-line: #ffffff2d;
  --print-green-text: #b8dcc5;
  --print-accent: #dcebd6;
  color: var(--print-chalk);
  background: var(--print-forest);
  padding: clamp(20px, 4vw, 52px);
  border-radius: 17px;
  margin-bottom: clamp(36px, 5vw, 68px);
}

.pmprint-dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 20px;
}
.pmprint-dashboard-heading > div > p:not(.pmprint-eyebrow) { margin-top: 8px; }
.pmprint-dashboard-controls { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.pmprint-dashboard-controls .pmprint-button { color: var(--print-chalk); }
.pmprint-dashboard-controls .pmprint-button:hover,
.pmprint-dashboard-controls .pmprint-button[aria-pressed="true"] { background: #ffffff0d; border-color: var(--print-green-text); }
.pmprint-report-state { padding-inline-start: 9px; border-inline-start: 2px solid #a0afa8; }
.pmprint-report-state:has(.pmprint-mode[data-state="live"]) { border-color: #a7e1b8; }
.pmprint-report-state:has(.pmprint-mode[data-state="sample"]) { border-color: #ecc894; }
.pmprint-report-state > span { display: block; color: var(--print-muted); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.pmprint-mode {
  margin: 0;
  color: var(--print-chalk);
  font-size: .82rem;
  font-weight: 740;
  line-height: 1.45;
}

.pmprint-mode[data-state="live"] { color: #a7e1b8; }
.pmprint-mode[data-state="sample"] { color: #ecc894; }
.pmprint-table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 0; table-layout: fixed; }

.pmprint-table :is(th, td) {
  border: 0;
  border-bottom: 1px solid var(--print-line);
  padding: clamp(9px, 1.7vw, 18px) clamp(5px, 1.55vw, 19px);
  overflow-wrap: anywhere;
}

.pmprint-table thead th { border-top: 1px solid var(--print-line); text-align: center; color: var(--print-muted); font-size: .78rem; line-height: 1.25; font-weight: 720; }
.pmprint-table :is(thead th:first-child, tbody th) { text-align: start; }
.pmprint-table tbody th { color: var(--print-chalk); font-size: .94rem; font-weight: 750; }
.pmprint-table th > .pmprint-card-index { margin-inline-end: .75em; }
.pmprint-table td {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2.55rem);
  line-height: 1.12;
  font-weight: 680;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

.pmprint-table tbody :is(th, td) { transition: background-color .25s ease; }
.pmprint-table .is-updated :is(th, td) { background: #416c56; }
.pmprint-dashboard-footnote { margin: 12px 0 0; color: var(--print-muted); font-size: .76rem; line-height: 1.5; }

.pmprint-pharmacy {
  max-width: 580px;
  margin: clamp(22px, 4vw, 50px) auto clamp(40px, 6vw, 75px);
}
.pmprint-pharmacy-top { margin-bottom: 22px; padding: clamp(20px, 5vw, 36px); border-radius: 14px; background: #e6eee3; color: #193c33; }
.pmprint-pharmacy-top h1 { margin: 0; color: inherit; font-family: Georgia, serif; font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.06; letter-spacing: -.06em; font-weight: 400; }
.pmprint-pharmacy-top .pmprint-eyebrow { color: #2b634e; }
.pmprint-pharmacy-top > p:not(.pmprint-eyebrow) { margin: 9px 0 0; color: #315348; font-size: .9rem; line-height: 1.55; }
.pmprint-pharmacy-icon { width: 27px; height: 27px; display: block; margin: 0 0 14px; }
.pmprint-pharmacy h2 { margin: 0 0 8px; font-size: 1.25rem; line-height: 1.23; font-weight: 750; letter-spacing: -.04em; }
.pmprint-hours dl { margin: 0; }
.pmprint-hours dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; padding-block: 8px; border-bottom: 1px solid var(--print-line); font-size: .9rem; }
.pmprint-hours dt { color: var(--print-muted); }
.pmprint-hours dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; }
.pmprint-location { margin: 24px 0 0; }
.pmprint-location > p { margin: 0 0 12px; color: var(--print-muted); font-size: .88rem; line-height: 1.55; }
.pmprint-pharmacy-status:empty { display: none; }
.pmprint-location .pmprint-pharmacy-status { margin: 8px 0 0; font-size: .78rem; }
.pmprint-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 13px; font-size: .83rem; font-weight: 720; color: var(--print-green-text); text-decoration: none !important; }
.pmprint-back:hover { color: var(--print-ink); }

@media (max-width: 800px) {
  .pmprint-hero { grid-template-columns: minmax(0, 1fr); }
  .pmprint-hero h1 { max-width: 18ch; }
  .pmprint-hero-figure { max-width: 560px; }
  .pmprint-section-heading { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .pmprint-mockups { grid-template-columns: minmax(0, 1fr); }
  .pmprint-hero h1 { font-size: clamp(2rem, 8.8vw, 3.5rem); }
  .pmprint-report .pmprint-flow { grid-template-columns: minmax(0, 1fr); }
  .pmprint-report .pmprint-flow > li + li { border-top: 1px solid var(--print-line); }
  .pmprint-table thead th { font-size: .7rem; }
  .pmprint-table tbody th { font-size: .79rem; }
  .pmprint-table th > .pmprint-card-index { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pmprint-button,
  .pmprint-card-link > span,
  .pmprint-table tbody :is(th, td) { transition: none; }
}
