/* =============================================================================
   PSC interactive tools v2 (psc-tools.php / psc-tools.js), 2026-11-17.
   Built on the rga-* tokens. Sizes in px, never rem: Advanced Themer sets
   html{font-size:62.5%}. Everything is scoped under .psct, and bare elements
   (button, input, h3, ul, select) are styled explicitly because Bricks and the
   theme style them globally. Red is used for accents and the lit street only;
   buttons are black and white so they never compete with the site's red
   "My pet is missing" emergency path.
   ========================================================================== */

.psct { --psct-red: var(--rga-red, #ED0000); --psct-ink: var(--rga-ink, #3F3F3F);
  --psct-line: var(--rga-border, #D8D3CB); --psct-bg: var(--rga-bg, #F7F6F5);
  --psct-chip: var(--rga-bg-hover, #ECE9E1); --psct-taupe: var(--rga-taupe, #7F715B);
  --psct-text-red: #C20000; --psct-muted: #6E6558; --psct-green: #2F6B3E; --psct-label: #6B5D49;
  font-family: var(--rga-font, "Public Sans", "Helvetica Neue", Arial, sans-serif);
  color: var(--psct-ink); background: #FFFFFF; border: 1px solid var(--psct-line);
  border-top: 4px solid var(--psct-red); margin: 32px 0 8px; padding: 28px;
  display: grid; gap: 22px; max-width: 860px; text-align: left; }
@media (max-width: 600px) { .psct { padding: 20px 16px; margin-top: 24px; gap: 18px; } }
.psct * { box-sizing: border-box; }
.psct:not(.is-live) .psct-jsonly { display: none !important; }
.psct [hidden] { display: none !important; }
.psct-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.psct p, .psct li { font-size: 17px; line-height: 1.55; font-weight: 400; margin: 0; color: var(--psct-ink); }
.psct a { color: var(--psct-text-red); text-decoration: underline; text-underline-offset: 2px; }
.psct a:focus-visible, .psct button:focus-visible, .psct input:focus-visible, .psct select:focus-visible,
.psct textarea:focus-visible, .psct [tabindex]:focus-visible { outline: 3px solid var(--psct-red); outline-offset: 2px; }
.psct strong { font-weight: 700; color: #000; }
.psct ul, .psct ol { margin: 0; }

.psct__head { display: grid; gap: 6px; }
.psct__kicker, .psct__label, .psct-stage__k, .psct-flow__step { font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--psct-label) !important; }
.psct__label { margin-bottom: 8px !important; }
.psct .psct__h { font-family: inherit; font-size: 26px; line-height: 1.2; font-weight: 700; color: #000; margin: 0; letter-spacing: -.01em; }
.psct__lede { font-size: 18px !important; }
.psct__src { font-size: 13px !important; line-height: 1.5 !important; color: var(--psct-muted) !important; border-top: 1px solid var(--psct-line); padding-top: 12px; }
.psct__save { font-size: 14px !important; color: var(--psct-muted) !important; }

/* ---- buttons ---- */
.psct .psct__btn, .psct a.psct__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
  font: 700 15px/1.2 var(--rga-font, sans-serif); padding: 10px 16px; border: 1.5px solid #000; background: #FFFFFF; color: #000;
  text-decoration: none; cursor: pointer; border-radius: 0; text-transform: none; letter-spacing: 0; }
.psct .psct__btn:hover, .psct a.psct__btn:hover { background: var(--psct-chip); color: #000; }
.psct .psct__btn--dark { background: #000; color: #FFFFFF; }
.psct .psct__btn--dark:hover { background: #3F3F3F; color: #FFFFFF; }
.psct .psct__btn--sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.psct a.psct__btn[target="_blank"]::after { content: "\2197"; font-weight: 400; }
.psct__acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.psct__copied { font-size: 14px; font-weight: 700; color: var(--psct-green); }
.psct .psct-link { font: 700 14px/1.3 var(--rga-font, sans-serif); background: none; border: 0; padding: 12px 0; min-height: 44px; color: var(--psct-text-red); text-decoration: underline; cursor: pointer; justify-self: start; text-transform: none; letter-spacing: 0; }

/* ---- segmented choices ---- */
.psct__seg { display: flex; flex-wrap: wrap; gap: 8px; }
.psct__seg button { font: 700 15px/1.2 var(--rga-font, sans-serif); padding: 11px 16px; border: 1.5px solid var(--psct-line);
  background: #FFFFFF; color: var(--psct-ink); cursor: pointer; border-radius: 0; text-transform: none; letter-spacing: 0; min-height: 44px; }
.psct__seg button:hover { border-color: #000; }
.psct__seg button[aria-pressed="true"] { background: #000; border-color: #000; color: #FFFFFF; }
.psct__seg--big button { min-width: 110px; font-size: 17px; min-height: 52px; }

/* ---- fields ---- */
.psct__field { display: grid; gap: 6px; max-width: 480px; }
.psct__field--wide { max-width: none; }
.psct__field label { font-size: 15px; font-weight: 700; color: #000; }
.psct__field input, .psct__field textarea, .psct select { font: 400 17px/1.4 var(--rga-font, sans-serif); padding: 12px 14px; border: 2px solid var(--psct-line);
  background: var(--psct-bg); color: #000; width: 100%; border-radius: 0; }
.psct #psct-chip-in { font: 500 20px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .05em; }
.psct__field input:focus, .psct__field textarea:focus, .psct select:focus { border-color: #000; }
.psct__count { font-size: 14px !important; color: var(--psct-muted) !important; }

/* ---- checks and options ---- */
.psct__fs { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.psct__fs legend { font-size: 15px; font-weight: 700; color: #000; padding: 0; margin-bottom: 8px; }
.psct__form { display: grid; gap: 18px; margin: 0; }
.psct__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.psct__opt { position: relative; cursor: pointer; }
.psct__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.psct__opt span { color: var(--psct-ink); font-weight: 400; font-size: 15px; line-height: 1.25; padding: 10px 14px; border: 1.5px solid var(--psct-line);
  background: #FFFFFF; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.psct__opt:hover span { border-color: #000; }
.psct__opt input:checked + span { background: #000; border-color: #000; color: #FFFFFF; }
.psct__opt input:focus-visible + span { outline: 3px solid var(--psct-red); outline-offset: 2px; }
.psct__dir { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 6px; line-height: 1; }
.psct__dir--further { background: #FCE9E7; color: #A00000; }
.psct__dir--closer { background: #E5F0E7; color: #2F6B3E; }
.psct__opt input:checked + span .psct__dir--further { background: #ED0000; color: #FFFFFF; }
.psct__opt input:checked + span .psct__dir--closer { background: #7CC48E; color: #000; }

.psct__check { color: var(--psct-ink); font-weight: 400; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--psct-line); cursor: pointer; font-size: 16px; line-height: 1.45; }
.psct__check:last-child { border-bottom: 0; }
.psct__check input, .psct-ticks input { width: 24px; height: 24px; margin: 0; accent-color: #000; }
.psct__fs--checks { gap: 0; }
.psct__auto { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: var(--psct-text-red); margin-top: 2px; }
.psct__auto:empty { display: none; }

/* ---- output panels ---- */
.psct__out { background: var(--psct-bg); border-left: 4px solid var(--psct-taupe); padding: 18px 20px; display: grid; gap: 12px; }
.psct__out.is-warn { border-left-color: #8A5A00; }
.psct__out.is-alert { border-left-color: var(--psct-red); background: #FCE9E7; }
.psct__out h3, .psct__out h4, .psct-flow__ans h4 { font-family: inherit; font-size: 20px; line-height: 1.25; font-weight: 700; color: #000; margin: 0; }
.psct__out ul, .psct__out ol, .psct__rules, .psct-steps { padding-left: 22px; display: grid; gap: 8px; }
.psct__out li, .psct-steps li { font-size: 16px; }

/* ---- chip ---- */
.psct-chipnum { display: flex; flex-wrap: wrap; gap: 6px; }
.psct-chipnum:empty { display: none; }
.psct-chipnum__part { display: grid; gap: 4px; }
.psct-chipnum__part b { font: 600 22px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; padding: 10px 12px; background: var(--psct-chip); color: #000; }
.psct-chipnum__part.is-key b { background: #000; color: #FFFFFF; }
.psct-chipnum__part i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--psct-muted); letter-spacing: .04em; text-transform: uppercase; }
.psct-script { background: var(--psct-bg); padding: 16px 18px; display: grid; gap: 10px; border: 1px dashed var(--psct-line); }
.psct-script__t { font-size: 17px !important; color: #000 !important; }
[data-next] { display: grid; gap: 14px; }
[data-next]:empty { display: none; }
.psct__regs ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px; }
.psct__regs li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 9px 0; border-bottom: 1px dashed var(--psct-line); font-size: 16px; }
.psct__regs li.is-first { background: #FCE9E7; padding-inline: 8px; margin-inline: -8px; }
.psct__regn { display: grid; gap: 2px; }
.psct__first { display: none !important; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--psct-text-red); }
.psct__regs li.is-first .psct__first { display: block !important; }
.psct__regc { display: grid; justify-items: end; text-align: right; }
.psct__tel { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.psct__note { font-size: 13px; color: var(--psct-muted); }

/* ---- cat: street and stages ---- */
.psct-street svg { display: block; width: 100%; height: auto; max-width: 760px; }
.psct-stages { display: grid; gap: 0; border-top: 1px solid var(--psct-line); }
.psct-stage { border-bottom: 1px solid var(--psct-line); padding: 14px 0; display: grid; gap: 8px; }
.psct:not(.is-live) .psct-stage ul { padding-left: 22px; display: grid; gap: 4px; }
.psct:not(.is-live) .psct-stage h4 { font-family: inherit; font-size: 20px; font-weight: 700; color: #000; margin: 0; }
.psct-stage__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k n" "t n"; gap: 2px 12px; align-items: center; width: 100%;
  text-align: left; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: inherit; color: inherit; text-transform: none; letter-spacing: 0; }
.psct-stage__head .psct-stage__k { grid-area: k; color: var(--psct-text-red) !important; }
.psct-stage__t { grid-area: t; font-size: 20px; font-weight: 700; color: #000; line-height: 1.25; }
.psct-stage__n { grid-area: n; font-size: 13px; font-weight: 700; color: var(--psct-muted); text-align: center; padding: 4px 8px; background: var(--psct-bg); }
.psct-stage.is-active .psct-stage__n { background: #000; color: #FFFFFF; }
.psct-stage__head::after { content: ""; }
.psct-stage__body { display: grid; gap: 12px; padding-top: 6px; }
.psct-stage__fig { font-size: 14px !important; color: var(--psct-muted) !important; }
.psct-stage__tip { font-size: 15px !important; background: var(--psct-bg); padding: 12px 14px; border-left: 3px solid var(--psct-taupe); }
.psct-stage__again { font-size: 15px !important; font-weight: 700; color: var(--psct-green) !important; }
.psct-ticks { list-style: none; padding: 0; display: grid; gap: 0; }
.psct-ticks li { border-bottom: 1px dashed var(--psct-line); }
.psct-ticks li:last-child { border-bottom: 0; }
.psct-ticks label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 9px 0; cursor: pointer; font-size: 16px; line-height: 1.45; color: var(--psct-ink); }
.psct-ticks input:checked + span { color: var(--psct-muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.35); }

/* ---- dog: lean scale, reasons, approach ---- */
.psct-lean { display: grid; gap: 16px; }
.psct-lean__scale { position: relative; padding-top: 34px; }
.psct-lean__scale::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 10px; background: linear-gradient(90deg, #E5F0E7, var(--psct-chip) 50%, #FCE9E7); }
.psct-lean__mark { position: absolute; top: 4px; width: 34%; height: 30px; left: 33%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.7) 0%, rgba(0,0,0,.28) 38%, rgba(0,0,0,0) 70%); transition: left .45s ease; pointer-events: none; }
.psct-lean__scale ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.psct-lean__scale li { font-size: 14px !important; font-weight: 700; color: #000 !important; line-height: 1.3 !important; }
.psct-lean__scale li:nth-child(2) { text-align: center; }
.psct-lean__scale li:nth-child(3) { text-align: right; }
.psct-lean__sum { font-size: 19px !important; }
.psct-lean__why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.psct-lean__why:empty { display: none; }
@media (max-width: 640px) { .psct-lean__why { grid-template-columns: 1fr; } }
.psct-why { padding: 12px 14px; }
.psct-why--far { background: #FCE9E7; } .psct-why--close { background: #E5F0E7; }
.psct-why ul { padding-left: 18px; display: grid; gap: 6px; }
.psct-why li { font-size: 15px !important; }
.psct-lean__plan ol { padding-left: 22px; display: grid; gap: 8px; }
.psct-lean__plan li { font-size: 16px !important; }
.psct-lean__caveat { font-size: 15px !important; font-style: italic; }
.psct-approach { background: #1C1B1A; color: #F2EFEA; padding: 20px; display: grid; gap: 12px; }
.psct-approach .psct__label { color: #D9CFBE !important; }
.psct-approach ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .psct-approach ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .psct-approach ol { grid-template-columns: 1fr; } }
.psct-approach li { display: grid; gap: 4px; align-content: start; background: rgba(255,255,255,.06); padding: 12px; color: #F2EFEA !important; font-size: 14px !important; line-height: 1.45 !important; }
.psct-approach li strong { color: #FFFFFF; font-size: 16px; }
.psct-approach li span:last-child { color: #E4DED4; }
.psct-approach__n { font: 800 13px/1 var(--rga-font, sans-serif); color: #FF6B5E; }
.psct-approach__note { color: #E4DED4 !important; font-size: 14px !important; }

/* ---- scam: meter, replies ---- */
.psct-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.psct-meter span { height: 8px; background: var(--psct-chip); }
.psct-meter[data-level="1"] span:nth-child(-n+2) { background: #E8B04B; }
.psct-meter[data-level="2"] span { background: var(--psct-red); }
.psct-replies ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .psct-replies ul { grid-template-columns: 1fr; } }
.psct-replies li { border: 1px solid var(--psct-line); padding: 14px; display: grid; gap: 6px; align-content: start; }
.psct-reply__h { font-size: 14px !important; font-weight: 700 !important; color: #000 !important; }
.psct-reply__t { font-size: 16px !important; background: var(--psct-bg); padding: 8px 10px; }
.psct-reply__n { font-size: 13px !important; color: var(--psct-muted) !important; }
.psct-replies .psct__btn { justify-self: start; }

/* ---- found cat: flow, post builder, city ---- */
.psct-flow { display: grid; gap: 12px; }
.psct-flow__static { padding-left: 22px; display: grid; gap: 10px; }
.psct-dots { display: flex; gap: 6px; }
.psct-dots span { width: 34px; height: 6px; background: var(--psct-chip); }
.psct-dots .is-done { background: #000; } .psct-dots .is-on { background: var(--psct-red); }
.psct-flow__q { font-size: 22px !important; font-weight: 700 !important; color: #000 !important; line-height: 1.3 !important; }
.psct-flow__hint { font-size: 15px !important; color: var(--psct-muted) !important; }
.psct-flow__ans { background: var(--psct-bg); border-left: 4px solid var(--psct-taupe); padding: 16px 18px; display: grid; gap: 10px; }
.psct-flow__ans.is-urgent { border-left-color: var(--psct-red); }
.psct-flow__ans.is-leave { border-left-color: var(--psct-green); }
.psct-flow__ans ul { padding-left: 20px; display: grid; gap: 6px; }
.psct-flow__ans li { font-size: 16px !important; }
.psct-found__more { display: grid; gap: 22px; border-top: 1px solid var(--psct-line); padding-top: 18px; }
.psct-post { display: grid; gap: 12px; }
.psct-post__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .psct-post__grid { grid-template-columns: 1fr; } }
.psct-post__out { font-size: 16px !important; background: var(--psct-bg); padding: 12px 14px; border: 1px dashed var(--psct-line); }
.psct-post__warn { color: var(--psct-text-red); font-weight: 700; }
.psct-post__note { font-size: 14px !important; color: var(--psct-muted) !important; }
.psct-city { display: grid; gap: 10px; }
.psct-city__row { display: flex; flex-wrap: wrap; gap: 10px; }
.psct-city__row select { width: auto; flex: 1 1 220px; min-height: 48px; }
.psct-city__prov { font-size: 15px !important; }


/* ===================== v3 components ===================== */
/* who to call */
.psct-who__form { display: grid; gap: 14px; }
.psct-who__segs { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.psct-who__res { gap: 14px; }
.psct-who__list { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; counter-reset: psctwho; }
.psct-who__list li { counter-increment: psctwho; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "n k t" "n s t"; gap: 2px 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--psct-line); }
.psct-who__list li::before { content: counter(psctwho); grid-area: n; font: 800 15px/1 var(--rga-font, sans-serif); color: #FFFFFF; background: #000; width: 26px; height: 26px; display: grid; place-items: center; }
.psct-who__list li:last-child { border-bottom: 0; }
.psct-who__k { grid-area: k; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--psct-muted); }
.psct-who__list strong { grid-area: s; font-size: 16px; line-height: 1.35; }
.psct-who__list strong a { color: #000; }
.psct-who__list .psct__tel { grid-area: t; font-size: 16px; }
@media (max-width: 560px) { .psct-who__list li { grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "n k" "n s" "n t"; } .psct-who__list .psct__tel { justify-self: start; } }
.psct-who__sp { background: #FFFFFF; border: 1px solid var(--psct-line); padding: 14px 16px; display: grid; gap: 8px; }
.psct-who__sp p { font-size: 15px !important; }
.psct-who__src { font-size: 13px !important; color: var(--psct-muted) !important; }
.psct-who__vets { font-size: 15px !important; }

/* notebook */
.psct-nb__static { display: grid; gap: 8px; }
.psct.is-live .psct-nb__static { display: none; }
.psct-nb__app { display: grid; gap: 16px; }
.psct-nb__count { display: inline-block; min-width: 22px; padding: 2px 6px; margin-left: 4px; font-size: 12px; background: var(--psct-chip); color: #000; }
.psct-nb__tabs button[aria-pressed="true"] .psct-nb__count { background: #FFFFFF; }
.psct-nb__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; align-items: end; margin: 0; }
@media (max-width: 640px) { .psct-nb__form { grid-template-columns: 1fr; } }
.psct-nb__form .psct__btn { justify-self: start; }
.psct-nb__list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--psct-line); }
.psct-nb__list li { padding: 12px 0; border-bottom: 1px solid var(--psct-line); display: grid; gap: 2px; }
.psct-nb__h { font-size: 16px !important; font-weight: 700 !important; color: #000 !important; }
.psct-nb__b { font-size: 15px !important; }
.psct-nb__empty { font-size: 15px !important; color: var(--psct-muted) !important; }
.psct-nb__next { background: var(--psct-bg); padding: 12px 14px; }
.psct-nb__next ul { padding-left: 20px; display: grid; gap: 4px; }

/* where cats hide */
.psct-hide__wrap { display: grid; gap: 16px; }
.psct-hide__art { position: relative; width: 100%; }
.psct-hide__art svg { display: block; width: 100%; height: auto; }
.psct .psct-hide__pin { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; border: 2px solid #FFFFFF;
  background: var(--psct-red); color: #FFFFFF; font: 800 14px/1 var(--rga-font, sans-serif); display: grid; place-items: center; padding: 0; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.psct .psct-hide__pin.is-on { background: #000; transform: translate(-50%, -50%) scale(1.25); }
@media (max-width: 560px) { .psct .psct-hide__pin { width: 28px; height: 28px; font-size: 12px; } }
.psct-hide__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 640px) { .psct-hide__list { grid-template-columns: 1fr; } }
.psct .psct-hide__item { width: 100%; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; text-align: left; background: #FFFFFF; border: 1.5px solid var(--psct-line);
  padding: 12px; cursor: pointer; font-family: inherit; color: inherit; text-transform: none; letter-spacing: 0; min-height: 44px; }
.psct .psct-hide__item:hover { border-color: #000; }
.psct-hide__list li.is-on .psct-hide__item { border-color: #000; background: var(--psct-bg); box-shadow: inset 4px 0 0 var(--psct-red); }
.psct-hide__n { width: 26px; height: 26px; border-radius: 50%; background: var(--psct-red); color: #FFFFFF; font: 800 13px/26px var(--rga-font, sans-serif); text-align: center; }
.psct-hide__list li.is-on .psct-hide__n { background: #000; }
.psct-hide__item strong { display: block; font-size: 16px; line-height: 1.3; }
.psct-hide__how { display: block; font-size: 15px; line-height: 1.45; color: var(--psct-ink); margin-top: 2px; font-weight: 400; }

/* door cards + sign */
.psct-big__app { display: grid; gap: 16px; }
.psct-big__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
@media (max-width: 760px) { .psct-big__grid { grid-template-columns: 1fr; } }
.psct-big__form { display: grid; gap: 14px; }
.psct-big__prev canvas { display: block; width: 100%; height: auto; border: 1px solid var(--psct-line); background: #FFFFFF; }
.psct-big__sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.psct.is-live .psct-big__static { display: none; }
.psct-big__static { display: grid; gap: 8px; }
.psct input[type="file"] { font-size: 15px; padding: 10px; background: var(--psct-bg); border: 2px dashed var(--psct-line); width: 100%; }

@media (prefers-reduced-motion: reduce) { .psct-lean__mark { transition: none; } .psct .psct-hide__pin.is-on { transform: translate(-50%, -50%); } }
@media print {
  .psct { border: 1px solid #999; break-inside: avoid; }
  .psct__seg, .psct__form, .psct__field, .psct__acts, .psct-city__row, .psct-replies .psct__btn { display: none !important; }
  .psct-approach { background: #FFFFFF; color: #000; border: 1px solid #999; }
  .psct-approach li, .psct-approach li strong, .psct-approach li span:last-child, .psct-approach__note { color: #000 !important; background: none; }
}

/* QA pass 2 (2026-11-17): let every grid child shrink under user text-spacing and
   narrow screens, and give every field an explicit focus ring (date and time
   fields in Chromium did not show :focus-visible). */
.psct > *, .psct__field, .psct-nb__form > *, .psct-stage, .psct-stage__head > *, .psct-big__grid > *, .psct-who__segs > * { min-width: 0; }
.psct input, .psct select, .psct textarea { min-width: 0; max-width: 100%; }
.psct input:focus, .psct select:focus, .psct textarea:focus { outline: 3px solid var(--psct-red); outline-offset: 2px; }
.psct__opt input:focus { outline: 0; }

/* QA fix: date and time fields focus their inner parts, so ring the field itself */
.psct input:focus-within, .psct input[type="datetime-local"]:focus, .psct input[type="date"]:focus { outline: 3px solid var(--psct-red) !important; outline-offset: 2px; box-shadow: 0 0 0 3px #ED0000; }
.psct .psct-who__h { font-family: inherit; font-size: 20px; line-height: 1.25; font-weight: 700; color: #000; margin: 0; }

/* Registry comparison table on the microchip guide (437): stacks into cards on phones. */
.psc-regtable caption { caption-side: top; text-align: left; font-size: 14px; color: var(--psct-label, #6B5D49); padding: 0 0 8px; }
.psc-regtable td, .psc-regtable th { vertical-align: top; overflow-wrap: break-word; }
@media (max-width: 760px) {
  .psc-regtable, .psc-regtable tbody, .psc-regtable tr, .psc-regtable th, .psc-regtable td, .psc-regtable caption { display: block; width: auto; }
  .psc-regtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .psc-regtable tr { border: 1px solid rgba(63,63,63,.18); border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; background: #fff; }
  .psc-regtable th[scope="row"] { font-size: 18px; padding: 0 0 6px; border: 0; background: none; text-align: left; }
  .psc-regtable td { padding: 8px 0; border: 0; border-top: 1px solid rgba(63,63,63,.1); }
  .psc-regtable td::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--psct-label, #6B5D49); margin-bottom: 2px; }
}
@media (min-width: 761px) {
  .psc-regtable { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
  .psc-regtable thead th { border-bottom: 2px solid #3F3F3F; padding: 0 12px 8px 0; text-align: left; }
  .psc-regtable tbody th, .psc-regtable tbody td { border-bottom: 1px solid rgba(63,63,63,.14); padding: 12px 12px 12px 0; text-align: left; }
}

/* ---- approaching a frightened dog (66) ---- */
.psct-appr__list { list-style: none; padding: 0 !important; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.psct.is-live:not(.is-all) .psct-appr__list { grid-template-columns: 1fr; }
.psct-appr__step figure { margin: 0; display: grid; gap: 10px; }
.psct-appr__step svg { display: block; width: 100%; height: auto; border: 1px solid var(--psct-line); }
.psct.is-live:not(.is-all) .psct-appr__step svg { max-width: 560px; }
.psct-appr__step figcaption { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; }
.psct-appr__n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #000; color: #fff; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.psct-appr__pos { font-weight: 700; font-size: 15px !important; min-width: 7em; }
.psct .psct__btn:disabled { opacity: .45; cursor: default; }

/* ---- which search method fits (search-service hub) ---- */
.psct-method__pane { display: grid; gap: 14px; border-top: 1px solid var(--psct-line); padding-top: 16px; }
.psct:not(.is-live) .psct-method__pane + .psct-method__pane { margin-top: 8px; }
.psct .psct-method__pane h4 { font-family: inherit; font-size: 20px; font-weight: 700; color: #000; margin: 0; }
.psct-method__row { display: grid; gap: 4px; }
.psct-method__fits { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.psct-method__fits li { border-left: 3px solid var(--psct-taupe); padding: 2px 0 2px 12px; }
.psct-method__limit { display: block; font-size: 15px; color: var(--psct-muted); }

/* ---- fireworks nights (425) ---- */
.psct-nights__strip { padding: 34px 4px 30px; overflow: hidden; }
.psct-nights__bar { position: relative; height: 10px; background: var(--psct-chip); border-radius: 5px; }
.psct-nights__m { position: absolute; top: 16px; width: 8.333%; text-align: center; font-size: 12px; font-weight: 700; color: var(--psct-label); }
.psct-nights__pin { position: absolute; top: -6px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--psct-taupe); border: 3px solid #fff; }
.psct-nights__pin--range { top: 0; height: 10px; margin-left: 0; border-radius: 5px; border: 0; background: rgba(127,113,91,.55); }
.psct-nights__pin.is-next { background: var(--psct-red); }
.psct-nights__lab { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: #000; display: none; }
@media (min-width: 700px) { .psct-nights__pin--vic .psct-nights__lab, .psct-nights__pin--can .psct-nights__lab, .psct-nights__pin--ny .psct-nights__lab, .psct-nights__pin--lny .psct-nights__lab { display: block; } .psct-nights__pin--ny .psct-nights__lab { left: auto; right: -6px; transform: none; } .psct-nights__pin--lny .psct-nights__lab { bottom: 12px; } }
.psct-nights__today { position: absolute; top: -10px; bottom: -10px; width: 2px; background: #000; }
.psct-nights__today span { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; background: #fff; padding: 0 3px; }
.psct-nights__list { list-style: none; padding: 0 !important; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.psct-nights__list li { border: 1px solid var(--psct-line); padding: 12px 14px; display: grid; gap: 6px; }
.psct-nights__list li.is-next { border-color: var(--psct-red); }
.psct-nights__name { display: grid; gap: 2px; }
.psct-nights__when { font-size: 15px; color: var(--psct-muted); }
.psct-nights__tag { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--psct-text-red); }
.psct-nights__list li p:not(.psct-nights__name) { font-size: 15px; }

/* ---- province tile map (directory archive) ---- */
.psct-tiles { list-style: none; margin: 16px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; max-width: 760px; }
.psct-tiles__t a { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1 / 1; padding: 8px; text-decoration: none; color: #000; border: 2px solid transparent; min-height: 44px; }
.psct-tiles__t a:hover { border-color: #000; }
.psct-tiles__t a:focus-visible { outline: 3px solid #ED0000; outline-offset: 2px; }
.psct-tiles__t--k1 a { background: #F0EDE9; } .psct-tiles__t--k2 a { background: #E2D9CC; } .psct-tiles__t--k3 a { background: #C9B9A2; } .psct-tiles__t--k4 a { background: #7F715B; color: #fff; }
.psct-tiles__a { font-size: 20px; font-weight: 800; line-height: 1; }
.psct-tiles__name { font-size: 12px; line-height: 1.2; }
.psct-tiles__n { font-size: 15px; font-weight: 700; }
.psct-tiles__t--yt { grid-area: 1 / 2; } .psct-tiles__t--nt { grid-area: 1 / 3; } .psct-tiles__t--nu { grid-area: 1 / 4; }
.psct-tiles__t--bc { grid-area: 2 / 1; } .psct-tiles__t--ab { grid-area: 2 / 2; } .psct-tiles__t--sk { grid-area: 2 / 3; } .psct-tiles__t--mb { grid-area: 2 / 4; }
.psct-tiles__t--on { grid-area: 2 / 5; } .psct-tiles__t--qc { grid-area: 2 / 6; } .psct-tiles__t--nl { grid-area: 2 / 7; }
.psct-tiles__t--nb { grid-area: 3 / 6; } .psct-tiles__t--pe { grid-area: 3 / 7; } .psct-tiles__t--ns { grid-area: 3 / 8; }
.psct-tiles__key { font-size: 13px; color: #6E6558; margin: 0 0 8px; }
.psct-tiles__alllist { margin-top: 4px; }
@media (max-width: 700px) { .psct-tiles { gap: 4px; } .psct-tiles__t a { padding: 4px; align-items: center; justify-content: center; gap: 2px; } .psct-tiles__name { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .psct-tiles__a { font-size: 15px; } .psct-tiles__n { font-size: 13px; } }
.psct .psct-appr__step figcaption, .psct .psct-appr__step figcaption span { color: var(--psct-ink); font-style: normal; opacity: 1; text-align: left; }
.psct .psct-nights__pin--ny .psct-nights__lab { right: 0; left: auto; transform: none; }
.psct-nights__today span { top: 32px; }
.psct-nights__strip { padding-bottom: 40px; }
