/* Producepak help – public site */
:root {
  --ink: #1f2427; --ink2: #4a5157; --muted: #6b7378; --line: #e3e7e2; --line2: #f0f3ef;
  --bg: #ffffff; --soft: #f5f8f3; --orange: #F28C28; --orange-d: #c96a0e; --orange-l: #fff4e8;
  --green: #3FA34D; --green-d: #2a7a37; --green-dd: #1d3a27; --green-ddd: #132a1b; --green-l: #eaf5ea;
  --link: #1f7a33; --shadow: 0 10px 30px rgba(20, 40, 25, .12), 0 2px 6px rgba(20, 40, 25, .06);
  --r: 12px; --wrap: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--green-dd); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; background: var(--orange);
  color: #fff; font: inherit; font-weight: 650; padding: 11px 20px; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn:hover { background: var(--orange-d); color: #fff; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- header and menus ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { display: block; height: 36px; width: auto; }
.brand-label { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-d);
  border-left: 1px solid var(--line); padding-left: 12px; line-height: 22px; }
.nav { flex: 1; min-width: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-item { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font: inherit; font-weight: 650; font-size: 15.5px;
  color: var(--ink); padding: 10px 14px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.nav-btn:hover, .nav-item.open > .nav-btn { background: var(--line2); }
.nav-btn.on { color: var(--green-d); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 10px 10px 4px 4px; }
.chev { transition: transform .15s; opacity: .7; }
.nav-item.open > .nav-btn .chev { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; min-width: 270px; max-height: calc(100vh - 100px);
  overflow: auto; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 3px solid var(--orange); padding: 10px; }
.nav-panel::before { content: ""; position: absolute; }
.nav-panel.wide { width: min(980px, calc(100vw - 48px)); display: none; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4px 12px; }
.nav-item.open > .nav-panel { display: block; }
.nav-item.open > .nav-panel.wide { display: grid; }
.nav-gh { margin: 8px 10px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.nav-panel a:hover { background: var(--green-l); color: var(--green-dd); }
.nav-panel a[aria-current] { background: var(--orange-l); color: var(--orange-d); font-weight: 650; }
@media (hover: hover) and (min-width: 1001px) {
  .nav-item:hover > .nav-panel { display: block; }
  .nav-item:hover > .nav-panel.wide { display: grid; }
  .nav-item:hover > .nav-btn { background: var(--line2); }
  .nav-item:hover > .nav-panel::before { left: 0; right: 0; top: -12px; height: 12px; }
}
.nav-item:nth-last-child(-n+2) > .nav-panel:not(.wide) { left: auto; right: 0; }

/* search */
.search { position: relative; display: flex; align-items: center; flex: 0 1 280px; }
.search-ico { position: absolute; left: 12px; color: var(--muted); display: flex; pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px 10px 40px; border: 1px solid #d5dbd3; border-radius: 10px; background: var(--soft); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(242, 140, 40, .2); }
.search-results { position: absolute; top: calc(100% + 6px); right: 0; width: min(460px, calc(100vw - 32px)); z-index: 70; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; max-height: 70vh; overflow: auto; text-align: left; }
.search-results a { display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--green-l); outline: none; }
.search-results b { display: block; font-size: 15px; }
.search-results .sr-cat { font-size: 12px; font-weight: 700; color: var(--orange-d); text-transform: uppercase; letter-spacing: .06em; }
.search-results .sr-snip { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.search-results .sr-none { padding: 10px; color: var(--muted); font-size: 14px; }
.search-results .sr-all { font-weight: 650; color: var(--link); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; }
.navtoggle { display: none; align-items: center; gap: 8px; border: 1px solid #d5dbd3; background: #fff; font: inherit; font-weight: 650; border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }

/* ---------- article pages ---------- */
.pagehead { background: linear-gradient(120deg, var(--green-l) 0%, #fbfcf7 55%, var(--orange-l) 100%); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.pagehead h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 6px 0 8px; letter-spacing: -.02em; color: var(--green-ddd); overflow-wrap: anywhere; }
.updated { margin: 0; color: var(--muted); font-size: 14px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #a5aca8; }
.crumbs a { color: var(--green-d); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; padding-top: 34px; padding-bottom: 56px; align-items: start; }
.layout.one { grid-template-columns: minmax(0, 760px); }
.side { position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow: auto; }
.side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 10px; background: var(--soft); }
.side-h { margin: 0 8px 6px; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-d); }
.side-gh { margin: 12px 8px 2px; font-size: 12px; font-weight: 700; color: var(--orange-d); text-transform: uppercase; letter-spacing: .06em; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: block; padding: 5px 8px; border-radius: 7px; color: var(--ink2); text-decoration: none; font-size: 14.5px; line-height: 1.35; }
.side a:hover { background: #fff; color: var(--green-dd); }
.side a[aria-current] { background: #fff; color: var(--orange-d); font-weight: 700; box-shadow: inset 3px 0 0 var(--orange); }

.prose { font-size: 17px; line-height: 1.72; color: var(--ink); min-width: 0; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; line-height: 1.25; margin: 42px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--green-ddd); letter-spacing: -.01em; }
.prose h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 8px; color: var(--green-dd); }
.prose h4 { font-size: 17px; margin: 24px 0 6px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 26px; }
.prose li { margin: 4px 0; }
.prose li::marker { color: var(--orange-d); }
.prose a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { color: #111; }
.prose blockquote { margin: 22px 0; padding: 14px 20px; border-left: 4px solid var(--orange); background: var(--orange-l); border-radius: 0 10px 10px 0; color: #3b2a14; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { display: block; margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--line2); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: #1d2326; color: #eef1ee; padding: 14px 16px; border-radius: 10px; overflow: auto; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.tablewrap { overflow-x: auto; margin: 0 0 18px; }
.prose table { border-collapse: collapse; font-size: 15px; min-width: 50%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px 10px; margin: 0 0 28px; background: #fff; }
.toc-h { margin: 0 0 6px !important; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-d); }
.toc ol { margin: 0; padding-left: 22px; columns: 2 260px; column-gap: 28px; font-size: 15px; line-height: 1.5; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- home ---------- */
.hero { position: relative; color: #fff; background: var(--green-ddd); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 14, .88) 0%, rgba(10, 26, 14, .72) 45%, rgba(10, 26, 14, .25) 100%); }
.hero-in { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 36px; padding-top: 52px; min-height: 400px; }
.hero-bot { flex: none; width: 170px; height: auto; align-self: flex-end; filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); }
.hero-text { padding-bottom: 52px; max-width: 760px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 56px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -.025em; }
.hero p { font-size: 18.5px; margin: 0 0 22px; color: #e6efe7; max-width: 640px; }
.search-big { flex: none; max-width: 640px; }
.search-big .search-ico { left: 16px; }
.search-big input { font-size: 17px; padding: 15px 120px 15px 48px; border-radius: 14px; background: #fff; border-color: transparent; box-shadow: 0 8px 26px rgba(0,0,0,.25); }
.search-big .btn { position: absolute; right: 6px; top: 6px; bottom: 6px; border-radius: 10px; padding: 0 20px; }
.search-big .search-results { left: 0; right: auto; width: 100%; top: calc(100% + 8px); }
.popular { margin: 18px 0 0 !important; font-size: 15px !important; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.popular span { color: #cfe0d1; font-weight: 600; }
.popular a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 4px 12px; font-size: 14px; background: rgba(255,255,255,.08); }
.popular a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 44px; padding-bottom: 44px; }
.cat { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(20,40,25,.05); scroll-margin-top: 90px; display: flex; flex-direction: column; }
.cat > img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--soft); border-bottom: 3px solid var(--orange); }
.cat-in { padding: 18px 20px 20px; }
.cat h2 { margin: 0 0 6px; font-size: 22px; color: var(--green-ddd); }
.cat-blurb { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.cat ul { list-style: none; margin: 0; padding: 0; }
.cat li a { display: block; padding: 5px 0; border-bottom: 1px solid var(--line2); text-decoration: none; color: var(--ink); font-size: 15px; }
.cat li a:hover { color: var(--green-d); }
.cat li a::before { content: "›"; color: var(--orange); font-weight: 800; margin-right: 8px; }
.cat details summary { cursor: pointer; margin-top: 10px; font-weight: 650; color: var(--link); font-size: 15px; }
.about { max-width: 860px; padding-bottom: 50px; }

/* ---------- support + footer ---------- */
.support { background: var(--green-dd); color: #eaf2eb; padding: 48px 0; }
.support-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.support h2 { color: #fff; font-size: 28px; margin: 0 0 10px; }
.support a { color: #ffd2a3; }
.support ol { padding-left: 22px; }
.support li { margin: 4px 0; }
.ticket { background: #fff; color: var(--ink); border-radius: 16px; padding: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.2); border-top: 4px solid var(--orange); }
.ticket h3 { margin: 0 0 12px; font-size: 20px; color: var(--green-ddd); }
.ticket label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; color: var(--ink2); }
.ticket input, .ticket textarea { display: block; width: 100%; margin-top: 4px; font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid #d0d6cf; border-radius: 9px; background: #fff; color: var(--ink); }
.ticket input:focus, .ticket textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,140,40,.2); }
.ticket .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ticket .hp { position: absolute; left: -9999px; }
.ticket-msg { margin: 10px 0 0; font-weight: 600; min-height: 1em; }
.ticket-msg.ok { color: var(--green-d); }
.ticket-msg.bad { color: #b42318; }
.foot { background: var(--green-ddd); color: #b9cbbc; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.foot-brand img { display: block; margin-bottom: 12px; }
.foot-brand p { margin: 0; line-height: 1.5; max-width: 300px; }
.foot-h { margin: 0 0 8px; font-weight: 750; }
.foot-h a { color: #fff; text-decoration: none; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { color: #b9cbbc; text-decoration: none; display: inline-block; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; padding-bottom: 22px; font-size: 13.5px; }
.foot-base a { color: #b9cbbc; }

/* search page */
.results { list-style: none; padding: 0 !important; }
.results li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.results a { font-weight: 650; font-size: 18px; }
.results .r-cat { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--orange-d); text-transform: uppercase; letter-spacing: .06em; }
.results p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.layout.one .search-big input { background: var(--soft); border-color: #d5dbd3; box-shadow: none; }

/* ---------- responsive ---------- */
@media (max-width: 1150px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .top { position: relative; }
  .top-in { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 10px 12px; }
  .brand { margin-right: auto; }
  .navtoggle { display: inline-flex; order: 2; }
  .search { order: 3; flex: 1 1 100%; }
  .nav { order: 4; flex: 1 1 100%; display: none; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 2px; padding-bottom: 8px; }
  .nav-btn { width: 100%; justify-content: space-between; font-size: 17px; padding: 12px; border-bottom: 1px solid var(--line2); border-radius: 8px; }
  .nav-btn.on { box-shadow: inset 4px 0 0 var(--orange); }
  .nav-panel, .nav-panel.wide { position: static; width: auto; box-shadow: none; border: 0; border-left: 3px solid var(--orange); border-radius: 0; max-height: none; margin: 4px 0 10px 12px; padding: 4px 0 4px 6px; }
  .nav-item.open > .nav-panel.wide { display: block; }
  .nav-panel a { font-size: 16px; padding: 9px 10px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 24px; }
  .side { position: static; max-height: none; }
  .support-in { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-bot { width: 120px; }
  html { scroll-padding-top: 16px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .cats { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 24px; }
  .hero-in { min-height: 0; padding-top: 28px; display: block; }
  .hero-bot { display: none; }
  .hero-text { padding-bottom: 30px; }
  .hero p { font-size: 16.5px; }
  .search-big input { padding-right: 16px; font-size: 16px; }
  .search-big .btn { display: none; }
  .brand img { height: 30px; }
  .brand-label { font-size: 11px; padding-left: 9px; }
  .prose { font-size: 16.5px; }
  .prose h2 { font-size: 22px; }
  .pagehead { padding: 18px 0 20px; }
  .toc ol { columns: 1; }
  .ticket .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .search input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .top, .support, .foot, .side, .toc, .skip { display: none !important; }
  .layout { display: block; padding: 0; }
  .pagehead { background: none; border: 0; padding: 0; }
}
