/* Plain-language spec help and the "choose by use" guide (new site only; not part of the WordPress theme).
   Colours are the site's own: ink #00184a, blue #004aeb, orange #fe9300. */
.pt-sh, .pt-sg, .pt-shd, .pt-ug, .pt-sge { --ink: #00184a; --mut: #5b6b85; --line: #e3e8f0; --blue: #004aeb; --org: #fe9300; --soft: #f1f5ff; }

/* the "?" beside a spec: a small mark with a finger-sized touch area */
.pt-sh { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 6px; padding: 0; border: 1px solid #b9c6e4; border-radius: 50%; background: #fff; color: var(--blue); font: 700 11px/1 inherit; vertical-align: middle; cursor: pointer; flex: none; }
.pt-sh::after { content: ""; position: absolute; inset: -13px; }
.pt-sh:hover, .pt-sh[aria-expanded="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pt-sh:focus-visible, .pt-sh-chip:focus-visible, .pt-sg-row:focus-visible, .pt-shd-x:focus-visible, .pt-ug-f button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* a spec chip that opens the help */
.pt-pdp-chips li:has(> .pt-sh-chip) { padding: 0; }
.pt-sh-chip { display: inline-flex; align-items: center; gap: 6px; padding: inherit; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.pt-sh-chip i, .pt-sg-row i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border: 1px solid #b9c6e4; border-radius: 50%; background: #fff; color: var(--blue); font: 700 10px/1 inherit; font-style: normal; flex: none; }
.pt-fg-t .pt-sh { margin-left: 4px; }
.pt-cmpp-lab .pt-sh { margin-left: 4px; }

/* product page: what the machine suits, and its main specs in plain words */
.pt-sg { margin: 14px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.pt-sg h2 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.pt-sg-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.pt-sg-fit ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pt-sg-b { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 11px; border: 1px solid #c9d6f5; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.pt-sg-b:hover { border-color: var(--blue); color: var(--blue); }
.pt-sg-b em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--mut); }
.pt-sg-b.rec { border-color: #ffd596; background: #fff6e6; }
.pt-sg-b.rec em { color: #9a5a00; }
.pt-sg-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.pt-sg-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: start; width: 100%; height: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pt-sg-row:hover, .pt-sg-row[aria-expanded="true"] { border-color: var(--blue); background: var(--soft); }
.pt-sg-row .k { grid-column: 1; font-size: 12px; color: var(--mut); line-height: 1.3; }
.pt-sg-row b { grid-column: 1; font-size: 14.5px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.pt-sg-row .f { grid-column: 1 / -1; font-size: 12.5px; color: #33456b; line-height: 1.45; }
.pt-sg-row i { grid-column: 2; grid-row: 1 / span 2; margin-top: 2px; }
.pt-sg-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--mut); }
.pt-sg-note a { color: var(--blue); font-size: inherit; font-weight: 600; white-space: nowrap; }
@media (max-width: 767px) {
  .pt-sg { padding: 12px; }
  .pt-sg-rows { grid-template-columns: minmax(0, 1fr); }
}

/* the explanation: a sheet from the bottom on phones, a card beside the "?" on wider screens */
.pt-shd[hidden] { display: none; }
.pt-shd { position: absolute; top: 0; left: 0; z-index: 100000; color: var(--ink); font-size: 14px; line-height: 1.55; }
.pt-shd-bg { display: none; }
.pt-shd-box { position: absolute; width: 400px; max-width: calc(100vw - 24px); padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 40px rgba(0, 24, 74, .18); outline: 0; }
.pt-shd-x { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--mut); font-size: 22px; line-height: 1; cursor: pointer; }
.pt-shd-x:hover { background: var(--soft); color: var(--ink); }
.pt-shd h2 { margin: 0 40px 6px 0; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.pt-shd-what { margin: 0 0 10px; color: #33456b; }
.pt-shd-here { margin: 0 0 10px; padding: 8px 10px; border-radius: 10px; background: #fff6e6; border: 1px solid #ffd596; font-size: 13.5px; }
.pt-shd-here b { color: #9a5a00; }
.pt-shd-steps { margin: 0 0 10px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.pt-shd-steps li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 2px 10px; padding: 8px 10px; border-top: 1px solid var(--line); font-size: 13px; }
.pt-shd-steps li:first-child { border-top: 0; }
.pt-shd-steps b { font-weight: 700; }
.pt-shd-steps small { grid-column: 2; font-size: 11.5px; color: var(--mut); }
.pt-shd-steps li.on { background: #fff6e6; box-shadow: inset 3px 0 0 var(--org); }
.pt-shd-steps li.on b::after { content: attr(data-here); display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: #9a5a00; }
.pt-shd-tip { margin: 0 0 8px; font-size: 12.5px; color: var(--mut); }
.pt-shd-more { display: inline-block; padding: 6px 0; color: var(--blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.pt-shd-more:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .pt-shd { position: fixed; inset: 0; }
  .pt-shd-bg { display: block; position: absolute; inset: 0; background: rgba(0, 24, 74, .45); }
  .pt-shd-box { top: auto !important; left: 0 !important; right: 0; bottom: 0; width: auto; max-width: none; max-height: 86vh; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); border: 0; border-radius: 18px 18px 0 0; animation: pt-shd-up .22s ease-out; }
  .pt-shd-box::before { content: ""; display: block; width: 40px; height: 4px; margin: -8px auto 10px; border-radius: 2px; background: #cfd8ea; }
  .pt-shd-steps li { grid-template-columns: 96px minmax(0, 1fr); }
}
@keyframes pt-shd-up { from { transform: translateY(28px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pt-shd-box { animation: none; } }

/* an entry to the guide on category pages and the home page */
.pt-sge { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; margin: 12px 0; padding: 12px 14px; border: 1px solid #c9d6f5; border-radius: 14px; background: linear-gradient(180deg, #f6f9ff, #fff); color: var(--ink); }
.pt-sge > img { grid-row: 1 / span 2; width: 52px; height: 52px; object-fit: contain; }
.pt-sge-t { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }
.pt-sge-t small { display: block; font-size: 12.5px; font-weight: 400; color: var(--mut); }
.pt-sge-l { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.pt-sge-l a { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.pt-sge-l a:hover { border-color: var(--blue); color: var(--blue); }
.pt-sge-l a.all { border-color: var(--blue); background: var(--blue); color: #fff; }
@media (max-width: 767px) {
  .pt-sge { grid-template-columns: 40px minmax(0, 1fr); padding: 10px 12px; }
  .pt-sge > img { width: 40px; height: 40px; grid-row: 1; }
  .pt-sge-l { grid-column: 1 / -1; flex-wrap: nowrap; overflow-x: auto; margin: 4px -12px 0; padding: 2px 12px 4px; scrollbar-width: none; }
  .pt-sge-l::-webkit-scrollbar { display: none; }
  .pt-sge-l a { white-space: nowrap; }
}

/* (the home page orders its blocks by number on phones: the entry comes after the categories) */
.pt-col-main > .pt-sge { order: 4; margin: 0; }

/* the guide pages */
body.pt-guide { background: #fff; }
.pt-ug-h3 { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--mut); }
.pt-ug-words { margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.pt-ug-ios { margin: 8px 0 0 !important; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12.5px !important; color: #33456b !important; }
.pt-ug { max-width: 1120px; margin: 0 auto 44px; padding: 0 16px; color: var(--ink); font-size: 15px; line-height: 1.6; }
.pt-ug a { color: var(--blue); }
.pt-ug-crumb { margin: 14px 0 10px; font-size: 13px; color: var(--mut); }
.pt-ug-crumb a { color: var(--mut); font-size: inherit; text-decoration: none; }
.pt-ug-src a, .pt-ug-note a, .pt-ug-foot a { font-size: inherit; }
.pt-ug-crumb a:hover { color: var(--blue); }
.pt-ug-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; align-items: center; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #eef3ff, #fff8ec); }
.pt-ug-hero h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.pt-ug-hero p { margin: 0; color: #33456b; max-width: 62ch; }
.pt-ug-hero img { width: 120px; height: 120px; object-fit: contain; }
.pt-ug h2 { margin: 26px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.pt-ug h2 small { display: block; font-size: 13px; font-weight: 400; color: var(--mut); }
.pt-ug-uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-ug-use { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink) !important; text-decoration: none; }
.pt-ug-use:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(0, 74, 235, .1); }
.pt-ug-use > span { grid-row: 1 / span 3; font-size: 26px; line-height: 1.2; }
.pt-ug-use b { font-size: 15px; font-weight: 700; line-height: 1.35; }
.pt-ug-use small { font-size: 12.5px; color: var(--mut); line-height: 1.45; }
.pt-ug-use em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.pt-ug-use.on { border-color: var(--blue); background: var(--soft); }
.pt-ug-tabs { display: flex; gap: 6px; margin: 14px 0 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.pt-ug-tabs::-webkit-scrollbar { display: none; }
.pt-ug-tabs a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.pt-ug-tabs a[aria-current] { border-color: var(--blue); background: var(--blue); color: #fff; }
.pt-ug-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pt-ug-lv { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pt-ug-lv.rec { border-color: #ffd596; background: #fffaf0; }
.pt-ug-lv h3 { margin: 0 0 2px; font-size: 16px; font-weight: 700; color: var(--ink); }
.pt-ug-lv > p { margin: 0 0 8px; font-size: 13px; color: var(--mut); }
.pt-ug-lv ul { margin: 0; padding: 0; list-style: none; }
.pt-ug-lv li { display: flex; align-items: center; gap: 4px; padding: 6px 0; border-top: 1px dashed var(--line); font-weight: 600; font-size: 14.5px; }
.pt-ug-lv li::before { content: "✓"; color: #12894a; font-weight: 700; margin-right: 4px; }
.pt-ug-why { margin: 12px 0 0; padding: 0; list-style: none; }
.pt-ug-why li { padding: 10px 0; border-top: 1px solid var(--line); }
.pt-ug-why b { display: block; font-size: 14px; }
.pt-ug-why p { margin: 2px 0 0; font-size: 14px; color: #33456b; }
.pt-ug-src { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--mut); }
.pt-ug-src li { padding: 2px 0; border: 0; }
.pt-ug-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #f6f8fc; font-size: 13.5px; color: #33456b; }
.pt-ug-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 12px; padding: 0 0 10px; border-bottom: 1px solid var(--line); }
.pt-ug-f div { display: flex; align-items: center; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pt-ug-f div::-webkit-scrollbar { display: none; }
.pt-ug-f span { font-size: 12.5px; color: var(--mut); white-space: nowrap; }
.pt-ug-f button { min-height: 34px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1.3 inherit; white-space: nowrap; cursor: pointer; }
.pt-ug-f button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.pt-ug-count { margin: 0 0 8px; font-size: 13px; color: var(--mut); }
.pt-ug-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.pt-ug-list li[hidden] { display: none; }
.pt-ug-p { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; height: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink) !important; text-decoration: none; }
.pt-ug-p:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(0, 74, 235, .1); }
.pt-ug-p > img, .pt-ug-p > .ph { width: 84px; height: 84px; object-fit: contain; border-radius: 8px; background: #fff; }
.pt-ug-p span { display: block; }
.pt-ug-p .n { font-size: 13.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-ug-p .pr { margin-top: 2px; font-size: 17px; font-weight: 800; color: var(--blue); }
.pt-ug-p .pr small { font-size: 12px; font-weight: 500; color: var(--mut); }
.pt-ug-p .sp { margin-top: 2px; font-size: 12px; color: #33456b; line-height: 1.45; }
.pt-ug-p .lv { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #eef2f8; font-size: 11.5px; font-weight: 600; color: var(--mut); }
.pt-ug-p .lv.rec { background: #fff0d4; color: #9a5a00; }
.pt-ug-empty { padding: 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--mut); font-size: 14px; }
.pt-ug-foot { margin: 22px 0 0; font-size: 12.5px; color: var(--mut); }
@media (max-width: 767px) {
  .pt-ug { font-size: 14.5px; }
  .pt-ug-hero { grid-template-columns: minmax(0, 1fr) 72px; padding: 14px; }
  .pt-ug-hero h1 { font-size: 21px; }
  .pt-ug-hero img { width: 72px; height: 72px; align-self: start; }
  .pt-ug-uses { grid-template-columns: minmax(0, 1fr); }
  .pt-ug-lines { grid-template-columns: minmax(0, 1fr); }
  .pt-ug-list { grid-template-columns: minmax(0, 1fr); }
}
