/* Planet Zoo 2 companion. Shared page behavior is retained; every rule is scoped. */
body.pz2-page {
  --pz2-paper: #f5f7f8;
  --pz2-surface: #fff;
  --pz2-surface-soft: #f0f4f2;
  --pz2-pine: #184d38;
  --pz2-pine-deep: #123b2c;
  --pz2-teal: #276b50;
  --pz2-teal-soft: #e7f1eb;
  --pz2-amber: #98691d;
  --pz2-amber-soft: #fff6e5;
  --pz2-ink: #263c32;
  --pz2-muted: #65766e;
  --pz2-line: #dfe7e2;
  --pz2-shadow: 0 4px 16px rgb(26 54 39 / 5%);
  --pz2-font: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  min-width: 0;
  background: var(--pz2-paper);
  color: var(--pz2-ink);
  font: 400 15px/1.65 var(--pz2-font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
body.pz2-page:lang(zh) { --pz2-font: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", system-ui, sans-serif; }
body.pz2-page *, body.pz2-page *::before, body.pz2-page *::after { box-sizing: border-box; }
body.pz2-page [hidden] { display: none !important; }
body.pz2-page img { display: block; max-width: 100%; }
body.pz2-page a { color: var(--pz2-teal); text-underline-offset: .2em; }
body.pz2-page a:hover { color: var(--pz2-pine-deep); }
body.pz2-page :is(button, input, select, textarea) { font: inherit; }
body.pz2-page :is(button, input, select):disabled { cursor: not-allowed; opacity: .55; }
body.pz2-page :is(a, button, input, select, summary, [tabindex]):focus-visible { outline: 3px solid #5c9f79; outline-offset: 3px; }
body.pz2-page :is(h1, h2, h3, h4) { color: var(--pz2-pine-deep); font-family: var(--pz2-font); }
body.pz2-page p { margin: 0 0 14px; }
body.pz2-page .pz2-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
body.pz2-page .pz2-ui-icon { display: block; flex: 0 0 auto; width: 22px; height: 22px; }

/* Frame and independent section navigation. */
body.pz2-page .pz2-shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); gap: 30px; max-width: 1480px; margin: 0 auto; padding: 24px 32px 64px; }
body.pz2-page .pz2-main { min-width: 0; }
body.pz2-page .pz2-main > :first-child { margin-top: 0; }
body.pz2-page .pz2-sidebar { position: sticky; top: 82px; align-self: start; min-width: 0; max-height: calc(100vh - 106px); overflow: auto; overscroll-behavior: contain; padding: 0 14px 12px 0; border-right: 1px solid var(--pz2-line); scrollbar-width: thin; scrollbar-color: #c3d1c8 transparent; }
body.pz2-page .pz2-sidebar :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
body.pz2-page .pz2-sidebar a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; padding: 6px 10px; border-radius: 6px; color: #52665a; font-size: 13px; line-height: 1.5; text-decoration: none; }
body.pz2-page .pz2-sidebar a > span { min-width: 0; }
body.pz2-page .pz2-sidebar a:hover { background: #eaf0ec; color: var(--pz2-pine); }
body.pz2-page .pz2-sidebar a[aria-current="page"] { background: #dfede4; color: var(--pz2-pine); font-weight: 700; }
body.pz2-page .pz2-sidebar-nav > a { min-height: 38px; margin-bottom: 18px; color: var(--pz2-pine); font-weight: 650; }
body.pz2-page .pz2-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 21px 10px 8px; color: #687970; font-size: 12px; font-weight: 750; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
body.pz2-page:lang(zh) .pz2-sidebar-heading { font-size: 12px; letter-spacing: .025em; }
body.pz2-page .pz2-sidebar-heading small { font-size: 12px; font-weight: 500; letter-spacing: 0; }
body.pz2-page .pz2-sidebar-group:first-of-type .pz2-sidebar-heading { margin-top: 0; }
body.pz2-page .pz2-nav-count { flex: 0 0 auto; min-width: 23px; padding: 1px 5px; border-radius: 4px; background: #eaf0ed; color: #74867a; font-size: 12px; font-weight: 600; line-height: 1.65; text-align: center; font-variant-numeric: tabular-nums; }
body.pz2-page .pz2-sidebar [aria-current="page"] .pz2-nav-count { background: #c9e1d2; color: var(--pz2-pine); }
body.pz2-page .pz2-sidebar-toggle { display: none; }

/* A panoramic image stays a panorama; regular page headings are compact. */
body.pz2-page .pz2-hero { position: relative; min-width: 0;  width: 100%; }
body.pz2-page .pz2-hero-home { display: flex; align-items: center; aspect-ratio: 1440 / 465; min-height: 280px; max-height: 340px; isolation: isolate; overflow: hidden; border-radius: 12px; background: #163c2e; }
body.pz2-page .pz2-hero-home::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(10 35 25 / 92%), rgb(10 35 25 / 69%) 34%, rgb(10 35 25 / 12%) 66%, transparent); content: ""; }
body.pz2-page .pz2-hero-content { min-width: 0; }
body.pz2-page .pz2-hero-home .pz2-hero-content { width: 53%; max-width: 570px; padding: 30px 34px; }
body.pz2-page .pz2-hero-media { position: absolute; z-index: -2; inset: 0; }
body.pz2-page .pz2-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
body.pz2-page .pz2-kicker { display: block; margin-bottom: 9px; color: var(--pz2-teal); font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
body.pz2-page .pz2-title { margin: 0 0 12px; font-size: clamp(27px, 2.5vw, 34px); font-weight: 750; line-height: 1.24; letter-spacing: -.025em; }
body.pz2-page:lang(zh) .pz2-title { letter-spacing: -.01em; }
body.pz2-page .pz2-intro { max-width: 86ch; margin: 0; color: var(--pz2-muted); font-size: 14px; line-height: 1.85; }
body.pz2-page .pz2-hero-home .pz2-title { margin-bottom: 16px; color: #fff; font-size: clamp(31px, 3vw, 42px); }
body.pz2-page .pz2-hero-home .pz2-kicker { color: #b1dac0; font-size: 12px; letter-spacing: .12em; }
body.pz2-page .pz2-hero-home .pz2-intro { max-width: 43ch; color: #dce8df; font-size: 14px; line-height: 1.9; }
body.pz2-page .pz2-hero-compact { margin: 0 0 22px; padding: 3px 0 21px; border-bottom: 1px solid var(--pz2-line); }
body.pz2-page .pz2-hero-compact .pz2-kicker { margin-bottom: 7px; }
body.pz2-page .pz2-hero-compact .pz2-title { margin-bottom: 9px; }

/* Buttons, small labels and metrics. */
body.pz2-page .pz2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.pz2-page .pz2-button, body.pz2-page .pz2-pagination :is(a, button) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid #d0ddd4; border-radius: 6px; background: var(--pz2-surface); color: var(--pz2-pine); font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
body.pz2-page .pz2-button:hover, body.pz2-page .pz2-pagination :is(a, button):hover { border-color: #a7bfaf; background: var(--pz2-teal-soft); }
body.pz2-page .pz2-button-primary, body.pz2-page .pz2-button.pz2-button-primary { border-color: var(--pz2-pine); background: var(--pz2-pine); color: white; }
body.pz2-page .pz2-button-primary:hover { background: var(--pz2-pine-deep); color: white; }
body.pz2-page .pz2-button-quiet { border-color: transparent; background: transparent; color: var(--pz2-muted); }
body.pz2-page .pz2-chip { display: inline-flex; align-items: center; gap: 4px; min-height: 23px; padding: 2px 8px; border: 1px solid #d3e4d9; border-radius: 5px; background: var(--pz2-teal-soft); color: var(--pz2-pine); font-size: 12px; font-weight: 600; line-height: 1.5; }
body.pz2-page .pz2-chip a { text-decoration: none; }
body.pz2-page .pz2-overview-stats { display: grid; grid-template-columns: 1fr 1fr .8fr 1.3fr; margin: 12px 0 26px; padding: 16px 8px; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; }
body.pz2-page .pz2-overview-stats .pz2-stat { min-width: 0; padding: 0 22px; color: var(--pz2-muted); font-size: 12px; }
body.pz2-page .pz2-overview-stats .pz2-stat + .pz2-stat { border-left: 1px solid var(--pz2-line); }
body.pz2-page .pz2-overview-stats strong { display: block; margin-bottom: 1px; color: var(--pz2-pine-deep); font-size: 25px; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
body.pz2-page .pz2-overview-stats .pz2-stat-date strong { margin: 4px 0 4px; font-size: 17px; letter-spacing: -.01em; }

/* Home tasks and a grouped, complete directory. */
body.pz2-page .pz2-section { min-width: 0; margin: 28px 0; }
body.pz2-page .pz2-section-title { margin: 0 0 13px; font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: -.015em; }
body.pz2-page .pz2-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
body.pz2-page .pz2-section-heading .pz2-section-title { margin: 0; }
body.pz2-page .pz2-section-heading > span { color: #7b8a82; font-size: 12px; }
body.pz2-page .pz2-start-section { margin-top: 0; }
body.pz2-page .pz2-quick-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
body.pz2-page .pz2-quick-task { display: grid; grid-template-columns: 30px minmax(0, 1fr) 15px; align-items: start; gap: 11px; min-width: 0; padding: 18px 16px; border: 1px solid var(--pz2-line); border-radius: 8px; background: #fff; color: var(--pz2-pine); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
body.pz2-page .pz2-quick-task:hover { border-color: #a8c3b1; box-shadow: var(--pz2-shadow); }
body.pz2-page .pz2-task-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 32px; color: #528564; }
body.pz2-page .pz2-task-copy { display: grid; gap: 6px; min-width: 0; }
body.pz2-page .pz2-task-copy strong { font-size: 15px; font-weight: 700; line-height: 1.4; }
body.pz2-page .pz2-task-copy > span { color: #728177; font-size: 13px; line-height: 1.7; }
body.pz2-page .pz2-quick-task > .pz2-ui-icon { width: 15px; height: 15px; margin-top: 2px; color: #799583; }
body.pz2-page .pz2-quick-task-primary { border-color: var(--pz2-pine); background: var(--pz2-pine); color: #fff; }
body.pz2-page .pz2-quick-task-primary:hover { border-color: #326e50; background: #205d43; color: #fff; }
body.pz2-page .pz2-quick-task-primary :is(.pz2-task-icon, .pz2-task-copy > span, .pz2-ui-icon) { color: #c7dfce; }
body.pz2-page .pz2-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
body.pz2-page .pz2-directory-group { min-width: 0; padding: 18px 20px 4px; border: 1px solid var(--pz2-line); border-radius: 9px; background: white; }
body.pz2-page .pz2-directory-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--pz2-line); }
body.pz2-page .pz2-directory-heading h3 { flex: 1; min-width: 0; margin: 0; font-size: 14px; font-weight: 700; }
body.pz2-page .pz2-directory-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 6px; background: var(--pz2-teal-soft); color: #548164; }
body.pz2-page .pz2-directory-icon .pz2-ui-icon { width: 18px; height: 18px; }
body.pz2-page .pz2-directory-group ul { margin: 0; padding: 0; list-style: none; }
body.pz2-page .pz2-directory-group li + li { border-top: 1px solid #edf1ee; }
body.pz2-page .pz2-directory-group li a { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; text-decoration: none; }
body.pz2-page .pz2-directory-copy { display: grid; gap: 3px; min-width: 0; }
body.pz2-page .pz2-directory-name { color: #345741; font-size: 14px; font-weight: 600; }
body.pz2-page .pz2-directory-summary { color: #687970; font-size: 13px; line-height: 1.7; }
body.pz2-page .pz2-directory-group li a:hover .pz2-directory-name { color: var(--pz2-teal); text-decoration: underline; }
body.pz2-page .pz2-directory-meta { display: flex; align-items: center; align-self: flex-start; gap: 10px; margin-top: 2px; color: #6c8173; font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.pz2-page .pz2-directory-meta .pz2-ui-icon { width: 14px; height: 14px; }

/* Forms and catalog controls. */
body.pz2-page .pz2-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin: 18px 0; padding: 14px; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; }
body.pz2-page .pz2-toolbar label { display: grid; gap: 5px; min-width: 0; color: #64776a; font-size: 12px; font-weight: 600; line-height: 1.5; }
body.pz2-page :is(.pz2-search, .pz2-select) { min-width: 0; min-height: 37px; padding: 8px 10px; border: 1px solid #cedbd2; border-radius: 5px; background: #fff; color: #385342; font-size: 13px; line-height: 1.4; }
body.pz2-page :is(.pz2-search, .pz2-select):hover { border-color: #adc2b3; }
body.pz2-page .pz2-search { width: min(100%, 320px); }
body.pz2-page .pz2-search::placeholder { color: #97a49b; font-size: 12px; }
body.pz2-page .pz2-input-with-icon { position: relative; display: block; min-width: 0; }
body.pz2-page .pz2-input-with-icon > .pz2-ui-icon { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; transform: translateY(-50%); color: #8ba191; pointer-events: none; }
body.pz2-page .pz2-input-with-icon > .pz2-search { width: 100%; padding-left: 36px; }
body.pz2-page .pz2-catalog-toolbar { display: block; margin: 0 0 14px; padding: 18px 20px 0; }
body.pz2-page .pz2-catalog-search-row { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
body.pz2-page .pz2-catalog-search { flex: 1 1 240px; max-width: 420px; }
body.pz2-page .pz2-view-switch { display: flex; flex: 0 0 auto; gap: 2px; padding: 3px; border: 1px solid #e0e8e3; border-radius: 6px; background: #f3f6f4; }
body.pz2-page .pz2-view-switch .pz2-button { min-height: 29px; padding: 4px 10px; border: 0; border-radius: 4px; background: transparent; color: #819087; font-size: 12px; }
body.pz2-page .pz2-view-switch .pz2-ui-icon { width: 15px; height: 15px; }
body.pz2-page .pz2-view-switch [aria-pressed="true"] { background: white; color: var(--pz2-pine); box-shadow: 0 1px 4px #163f2620; }
body.pz2-page .pz2-facet-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 17px 0; }
body.pz2-page .pz2-facet-grid .pz2-select { width: 100%; }
body.pz2-page .pz2-catalog-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 17px -20px 0; padding: 10px 20px; border-top: 1px solid #e8eeea; border-radius: 0; background: #fafcfb; }
body.pz2-page .pz2-catalog-sort label { display: flex; align-items: center; gap: 8px; }
body.pz2-page .pz2-catalog-sort .pz2-select { max-width: 180px; min-height: 30px; padding: 5px 8px; font-size: 12px; }
body.pz2-page .pz2-catalog-sort .pz2-button { min-height: 30px; margin-left: auto; padding: 5px 9px; font-size: 12px; }
body.pz2-page .pz2-catalog-status { margin: 0 0 10px; color: #7a8c7e; font-size: 12px; font-variant-numeric: tabular-nums; }
body.pz2-page [data-pz2-catalog] { scroll-margin-top: 75px; }

/* The same controls stay in the form; disclosure only changes their presentation. */
body.pz2-page .pz2-filter-disclosure > summary { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 12px 0; color: var(--pz2-pine); font-size: 13px; font-weight: 650; list-style: none; cursor: pointer; }
body.pz2-page .pz2-filter-disclosure > summary::-webkit-details-marker { display: none; }
body.pz2-page .pz2-filter-disclosure > summary::after { width: 7px; height: 7px; margin: -3px 3px 0 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); content: ""; }
body.pz2-page .pz2-filter-disclosure[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
body.pz2-page .pz2-catalog-filter-bar { display: flex; align-items: center; gap: 12px; margin: 0 -20px; padding: 9px 20px; border-top: 1px solid #e8eeea; }
body.pz2-page .pz2-active-filters { display: flex; flex: 1; flex-wrap: wrap; gap: 5px; min-width: 0; color: var(--pz2-muted); font-size: 12px; }
body.pz2-page .pz2-filter-chip { max-width: 100%; padding: 3px 8px; border-radius: 4px; background: #eaf2ed; color: #4f705a; overflow-wrap: anywhere; }
body.pz2-page .pz2-catalog-filter-bar > .pz2-button { flex: 0 0 auto; min-height: 30px; padding: 5px 8px; font-size: 12px; }
@media (min-width: 681px) {
  body.pz2-page .pz2-filter-disclosure[data-pz2-disclosure-ready] > summary { display: none; }
}

/* Dense, horizontally contained tables with a readable pinned identity column. */
body.pz2-page .pz2-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; scrollbar-width: thin; scrollbar-color: #bacdbf #f2f6f3; }
body.pz2-page .pz2-table { width: 100%; min-width: 650px; border-collapse: separate; border-spacing: 0; font-size: 13px; line-height: 1.7; font-variant-numeric: tabular-nums; text-align: left; }
body.pz2-page .pz2-table :is(th, td) { min-width: 115px; max-width: 260px; padding: 12px 14px; border-bottom: 1px solid #e9eeea; vertical-align: top; }
body.pz2-page .pz2-table thead th { background: #eef4f0; color: #69806e; font-size: 12px; font-weight: 650; line-height: 1.6; white-space: normal; }
body.pz2-page .pz2-table tbody th { font-weight: 600; }
body.pz2-page .pz2-table tbody a { font-weight: 600; text-decoration: none; }
body.pz2-page .pz2-table tbody a:hover { text-decoration: underline; }
body.pz2-page .pz2-table tbody tr:hover > :is(th, td) { background: #f8fbf9; }
body.pz2-page .pz2-table tr:last-child > :is(th, td) { border-bottom: 0; }
body.pz2-page .pz2-table :is(th, td):first-child { position: sticky; z-index: 1; left: 0; min-width: 190px; max-width: 240px; background: white; box-shadow: 1px 0 0 #e3ebe5; }
body.pz2-page .pz2-table thead th:first-child { z-index: 2; background: #eef4f0; }
body.pz2-page .pz2-table td ul { margin: 0; padding-left: 16px; }
body.pz2-page .pz2-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; margin: 20px 0; color: var(--pz2-muted); font-size: 12px; }
body.pz2-page .pz2-pagination [aria-current="page"] { border-color: var(--pz2-pine); background: var(--pz2-pine); color: #fff; }

/* Catalog cards and long-form facts. */
body.pz2-page .pz2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
body.pz2-page .pz2-card { min-width: 0; padding: 18px; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; }
body.pz2-page .pz2-card :is(h2, h3) { margin: 0 0 8px; font-size: 16px; font-weight: 650; line-height: 1.5; }
body.pz2-page .pz2-card h3 a { text-decoration: none; }
body.pz2-page .pz2-card h3 a:hover { text-decoration: underline; }
body.pz2-page .pz2-card p { margin: 8px 0; color: #728177; font-size: 13px; line-height: 1.75; }
body.pz2-page .pz2-card dl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6px 12px; margin: 14px 0; padding-top: 13px; border-top: 1px solid #e8efea; font-size: 13px; }
body.pz2-page .pz2-card dt { color: #6e8074; }
body.pz2-page .pz2-card dd { margin: 0; color: #4f6655; }
body.pz2-page .pz2-card dl:empty { display: none; }
body.pz2-page .pz2-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 8px; overflow: hidden; }
body.pz2-page .pz2-icon img { width: 100%; height: 100%; object-fit: contain; }
body.pz2-page .pz2-detail-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 24px; }
body.pz2-page .pz2-back-link { font-size: 12px; text-decoration: none; }
body.pz2-page .pz2-detail-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
body.pz2-page .pz2-detail-groups > .pz2-section { margin: 0; }
body.pz2-page .pz2-detail-groups .pz2-section-title { margin-bottom: 10px; font-size: 16px; }
body.pz2-page .pz2-facts { min-width: 0; padding: 4px 18px; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; }
body.pz2-page .pz2-facts dl { display: grid; grid-template-columns: minmax(110px, .8fr) minmax(0, 1.2fr); margin: 0; font-size: 13px; line-height: 1.7; }
body.pz2-page .pz2-facts :is(dt, dd) { margin: 0; padding: 11px 0; border-bottom: 1px solid #e9eeea; }
body.pz2-page .pz2-facts dt { padding-right: 15px; color: #667b6d; }
body.pz2-page .pz2-facts :is(dt:nth-last-child(2), dd:last-child) { border-bottom: 0; }
body.pz2-page .pz2-relations { min-width: 0; margin: 0; padding: 5px 18px; border: 1px solid var(--pz2-line); border-radius: 8px; background: white; }
body.pz2-page :is(ul.pz2-relations, .pz2-relations ul, .pz2-relations ol) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; list-style: none; }
body.pz2-page .pz2-relations :is(ul, ol) { margin: 0; padding: 0; }
body.pz2-page .pz2-relations li { min-width: 0; padding: 10px 0; border-bottom: 1px solid #edf1ee; color: #667d6d; font-size: 13px; line-height: 1.75; }
body.pz2-page .pz2-relations li strong { color: #405d49; font-weight: 600; }
body.pz2-page .pz2-relations li small { color: #6d8173; font-size: 12px; }
body.pz2-page .pz2-source-note { margin: 16px 0; padding: 10px 13px; border-left: 3px solid #a3c6af; border-radius: 0 5px 5px 0; background: #eaf2ed; color: #607767; font-size: 13px; line-height: 1.8; }
body.pz2-page .pz2-source-note ul { margin: 0; padding-left: 17px; }
body.pz2-page .pz2-source-note li + li { margin-top: 3px; }
body.pz2-page .pz2-main > .pz2-source-note { margin-top: 12px; }
body.pz2-page .pz2-conflict { margin: 12px 0; padding: 11px 14px; border-left: 3px solid #c6943e; border-radius: 0 5px 5px 0; background: var(--pz2-amber-soft); color: #916626; font-size: 13px; line-height: 1.8; }
body.pz2-page ul.pz2-conflict { padding-left: 30px; }
body.pz2-page .pz2-conflict a { color: #856022; }
body.pz2-page .pz2-empty { padding: 23px; border: 1px dashed #c5d4c9; border-radius: 8px; background: #fff; color: var(--pz2-muted); font-size: 13px; text-align: center; }

/* Main facts stay open; related references and sources retain their full HTML. */
body.pz2-page .pz2-content-status { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: -7px 0 15px; }
body.pz2-page .pz2-status-flag { padding: 3px 8px; border-radius: 4px; background: #eaf0ed; color: #697d70; font-size: 12px; }
body.pz2-page .pz2-status-review { background: #fbf2e2; color: #906722; }
body.pz2-page .pz2-detail-navigation { margin-bottom: 13px; }
body.pz2-page .pz2-fact-jumps, body.pz2-page .pz2-planner-jumps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 20px; }
body.pz2-page :is(.pz2-fact-jumps, .pz2-planner-jumps) a { padding: 4px 0; color: var(--pz2-teal); font-size: 13px; font-weight: 600; text-decoration: none; }
body.pz2-page :is(.pz2-fact-jumps, .pz2-planner-jumps) a:hover { text-decoration: underline; }
body.pz2-page :is([id^="fact-"], [id^="detail-section-"], [id^="tool-section-"], #pz2-plan-editor, #pz2-plan-materials) { scroll-margin-top: 86px; }
body.pz2-page .pz2-reference-section { min-width: 0; margin: 12px 0; border: 1px solid var(--pz2-line); border-radius: 7px; background: white; }
body.pz2-page .pz2-reference-section > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 17px; color: #4d6e57; font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; }
body.pz2-page .pz2-reference-section > summary::-webkit-details-marker { display: none; }
body.pz2-page .pz2-reference-section > summary::after { flex: 0 0 auto; width: 7px; height: 7px; margin: -3px 3px 0 auto; border-right: 1.5px solid #7a9483; border-bottom: 1.5px solid #7a9483; transform: rotate(45deg); content: ""; }
body.pz2-page .pz2-reference-section[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
body.pz2-page .pz2-reference-section[open] > summary { border-bottom: 1px solid #e7eee9; }
body.pz2-page .pz2-reference-count { color: #738a7b; font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
body.pz2-page .pz2-disclosure-content { min-width: 0; padding: 16px; }
body.pz2-page .pz2-disclosure-content > .pz2-relations { border: 0; padding: 0; }
body.pz2-page .pz2-disclosure-content > .pz2-source-note { margin: 0; }
body.pz2-page .pz2-source-disclosure .pz2-source-note { border: 0; padding: 0; background: transparent; }
body.pz2-page .pz2-source-disclosure ul { padding-left: 17px; }
body.pz2-page .pz2-source-disclosure li { padding: 5px 0; overflow-wrap: anywhere; }
body.pz2-page .pz2-source-type { margin-right: 5px; color: #75897b; font-size: 12px; }
body.pz2-page .pz2-tool-reference { margin-top: 24px; }

/* Planner: selection workspace, clear numeric requirements and material outcomes. */
body.pz2-page .pz2-planner { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.3fr); grid-template-areas: "picker summary" "picker materials"; grid-template-rows: auto 1fr; gap: 20px; align-items: start; margin: 22px 0; }
body.pz2-page :is(.pz2-planner-picker, .pz2-planner-overview, .pz2-planner-materials) { min-width: 0; padding: 20px; border: 1px solid var(--pz2-line); border-radius: 9px; background: white; }
body.pz2-page .pz2-planner :is(h2, h3) { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; }
body.pz2-page .pz2-planner h3 { margin-top: 24px; font-size: 16px; }
body.pz2-page .pz2-planner-result { display: contents; }
body.pz2-page .pz2-planner-picker { grid-area: picker; }
body.pz2-page .pz2-planner-overview { grid-area: summary; }
body.pz2-page .pz2-planner-materials { grid-area: materials; }
body.pz2-page .pz2-planner-materials > h3:first-child { margin-top: 0; }
body.pz2-page .pz2-planner-jumps { margin-top: 15px; margin-bottom: 17px; }
body.pz2-page .pz2-planner-result[data-load-state="failed"] :is(.pz2-planner-metrics, .pz2-planner-drivers) { display: none; }
body.pz2-page .pz2-planner-status:is([data-plan-status="loading"], [data-plan-status="unavailable"]) { color: var(--pz2-amber); }
body.pz2-page .pz2-planner p { font-size: 13px; }
body.pz2-page .pz2-planner-picker > [data-planner-load-status] { margin: 0 0 15px; color: #7d9182; font-size: 12px; }
body.pz2-page .pz2-planner-picker fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.pz2-page .pz2-planner-picker legend { margin-bottom: 14px; color: var(--pz2-pine-deep); font-size: 16px; font-weight: 700; }
body.pz2-page .pz2-planner-picker .pz2-button { min-height: 34px; padding: 6px 10px; font-size: 13px; }
body.pz2-page .pz2-planner-picker [data-action="defaults"] { border-color: #d1e3d6; background: var(--pz2-teal-soft); }
body.pz2-page .pz2-planner-selection { display: grid; gap: 7px; margin: 16px 0; padding: 0; list-style: none; }
body.pz2-page .pz2-planner-selection li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px 7px 12px; border: 1px solid #e3ece6; border-radius: 6px; background: #f4f8f5; font-size: 14px; }
body.pz2-page .pz2-planner-selection li > a { flex: 1; min-width: 0; color: #41684d; font-weight: 600; text-decoration: none; }
body.pz2-page .pz2-planner-selection li .pz2-button { flex: 0 0 auto; margin-left: auto; border-color: transparent; background: transparent; color: #799183; font-size: 12px; }
body.pz2-page .pz2-planner-selection li .pz2-button:hover { background: #e5eee8; color: var(--pz2-pine); }
body.pz2-page .pz2-planner-selection .pz2-chip { font-size: 12px; }
body.pz2-page .pz2-planner-picker .pz2-toolbar { gap: 10px; margin: 16px 0; padding: 12px; border: 0; border-radius: 6px; background: #f3f6f4; }
body.pz2-page .pz2-planner-picker .pz2-toolbar > label { flex: 1 1 110px; }
body.pz2-page .pz2-planner-picker .pz2-toolbar > label:has([name="q"]) { flex-basis: 100%; }
body.pz2-page .pz2-planner-picker :is(.pz2-select, .pz2-search) { width: 100%; font-size: 13px; }
body.pz2-page .pz2-planner-picker .pz2-source-note { padding: 8px 10px; border-left-width: 2px; background: #f3f7f4; color: #6f8075; font-size: 12px; line-height: 1.8; }
body.pz2-page .pz2-planner-check, body.pz2-page .pz2-toolbar label.pz2-planner-check { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 37px; color: #55705e; font-size: 12px; font-weight: 600; cursor: pointer; }
body.pz2-page .pz2-planner-check input[type="checkbox"] { flex: 0 0 auto; width: 15px; height: 15px; min-height: 0; margin: 0; accent-color: var(--pz2-pine); }
body.pz2-page [data-planner-filter-status] { margin: 12px 0 6px; color: #6c8073; font-size: 12px; }
body.pz2-page .pz2-planner-options { max-height: 510px; overflow: auto; overscroll-behavior: contain; padding-right: 3px; scrollbar-width: thin; scrollbar-color: #c6d5cb transparent; }
body.pz2-page .pz2-planner-animal { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 3px 0; padding: 11px 8px; border-bottom: 1px solid #e8eeea; border-radius: 5px; }
body.pz2-page .pz2-planner-animal > div { flex: 1; min-width: 0; }
body.pz2-page .pz2-planner-animal a { color: #436b4f; font-size: 14px; font-weight: 600; text-decoration: none; }
body.pz2-page .pz2-planner-animal p { margin: 4px 0 0; color: #697d6e; font-size: 12px; line-height: 1.5; }
body.pz2-page .pz2-planner-animal .pz2-button { flex: 0 0 auto; min-height: 34px; padding: 5px 9px; font-size: 13px; }
body.pz2-page .pz2-planner-animal[data-selected="true"] { border-color: #d6e8db; background: #eaf4ed; }
body.pz2-page .pz2-planner-animal[data-selected="true"] .pz2-button { border-color: #c4dccd; background: #d9ebdf; }
body.pz2-page .pz2-planner-status { margin: 0 0 15px; color: #809485; font-size: 12px; }
body.pz2-page .pz2-planner-status[data-plan-status="ready"]::before { display: inline-block; width: 6px; height: 6px; margin: 0 7px 1px 0; border-radius: 50%; background: #68a77e; content: ""; }
body.pz2-page .pz2-planner-status:is([data-plan-status="invalid"], [data-plan-status="incompatible"], [data-plan-status="unknown"]) { color: var(--pz2-amber); }
body.pz2-page .pz2-planner-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
body.pz2-page .pz2-planner-metrics .pz2-stat { min-width: 0; padding: 14px 16px; border: 1px solid #dfebe3; border-radius: 7px; background: #f0f6f2; color: #7e9585; font-size: 12px; overflow-wrap: anywhere; }
body.pz2-page .pz2-result-value { display: block; margin-top: 6px; color: var(--pz2-pine); font-size: 34px; font-weight: 750; line-height: 1.2; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
body.pz2-page .pz2-planner-metrics .pz2-stat:nth-child(n+3) { padding: 12px 16px; border-color: #e8eeea; background: #fafcfb; }
body.pz2-page .pz2-planner-metrics .pz2-stat:nth-child(n+3) .pz2-result-value { margin-top: 4px; font-size: 14px; font-weight: 650; line-height: 1.6; letter-spacing: 0; }
body.pz2-page .pz2-planner-drivers { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 16px; margin: 18px 0; font-size: 13px; }
body.pz2-page .pz2-planner-drivers dt { color: #65786b; }
body.pz2-page .pz2-planner-drivers dd { margin: 0; }
body.pz2-page .pz2-planner-drivers a { text-decoration: none; }
body.pz2-page .pz2-planner-result .pz2-source-note { padding: 10px 12px; font-size: 13px; }
body.pz2-page .pz2-planner-barriers { min-width: 580px; font-size: 13px; }
body.pz2-page .pz2-planner-barriers :is(th, td) { min-width: 82px; padding: 11px 12px; }
body.pz2-page .pz2-planner-barriers :is(th, td):first-child { min-width: 140px; max-width: 170px; }
body.pz2-page .pz2-planner-barriers tbody tr[data-match="matches"] > :first-child { box-shadow: inset 3px 0 #75a588, 1px 0 0 #e3ebe5; }
body.pz2-page .pz2-planner-barriers tbody tr[data-match="matches"] > td:nth-child(3) { color: #317b4d; font-weight: 650; }
body.pz2-page .pz2-planner-barriers tbody tr[data-match="excluded"] > td:nth-child(3) { color: #92978e; }
body.pz2-page .pz2-planner-barriers tbody tr[data-match="unknown"] > td:nth-child(3) { color: var(--pz2-amber); font-weight: 650; }
body.pz2-page .pz2-planner-barriers td ul { padding-left: 14px; color: #6d8275; font-size: 12px; }
body.pz2-page .pz2-planner-method { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--pz2-line); color: var(--pz2-muted); font-size: 12px; }
body.pz2-page .pz2-planner-method summary { color: #56735e; font-weight: 600; cursor: pointer; }
body.pz2-page .pz2-planner-method p { margin: 12px 0 0; font-size: 12px; }
body.pz2-page .pz2-planner-share { display: grid; gap: 7px; min-width: 0; margin: 22px 0 10px; padding-top: 16px; border-top: 1px solid #e6ede8; color: #7f9285; font-size: 12px; }
body.pz2-page .pz2-planner-share .pz2-search { width: 100%; max-width: none; font-size: 12px; }

/* Local review header follows the same visual language as production. */
body.pz2-page .pz2-header { position: sticky; z-index: 100; top: 0; display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 8px max(24px, calc((100vw - 1416px) / 2)); border-bottom: 1px solid var(--pz2-line); background: #ffffffed; color: var(--pz2-pine); backdrop-filter: blur(16px); }
body.pz2-page .pz2-header a { color: var(--pz2-pine); text-decoration: none; }
body.pz2-page .pz2-brand { flex: 0 0 auto; font-size: 18px; font-weight: 800; letter-spacing: -.6px; line-height: 1.3; }
body.pz2-page .pz2-header-game { padding-left: 18px; border-left: 1px solid var(--pz2-line); font-size: 13px; font-weight: 600; }
body.pz2-page .pz2-header > .pz2-chip { min-height: 22px; padding: 2px 7px; border-color: #e5e7dc; background: #f3f4ed; color: #8a907b; font-size: 12px; }
body.pz2-page .pz2-header > .pz2-actions { margin-left: auto; gap: 18px; }
body.pz2-page .pz2-header-search { position: relative; width: 280px; }
body.pz2-page .pz2-header-search .pz2-search { width: 100%; min-height: 35px; border-color: #e2e9e4; background: #f6f8f7; }
body.pz2-page .pz2-language-links { font-size: 12px; white-space: nowrap; }
body.pz2-page .pz2-language-links a { padding: 5px; color: #7b8e81; }
body.pz2-page .pz2-language-links [aria-current="page"] { color: var(--pz2-pine); font-weight: 700; }
body.pz2-page [data-pz2-search-results] { position: absolute; z-index: 110; top: calc(100% + 5px); left: 0; right: 0; max-height: 65vh; overflow: auto; }
body.pz2-page [data-pz2-search-results] .pz2-card { padding: 15px; box-shadow: 0 10px 28px #193d2426; }
body.pz2-page [data-pz2-search-results] strong { color: #7b9181; font-size: 12px; text-transform: uppercase; }
body.pz2-page [data-pz2-search-results] ul { margin: 7px 0 0; padding: 0; list-style: none; }
body.pz2-page [data-pz2-search-results] a { display: block; padding: 8px 6px; border-radius: 4px; font-size: 12px; text-decoration: none; }
body.pz2-page [data-pz2-search-results] a:hover { background: #edf4ef; }
body.pz2-page .pz2-footer { max-width: 1480px; margin: 0 auto; padding: 24px 32px 36px; border-top: 1px solid var(--pz2-line); color: #6f8376; font-size: 12px; }

/* Shared production shell: markup, accessibility, locale and consent hooks stay intact. */
body.pz2-page.pz2-production { --mw-purple: #43815c; --mw-ink: #2f503b; --mw-muted: #6a7e70; --mw-line: #dfe7e2; --mw-panel: #fff; --mw-game-accent: #43815c; }
body.pz2-production .mw-header { border-color: var(--pz2-line); background: #ffffffed; box-shadow: 0 1px 5px #24452a08; font-family: var(--pz2-font); }
body.pz2-production .mw-game-tabs { display: none; }
body.pz2-production .mw-language, body.pz2-production .mw-language-label { flex-shrink: 0; white-space: nowrap; }
body.pz2-production .mw-mobile-menu { width: 39px; height: 39px; }
body.pz2-production .mw-header a { color: inherit; }
body.pz2-production .mw-game-trigger { border-color: #dfe7e2; background: #f4f7f5; color: #54715c; }
body.pz2-production .mw-game-trigger:is(:hover, [aria-expanded="true"]) { border-color: #a9c2b0; background: #eaf2ed; }
body.pz2-production :is(.mw-game-menu, .mw-game-filter, .mw-search-trigger, .mw-language, .mw-mobile-menu) { border-color: #dfe7e2; background: #fff; color: #597361; }
body.pz2-production .mw-game-menu { box-shadow: 0 12px 36px #20412b24; }
body.pz2-production .mw-game-filter { background: #f7faf8; }
body.pz2-production .mw-game-filter-label { color: #7d9283; }
body.pz2-production .mw-game-filter::placeholder { color: #98aa9c; }
body.pz2-production .mw-language option { background: #fff; color: var(--pz2-pine); }
body.pz2-production .mw-search-trigger:hover { color: var(--pz2-pine); }
body.pz2-production :is(.mw-game-option, .mw-game-tabs a):is(:hover, [aria-current="page"]), body.pz2-production .mw-game-option.is-current { background: #e8f1eb; color: #3f7450; }
body.pz2-production .mw-game-option small { color: #879e8d; }
body.pz2-production .mw-footer { border-color: var(--pz2-line); background: #fff; color: #91a094; font-family: var(--pz2-font); }
body.pz2-production .mw-footer a { color: #6a8272; }
body.pz2-production .pz2-search-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; margin: 0 auto; padding: 19px 32px 0; }
body.pz2-production .pz2-wiki-label { display: flex; align-items: center; gap: 9px; color: #385b43; font-size: 12px; font-weight: 650; text-decoration: none; }
body.pz2-production .pz2-wiki-label small { display: block; color: #97a69b; font-size: 12px; font-weight: 400; letter-spacing: .04em; }
body.pz2-production .pz2-wiki-mark { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border: 1px solid #d7e5dc; border-radius: 8px; background: #edf4ef; color: #6a9476; }
body.pz2-production .pz2-wiki-mark .pz2-ui-icon { width: 19px; height: 19px; }
body.pz2-production .pz2-production-search { position: relative; width: min(100%, 350px); margin-left: auto; }
body.pz2-production .pz2-production-search .pz2-search { min-height: 35px; border-color: #dfe7e2; background: #fff; }
body.pz2-production .pz2-skip { position: fixed; z-index: 150; top: -100px; left: 12px; padding: 9px 15px; border-radius: 5px; background: white; color: var(--pz2-pine); }
body.pz2-production .pz2-skip:focus { top: 8px; }
body.pz2-production .pz2-analytics { position: fixed; z-index: 120; right: 14px; bottom: 14px; font-size: 12px; }
body.pz2-production .analytics-panel { width: min(360px, calc(100vw - 28px)); margin-bottom: 8px; padding: 20px; border: 1px solid var(--pz2-line); border-radius: 9px; background: white; box-shadow: 0 8px 28px #173c3226; }
body.pz2-production .analytics-panel p { margin: 8px 0 16px; color: var(--pz2-muted); }
body.pz2-production .pz2-analytics button { min-height: 35px; padding: 7px 12px; border: 1px solid #dce7e0; border-radius: 6px; background: white; color: #688271; font: inherit; cursor: pointer; }
body.pz2-production .pz2-analytics [data-consent="granted"] { margin-right: 8px; border-color: var(--pz2-pine); background: var(--pz2-pine); color: white; }
body.pz2-production .pz2-analytics .pz2-consent-close { float: right; margin: -10px -10px 0 4px; border: 0; }

@media (max-width: 1220px) {
  body.pz2-page .pz2-shell { grid-template-columns: 205px minmax(0, 1fr); gap: 24px; padding-inline: 24px; }
  body.pz2-page .pz2-hero-home .pz2-hero-content { width: 57%; padding: 26px; }
  body.pz2-page .pz2-hero-home .pz2-title { font-size: 33px; }
  body.pz2-page .pz2-quick-task { grid-template-columns: 26px minmax(0, 1fr); gap: 9px; padding: 16px 13px; }
  body.pz2-page .pz2-quick-task > .pz2-ui-icon { display: none; }
  body.pz2-page .pz2-facet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.pz2-page .pz2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pz2-page .pz2-detail-groups { grid-template-columns: minmax(0, 1fr); }
  body.pz2-page .pz2-planner { grid-template-columns: minmax(275px, .9fr) minmax(0, 1.1fr); gap: 14px; }
  body.pz2-page :is(.pz2-planner-picker, .pz2-planner-overview, .pz2-planner-materials) { padding: 17px; }
  body.pz2-production .pz2-search-band { padding-inline: 24px; }
}
@media (max-width: 1000px) {
  body.pz2-page .pz2-planner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "picker" "materials"; grid-template-rows: auto; }
  body.pz2-page .pz2-directory { grid-template-columns: minmax(0, 1fr); }
  body.pz2-page .pz2-hero-home .pz2-hero-content { width: 65%; }
  body.pz2-page .pz2-overview-stats .pz2-stat { padding-inline: 14px; }
  body.pz2-page .pz2-overview-stats .pz2-stat-date strong { font-size: 14px; }
  body.pz2-page .pz2-header { gap: 12px; }
  body.pz2-page .pz2-header-search { width: 230px; }
}
@media (max-width: 900px) {
  body.pz2-page .pz2-shell { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 24px 48px; }
  body.pz2-page .pz2-sidebar { position: static; max-height: none; padding: 0; overflow: visible; border: 1px solid var(--pz2-line); border-radius: 7px; background: white; }
  body.pz2-page .pz2-sidebar-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 43px; padding: 10px 14px; border: 0; border-radius: 7px; background: transparent; color: #56785f; font-size: 12px; font-weight: 600; text-align: left; cursor: pointer; }
  body.pz2-page .pz2-sidebar-nav { display: none; max-height: 60vh; padding: 10px; overflow: auto; overscroll-behavior: contain; }
  body.pz2-page .pz2-sidebar:is([open], [data-expanded="true"]) .pz2-sidebar-nav, body.pz2-page .pz2-sidebar:has(.pz2-sidebar-toggle[aria-expanded="true"]) .pz2-sidebar-nav { display: block; }
  body.pz2-page .pz2-sidebar-heading { font-size: 12px; }
  body.pz2-page .pz2-sidebar a { min-height: 37px; font-size: 13px; }
  body.pz2-page .pz2-hero-home .pz2-hero-content { width: 57%; }
  body.pz2-page .pz2-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pz2-production .pz2-sidebar { display: none; }
  body.pz2-production .pz2-sidebar.is-open { display: block; }
  body.pz2-production .pz2-sidebar.is-open .pz2-sidebar-nav { display: block; }
}
@media (max-width: 680px) {
  body.pz2-page .pz2-header { flex-wrap: wrap; gap: 9px 13px; padding: 12px 16px; }
  body.pz2-page .pz2-brand { font-size: 17px; }
  body.pz2-page .pz2-header-game { padding-left: 13px; font-size: 12px; }
  body.pz2-page .pz2-header > .pz2-chip { margin-left: auto; font-size: 12px; }
  body.pz2-page .pz2-header > .pz2-actions { width: 100%; gap: 13px; }
  body.pz2-page .pz2-header-search { flex: 1; width: auto; }
  body.pz2-page .pz2-language-links { font-size: 12px; }
  body.pz2-page .pz2-shell { gap: 16px; padding: 16px 16px 40px; }
  body.pz2-page .pz2-hero-home { display: flex; flex-direction: column; align-items: stretch; aspect-ratio: auto; min-height: 0; max-height: none; border-radius: 9px; }
  body.pz2-page .pz2-hero-home::after { display: none; }
  body.pz2-page .pz2-hero-home .pz2-hero-media { position: relative; z-index: 0; order: -1; aspect-ratio: 1440 / 465; }
  body.pz2-page .pz2-hero-home .pz2-hero-media::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(22 60 46 / 45%), transparent 55%); content: ""; }
  body.pz2-page .pz2-hero-home .pz2-hero-media img { object-fit: contain; }
  body.pz2-page .pz2-hero-home .pz2-hero-content { width: 100%; max-width: none; padding: 21px 22px 24px; }
  body.pz2-page .pz2-hero-home .pz2-kicker { margin-bottom: 8px; font-size: 12px; }
  body.pz2-page .pz2-hero-home .pz2-title { margin-bottom: 10px; font-size: 29px; }
  body.pz2-page .pz2-hero-home .pz2-intro { max-width: none; font-size: 14px; line-height: 1.85; }
  body.pz2-page .pz2-hero-compact { margin-bottom: 18px; padding: 3px 1px 18px; }
  body.pz2-page .pz2-title { font-size: 27px; }
  body.pz2-page .pz2-intro { font-size: 14px; line-height: 1.85; }
  body.pz2-page .pz2-kicker { font-size: 12px; }
  body.pz2-page .pz2-overview-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 0; margin: 11px 0 24px; padding: 14px 4px; }
  body.pz2-page .pz2-overview-stats .pz2-stat { padding-inline: 18px; }
  body.pz2-page .pz2-overview-stats .pz2-stat:nth-child(3) { border-left: 0; }
  body.pz2-page .pz2-overview-stats strong { font-size: 23px; }
  body.pz2-page .pz2-overview-stats .pz2-stat-date strong { margin: 3px 0 6px; font-size: 15px; }
  body.pz2-page .pz2-section { margin: 25px 0; }
  body.pz2-page .pz2-section-title { font-size: 17px; }
  body.pz2-page .pz2-section-heading > span { font-size: 12px; }
  body.pz2-page .pz2-quick-tasks { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  body.pz2-page .pz2-quick-task { grid-template-columns: 32px minmax(0, 1fr) 16px; gap: 12px; padding: 15px 17px; }
  body.pz2-page .pz2-quick-task > .pz2-ui-icon { display: block; align-self: center; }
  body.pz2-page .pz2-task-copy { gap: 4px; }
  body.pz2-page .pz2-task-copy strong { font-size: 15px; }
  body.pz2-page .pz2-task-copy > span { font-size: 13px; }
  body.pz2-page .pz2-directory { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  body.pz2-page .pz2-directory-group { padding: 16px 18px 3px; }
  body.pz2-page .pz2-directory-summary { font-size: 13px; }
  body.pz2-page .pz2-catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; padding: 15px 14px 0; }
  body.pz2-page .pz2-catalog-search-row { display: contents; }
  body.pz2-page .pz2-catalog-search { grid-column: 1 / -1; grid-row: 1; width: 100%; max-width: none; }
  body.pz2-page .pz2-view-switch { position: relative; z-index: 1; grid-column: 2; grid-row: 2; align-self: start; margin: 9px 0; }
  body.pz2-page .pz2-filter-disclosure { grid-column: 1 / -1; grid-row: 2; }
  body.pz2-page .pz2-filter-disclosure > summary { max-width: calc(100% - 184px); min-height: 52px; font-size: 12px; }
  body.pz2-page .pz2-catalog-filter-bar { grid-column: 1 / -1; grid-row: 3; margin-inline: -14px; padding-inline: 14px; }
  body.pz2-page .pz2-catalog-sort { margin-inline: -14px; }
  body.pz2-page :is(.pz2-search, .pz2-select), body.pz2-page .pz2-planner-picker :is(.pz2-search, .pz2-select) { font-size: 14px; }
  body.pz2-page .pz2-planner-picker .pz2-button { min-height: 38px; }
  body.pz2-page .pz2-planner-selection li .pz2-button { font-size: 12px; }
  body.pz2-page .pz2-planner-check, body.pz2-page .pz2-toolbar label.pz2-planner-check { font-size: 13px; }
  body.pz2-page .pz2-fact-jumps { gap: 7px 15px; }
  body.pz2-page .pz2-fact-jumps a { font-size: 12px; }
  body.pz2-page .pz2-facet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
  body.pz2-page .pz2-catalog-sort { gap: 8px; margin-inline: -14px; padding: 10px 14px;  border-radius: 0;  margin: 17px -20px 0; }
  body.pz2-page .pz2-catalog-sort label { gap: 5px; font-size: 12px; }
  body.pz2-page .pz2-catalog-sort .pz2-select { max-width: 110px; }
  body.pz2-page .pz2-catalog-sort .pz2-button { margin-left: 0; }
  body.pz2-page .pz2-table :is(th, td):first-child { min-width: 150px; max-width: 180px; padding-inline: 12px; }
  body.pz2-page .pz2-table { font-size: 13px;  line-height: 1.7; }
  body.pz2-page .pz2-grid, body.pz2-page .pz2-detail-groups, body.pz2-page .pz2-planner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "picker" "materials"; grid-template-rows: auto; }
  body.pz2-page .pz2-detail-navigation { margin-bottom: 20px; }
  body.pz2-page .pz2-detail-groups { gap: 23px; }
  body.pz2-page .pz2-facts { padding-inline: 14px; }
  body.pz2-page .pz2-facts dl { grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr); font-size: 13px;  line-height: 1.7; }
  body.pz2-page :is(ul.pz2-relations, .pz2-relations ul, .pz2-relations ol) { grid-template-columns: minmax(0, 1fr); }
  body.pz2-page .pz2-relations { padding-inline: 14px; }
  body.pz2-page .pz2-planner { gap: 17px; margin-top: 18px; }
  body.pz2-page :is(.pz2-planner-picker, .pz2-planner-overview, .pz2-planner-materials) { padding: 17px; }
  body.pz2-page .pz2-planner-picker .pz2-search { width: 100%; }
  body.pz2-page .pz2-planner-metrics .pz2-stat { padding-inline: 14px; }
  body.pz2-page .pz2-result-value { font-size: 31px; }
  body.pz2-page .pz2-planner-drivers { font-size: 13px; }
  body.pz2-page .pz2-planner-options { max-height: 370px; }
  body.pz2-page .pz2-planner-barriers :is(th, td):first-child { min-width: 130px; max-width: 160px; }
  body.pz2-page .pz2-footer { padding-inline: 16px; }
  body.pz2-production .pz2-search-band { gap: 15px; padding: 13px 16px 0; }
  body.pz2-production .pz2-wiki-label { display: none; }
  body.pz2-production .pz2-production-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body.pz2-page *, body.pz2-page *::before, body.pz2-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
