/* Photo Identification (photo-identification.html; the Plant Risk Check until 9 October): the check, the result card and
   the survey enquiry, and the .pil landing page look that Before your survey keeps (21 October, late: the check's own
   page went camera first on the site's standard parts, so .pil no longer wraps it).
   Everything is scoped to .pil, .prc-page, .prc or a prc- class, so it sits on the site's own header, breadcrumb and
   footer (site.css) and changes nothing else. Risk colours are semantic and sit outside the brand
   palette; each passes 4.5 to 1 on its own tint (21 October, from the design system: high 6.4 to 1, medium 6.1 to 1). */
.pil, .prc-page, .prc { --high: #A61B1B; --high-bg: #FBE9E7; --medium: #8A4B00; --medium-bg: #FDF1DE; --low: #137738; --low-bg: #E5F3EA;
             --none: #646B78; --none-bg: #F4F7F5; }
.prc__col { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.prc select, .prc textarea { font: inherit; color: inherit; }

/* review copies only: the example picker */
.prc-review { padding: 14px 16px; border: 1px dashed var(--blue); background: var(--white); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

/* fields */
.prc-form { display: flex; flex-direction: column; gap: 16px; }
.prc-field { display: flex; flex-direction: column; gap: 6px; }
.prc-label { font-weight: 700; color: var(--forest); font-size: 15px; }
.prc-optional { font-weight: 400; color: var(--grey); font-size: 14px; }
.prc-field input[type="text"], .prc-field input[type="email"], .prc-field input[type="tel"], .prc-field select, .prc-field textarea {
  width: 100%; min-height: 44px; border: 1px solid var(--border); background: var(--white); color: var(--ink); padding: 10px 14px; font-size: 15px; border-radius: 0;
}
.prc-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.prc-field textarea { min-height: 120px; resize: vertical; display: block; }
.prc-field input::placeholder, .prc-field textarea::placeholder { color: var(--grey); opacity: 1; }
.prc-field input:focus, .prc-field select:focus, .prc-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.prc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prc-hint, .prc-note, .prc-small { font-size: 14.5px; color: var(--grey); }
.prc-note a, .prc-small a, .prc-readmore a { color: var(--green); font-weight: 700; }
.prc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.prc-actions .btn { min-width: 170px; }
.prc-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--grey); cursor: pointer; }
.prc-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--green); }
.prc .ts-box:empty { display: none; }

/* the question on a defence or secure site: asked before any photograph is checked */
.prc-auth { display: block; margin: 0; padding: 14px 16px 12px; min-width: 0; border: 1px solid var(--pale); border-left: 4px solid var(--leaf); background: var(--mint); }
.prc-auth legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; }
.prc-auth legend + * { clear: both; }
.prc-auth__opts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 8px; }
.prc-auth__opts .prc-check { align-items: center; color: var(--forest); font-size: 15.5px; font-weight: 700; }
.prc-auth__opts .prc-check input { margin: 0; }
.prc-auth .prc-hint { margin: 0; }
.prc-auth .prc-hint a, .prc-auth__stop a { color: var(--green); font-weight: 700; }
.prc-auth__need, .prc-auth__stop { margin: 10px 0 0; padding: 10px 14px; border-left: 4px solid var(--high); background: var(--high-bg); color: var(--ink); font-size: 15px; }
.prc-auth__stop:focus { outline: none; }
#prc-photo-field.is-off .prc-photo-actions label { opacity: .45; cursor: not-allowed; }

/* photographs */
.prc-photo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prc-photo-actions label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 84px; padding: 12px; border: 1px solid var(--pale); background: var(--mint); color: var(--forest); text-align: center; cursor: pointer; }
.prc-photo-actions label:hover { border-color: var(--leaf); }
.prc-photo-actions label:focus-within { outline: 2px solid var(--blue); outline-offset: 0; }
.prc-photo-actions input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.prc-big { font-weight: 700; font-size: 15.5px; }
.prc-photo-actions .prc-small { font-size: 13.5px; }
.prc-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.prc-thumb { position: relative; width: 96px; height: 96px; overflow: hidden; border: 1px solid var(--border); background: var(--white); }
.prc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prc-thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: var(--forest); color: var(--white); font-size: 17px; line-height: 1; cursor: pointer; }

/* progress and errors */
.prc-status { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-left: 4px solid var(--leaf); background: var(--mint); color: var(--forest); }
.prc-spin { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--pale); border-top-color: var(--green); animation: prc-spin .9s linear infinite; }
@keyframes prc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .prc-spin { animation: none; } }
.prc-status__text { flex: 1; min-width: 0; font-size: 15px; }
.prc-stop { font: 700 15px var(--sans); background: none; border: 0; color: var(--green); cursor: pointer; padding: 10px; min-height: 44px; }
.prc-error { padding: 12px 16px; border-left: 4px solid var(--high); background: var(--high-bg); color: var(--ink); font-size: 15px; }
.prc-status-line { padding: 12px 16px; border-left: 4px solid var(--leaf); background: var(--mint); color: var(--forest); font-size: 15px; }
.prc-status-line.is-error { border-color: var(--high); background: var(--high-bg); color: var(--ink); }

/* the result card */
.prc-card { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--border); border-top: 6px solid var(--leaf); padding: 18px 18px 22px; }
.prc-card:focus-within { outline: none; }
.prc-card h3 { font: 700 16px/1.3 var(--sans); color: var(--forest); }
.prc-card ul { margin-top: 6px; padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.prc-sec > * + * { margin-top: 6px; }
.prc-card__head { display: flex; flex-direction: column; gap: 4px; }
.prc-eyebrow-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prc-eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--green); font-weight: 700; }
.prc-species { font: 700 27px/1.2 var(--serif); color: var(--forest); }
.prc-species:focus { outline: none; }
.prc-species:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.prc-latin { font-style: italic; color: var(--grey); }
.prc-pill { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border: 1px solid var(--border); color: var(--grey); background: var(--page); }
.prc-conf-high { color: var(--low); border-color: var(--low); }
.prc-conf-medium { color: var(--medium); border-color: var(--medium); }
.prc-conf-low { color: var(--high); border-color: var(--high); }
.prc-risk { border-left: 6px solid var(--none); background: var(--none-bg); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.prc-risk__label { font: 700 21px/1.2 var(--serif); color: var(--none); }
.prc-risk__site { color: var(--grey); }
.prc-risk-high .prc-risk { border-color: var(--high); background: var(--high-bg); }
.prc-risk-high .prc-risk__label { color: var(--high); }
.prc-risk-medium .prc-risk { border-color: var(--medium); background: var(--medium-bg); }
.prc-risk-medium .prc-risk__label { color: var(--medium); }
.prc-risk-low .prc-risk { border-color: var(--low); background: var(--low-bg); }
.prc-risk-low .prc-risk__label { color: var(--low); }
.prc-restrict { border: 1px solid var(--high); border-left-width: 6px; background: var(--white); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.prc-restrict h3 { color: var(--high); }
.prc-restrict .btn { align-self: flex-start; border-color: var(--high); color: var(--high); background: var(--white); }
.prc-restrict .btn:hover { background: var(--high-bg); }
.prc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prc-chip { font-size: 14px; padding: 3px 10px; background: var(--mint); color: var(--forest); border: 1px solid var(--pale); }
.prc-alts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.prc-alts button { font: 700 14px var(--sans); min-height: 44px; padding: 9px 12px; border: 1px solid var(--forest); background: var(--white); color: var(--forest); cursor: pointer; }
.prc-alts button:hover { background: var(--mint); }
.prc-advice { padding: 10px 12px; border: 1px solid var(--pale); background: var(--page); }
/* Stop, secure, sign (9 October, late): on the page for anything rated medium or high */
.prc-sss { border: 2px solid var(--high); background: var(--white); }
.prc-sss h3 { margin: 0; padding: 9px 12px; background: var(--high); color: var(--white); font: 700 18px/1.25 var(--serif); }
.prc-sss ol { list-style: none; margin: 0; padding: 4px 12px 12px; }
.prc-sss ol > li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #F1D5D3; }
.prc-sss ol > li:last-child { border-bottom: 0; padding-bottom: 2px; }
.prc-sss__label { color: var(--high); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.prc-sss__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prc-sss__body ul { margin: 0; padding-left: 18px; }
.prc-sss__body li { margin: 0 0 4px; }
.prc-sss .prc-sss__sign { align-self: flex-start; border-color: var(--high); color: var(--high); background: var(--white); }
.prc-sss .prc-sss__sign:hover { background: var(--high-bg); }
@media (max-width: 420px) { .prc-sss ol > li { grid-template-columns: minmax(0, 1fr); } }
/* the review copies: the report's second half */
.prc-report { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-top: 4px solid var(--leaf); background: var(--page); }
.prc-steps { margin: 6px 0 0; padding-left: 22px; }
.prc-steps li { margin: 0 0 8px; }
.prc-steps strong { display: block; color: var(--forest); }
/* where it is, on the report form */
.prc-where { display: flex; flex-direction: column; gap: 8px; }
.prc-where.has-location .locate { border-color: var(--leaf); background: var(--white); }
.prc-where input { background: var(--white); }
.prc-cta { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.prc-cta .btn { align-self: flex-start; min-width: 200px; }
.prc-notice { font-size: 14.5px; color: var(--grey); border-top: 1px solid var(--border); padding-top: 12px; }
.prc-readmore { font-size: 15px; }

/* your check result by email (9 October): the offer in place of the held back sections */
.prc-offer { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--pale); border-top: 4px solid var(--leaf); background: var(--mint); }
.prc-offer h3 { font: 700 19px/1.25 var(--serif); color: var(--forest); }
.prc-offer .prc-field input { background: var(--white); }
/* sent: the rest of the result is in the email only (9 October) */
.prc-card .prc-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-weight: 400; }
.prc-card .prc-sent h3 { font: 700 19px/1.25 var(--serif); color: var(--forest); }
.prc-card .prc-sent p { color: var(--ink, #1D2722); }
.prc-card .prc-sent:focus { outline: none; }
.prc-card .prc-sent:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* the enquiry */
.prc-enquiry { display: flex; flex-direction: column; gap: 16px; }
.prc-enquiry__head h2 { font: 700 27px/1.2 var(--serif); color: var(--forest); }
.prc-enquiry__head p { margin-top: 8px; color: var(--grey); }
.prc-enquiry .field--locate { gap: 6px; }
.prc-enquiry .field--locate.has-location .locate { border-color: var(--leaf); }
.prc-sent { padding: 14px 16px; border-left: 4px solid var(--leaf); background: var(--mint); color: var(--forest); font-weight: 700; }
.prc-out { margin: 12px 0; background: var(--white); border: 1px solid var(--border); padding: 12px; white-space: pre-wrap; word-break: break-word; font: 14.5px/1.5 var(--sans); }
#prc-enquiry-done > * + * { margin-top: 12px; }

/* the closing note */
.prc-disclaimer { font-size: 14.5px; line-height: 1.55; color: var(--grey); max-width: 900px; }

@media (max-width: 768px) {
  .prc-grid { grid-template-columns: 1fr; }
  .prc-actions .btn, .prc-cta .btn { width: 100%; }
  .prc-card { padding: 16px 16px 20px; border-top-width: 4px; }
  .prc-species, .prc-enquiry__head h2 { font-size: 23px; }
}
@media (max-width: 420px) { .prc-photo-actions { grid-template-columns: 1fr; } }

/* ===========================================================================================================
   The landing page (21 October), from the mockup approved on the design canvas "Photo Identification page mockup",
   built from the design system guide supplied as a suggestion for pushing the app. On this page only: the design
   system's text colours and hairlines, its type sizes, 6px buttons and fields, 10 and 12px cards and 88px sections.
   The site's header, menu, breadcrumb and footer, its width and its self-hosted fonts stay as they are everywhere.
   =========================================================================================================== */
.pil { --pil-ink: #1D2A22; --pil-muted: #4A5A50; --pil-line: #DCE9E0; --pil-line-soft: #EEF3EF; --pil-mint-strong: #B9E4C9;
       --pil-y: 88px; color: var(--pil-ink); }
.pil .btn { border-radius: 6px; }
.pil-btn--lg { min-height: 56px; padding: 0 28px; font-size: 19px; }
.pil-btn--outline { background: var(--white); color: var(--forest); border: 2px solid var(--green); min-height: 48px; font-size: 17px; }
.pil-btn--outline:hover { background: var(--mint); }
.pil-btn--light { background: transparent; color: var(--white); border: 2px solid var(--mint); }
.pil-btn--light:hover { background: rgba(255, 255, 255, .1); }
.pil-btn--white { background: var(--white); color: var(--forest); }
.pil-btn--white:hover { background: var(--mint); }
.pil-eyebrow { font-size: 15px; line-height: 1.4; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.pil-eyebrow--light { color: var(--pil-mint-strong); }
.pil-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-size: 17px; font-weight: 700; color: var(--green); }
.pil-link:hover { color: var(--forest); }

/* section heads: a small label, then the heading */
.pil-head { margin-bottom: 48px; }
.pil-head h2, .pil .faq .sec-head h2 { font: 700 clamp(30px, 3.4vw, 42px)/1.15 var(--serif); color: var(--forest); text-wrap: balance; }
.pil-eyebrow + h2 { margin-top: 12px; }
.pil .pil-head--app { margin-bottom: 4px; }

/* the banner: headline, line, buttons, and an example result */
.pil-hero { background: var(--forest); color: var(--white); }
.pil-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; padding-top: var(--pil-y); padding-bottom: var(--pil-y); }
.pil-hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pil-hero h1 { font: 700 clamp(38px, 4.4vw, 60px)/1.08 var(--serif); color: var(--white); text-wrap: balance; }
.pil-hero__lead { font-size: 20px; line-height: 1.55; color: var(--mint); max-width: 640px; text-wrap: pretty; }
.pil-hero .btns { margin-top: 8px; gap: 16px; }
.pil-hero__note { font-size: 16px; line-height: 1.5; color: var(--pil-mint-strong); }
.pil-hero__side { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.pil-ex { width: 100%; max-width: 440px; margin: 0; background: var(--white); color: var(--pil-ink); border-radius: 12px; overflow: hidden; }
.pil-ex__head { display: flex; flex-direction: column; background: var(--mint); padding: 20px 24px; }
.pil-ex__eyebrow { font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.pil-ex__name { margin-top: 6px; font: 700 28px/1.2 var(--serif); color: var(--forest); }
.pil-ex__latin { margin-top: 2px; font-size: 16px; line-height: 1.5; font-style: italic; color: var(--pil-muted); }
.pil-ex__body { display: flex; flex-direction: column; padding: 4px 24px 24px; }
.pil-ex__rows { margin: 0 0 12px; }
.pil-ex__rows > div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--pil-line-soft); }
.pil-ex__rows > div:last-child { border-bottom: 0; }
.pil-ex__rows dt { flex: 0 0 92px; padding-top: 2px; font-size: 14px; line-height: 1.45; font-weight: 700; color: var(--pil-muted); }
.pil-ex__rows dd { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 16px; line-height: 1.5; }
.pil-ex__rows dd.pil-ex__risk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.pil-ex__risk > span:last-child { flex: 1 1 160px; min-width: 0; }
.pil-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-weight: 700; }
.pil-pill--high { background: var(--high-bg); color: var(--high); }

/* the check: the same check on the same page, with the page's spacing, corners and larger main buttons */
.pil .band.prc { padding: var(--pil-y) 0; }
.pil .prc-actions .btn { min-height: 52px; padding: 0 28px; font-size: 17px; }
.pil .prc-field input[type="text"], .pil .prc-field input[type="email"], .pil .prc-field input[type="tel"],
.pil .prc-field select, .pil .prc-field textarea, .pil .prc-out { border-radius: 6px; }
.pil .prc-photo-actions label, .pil .prc-auth, .pil .prc-review { border-radius: 10px; }

/* sections */
.pil-sec { padding: var(--pil-y) 0; background: var(--white); }
.pil-sec--rule { border-top: 1px solid var(--pil-line); }
.pil-sec--mint { background: var(--mint); }
.pil-card { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--white); border: 1px solid var(--pil-line); border-radius: 10px; }
.pil-card h3 { font: 700 22px/1.3 var(--serif); color: var(--forest); }
.pil-card p { font-size: 16px; line-height: 1.5; }
.pil-card .btn { align-self: flex-start; margin-top: 4px; }
.pil-card--mint { gap: 14px; padding: 32px; background: var(--mint); border-color: var(--mint); border-radius: 12px; }

/* how it works */
.pil-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pil-steps > li { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; border: 1px solid var(--pil-line); border-radius: 10px; }
.pil-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--mint); color: var(--forest); font: 700 22px/1 var(--serif); }
.pil-steps h3 { font: 700 21px/1.3 var(--sans); color: var(--forest); }
.pil-steps p { font-size: 16px; line-height: 1.5; color: var(--pil-muted); }

/* what you get */
.pil-split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; }
.pil-split__main { flex: 1 1 460px; min-width: 0; }
.pil-split__main .pil-head { margin-bottom: 32px; }
.pil-split__side { flex: 1 1 380px; min-width: 0; }
.pil-ticks { display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.5; }
.pil-ticks li { position: relative; padding-left: 40px; }
.pil-ticks li::before { content: ''; position: absolute; left: 0; top: .02em; width: 26px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='12' fill='%23E5F3EA'/%3E%3Cpath d='M7.5 13.5l3.5 3.5 7.5-8' fill='none' stroke='%23137738' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }

/* who it is for: each card opens its sector page */
.pil-who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pil-who > li { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--white);
  border: 1px solid var(--pil-line); border-radius: 10px; transition: box-shadow .15s; }
.pil-who h3 { font: 700 22px/1.3 var(--serif); color: var(--forest); }
.pil-who h3 a { text-decoration: none; }
.pil-who h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 10px; }
.pil-who h3 a:focus-visible { outline: none; }
.pil-who > li:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.pil-who > li:hover { box-shadow: 0 2px 12px rgba(10, 65, 30, .14); }
.pil-who > li:hover h3 a { text-decoration: underline; }
.pil-who p { font-size: 16px; line-height: 1.5; }
.pil-who .pil-who__for { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--green); }

/* next steps */
.pil-next { display: flex; flex-wrap: wrap; gap: 24px; }
.pil-route { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 40px; background: var(--forest);
  color: var(--white); border-radius: 12px; }
.pil-route h3 { font: 700 30px/1.2 var(--serif); color: var(--white); }
.pil-route p:not(.pil-eyebrow) { font-size: 18px; line-height: 1.55; color: var(--mint); }
.pil-route .btn { align-self: flex-start; margin-top: 8px; }
.pil-next__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

/* the marks */
.pil-trust { background: var(--white); border-top: 1px solid var(--pil-line); border-bottom: 1px solid var(--pil-line); }
.pil-trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; padding-top: 44px; padding-bottom: 44px; }
.pil-trust__lead { flex: 0 1 300px; font: 700 22px/1.3 var(--serif); color: var(--forest); }
.pil-trust__marks { flex: 1 1 560px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.pil-trust__marks a { display: flex; align-items: center; border-radius: 2px; transition: opacity .15s; }
.pil-trust__marks a:hover { opacity: .75; }
.pil-trust__marks img { height: 56px; width: auto; }
.pil-trust__marks img.is-wide { height: 30px; }
.pil-trust__marks img.is-mid { height: 40px; }

/* questions people ask */
.pil .faq { padding: var(--pil-y) 0; }
.pil .faq .sec-head::before { display: none; }
.pil .faq .wrap > .sec-head + * { margin-top: 32px; }
.pil .faq__list { max-width: 860px; border-top-color: var(--pil-line); }
.pil .faq__item { border-bottom-color: var(--pil-line); }
.pil .faq__item summary { padding: 16px 40px 16px 0; font-size: 19px; }
.pil .faq__item summary::after { top: 14px; font-size: 26px; }
.pil .faq__item p { padding-bottom: 20px; font-size: 18px; line-height: 1.55; color: var(--pil-ink); }

/* the closing band */
.pil-close { background: var(--green); color: var(--white); }
.pil-close__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding-top: var(--pil-y); padding-bottom: var(--pil-y); }
.pil-close__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pil-close h2 { font: 700 clamp(30px, 3.4vw, 42px)/1.15 var(--serif); color: var(--white); }
.pil-close p { font-size: 20px; line-height: 1.55; }
.pil .prc-foot { padding: 40px 0; }

@media (max-width: 1080px) {
  .pil { --pil-y: 64px; }
  .pil-steps, .pil-who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .pil { --pil-y: 48px; }
  .pil-head { margin-bottom: 28px; }
  .pil-eyebrow { font-size: 14px; }
  .pil-hero__inner { gap: 36px; }
  .pil-hero__text { gap: 16px; }
  .pil-hero__lead { font-size: 18px; }
  .pil-hero .btns { gap: 12px; }
  .pil-hero .btns .btn, .pil-close .btn { flex: 1 1 100%; }
  .pil-btn--lg { min-height: 52px; padding: 0 22px; font-size: 18px; }
  .pil-ex__head { padding: 18px 20px; }
  .pil-ex__name { font-size: 26px; }
  .pil-ex__body { padding: 4px 20px 20px; }
  .pil-ex__rows dt { flex-basis: 76px; }
  .pil-card, .pil-steps > li, .pil-who > li { padding: 22px 20px; }
  .pil-card--mint { padding: 24px 20px; }
  .pil-steps h3 { font-size: 19px; }
  .pil-card h3, .pil-who h3 { font-size: 20px; }
  .pil-ticks { font-size: 17px; }
  .pil-route { padding: 28px 22px; }
  .pil-route h3 { font-size: 26px; }
  .pil-route p:not(.pil-eyebrow) { font-size: 17px; }
  .pil-route .btn { align-self: stretch; }
  .pil-trust__inner { padding-top: 32px; padding-bottom: 32px; }
  .pil-trust__lead { flex-basis: 100%; font-size: 20px; }
  .pil-trust__marks { gap: 16px 24px; }
  .pil-trust__marks img { height: 44px; }
  .pil-trust__marks img.is-wide { height: 24px; }
  .pil-trust__marks img.is-mid { height: 32px; }
  .pil .faq__item summary { font-size: 17px; }
  .pil .faq__item p { font-size: 16px; }
  .pil-close p { font-size: 18px; }
  .pil .prc-foot { padding: 28px 0; }
}
@media (max-width: 600px) {
  .pil-steps, .pil-who { grid-template-columns: minmax(0, 1fr); }
  /* each step's number beside its words, so the four steps take less of the screen */
  .pil-steps { gap: 16px; }
  .pil-steps > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; align-items: start; }
  .pil-steps__n { grid-row: 1 / span 2; }
  .pil-steps h3 { align-self: center; min-height: 44px; display: flex; align-items: center; }
}

/* 21 October, late: camera first. The two photograph buttons sit in the standard banner; the rest of the check follows */
.prc-shoot { margin-top: 26px; }
.prc-shoot .btns { gap: 12px; }
.prc-shoot label.btn { position: relative; min-height: 52px; padding: 0 24px; font-size: 16px; gap: 10px; }
.prc-shoot .prc-shoot__camera { min-height: 64px; padding: 0 36px; font-size: 20px; gap: 12px; }   /* bigger and blue (the client, 21 October) */
.prc-shoot .prc-shoot__camera svg { width: 26px; height: 26px; }
.prc-shoot label.btn input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.prc-shoot label.btn:focus-within { outline: 2px solid var(--white); outline-offset: 2px; }
.prc-shoot label.btn svg { width: 20px; height: 20px; flex: none; }
#prc-photo-field.is-off label.btn { opacity: .45; cursor: not-allowed; }
.prc-page .band.prc .sec-head { margin-bottom: 2px; }
#prc-photos .prc-hint { margin-top: 2px; }
.prc-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 700; font-size: 15px; color: var(--green); }
.prc-more summary::-webkit-details-marker { display: none; }
.prc-more summary::before { content: '+'; font-size: 20px; line-height: 1; }
.prc-more[open] summary::before { content: '\2212'; }
.prc-more__in { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
@media (max-width: 768px) {
  .prc-shoot { margin-top: 20px; }
  .prc-shoot .btns .btn { flex: 1 1 100%; }
  .prc-shoot .prc-shoot__camera { min-height: 60px; font-size: 19px; }
}
/* 22 October: on a computer the Take a photograph button opens the phone handover in the banner (the QR code and the link)
   instead of a file dialog; app.js shows it, a phone or tablet keeps the camera */
.hero__inner > .prc-handover { max-width: min(82%, 860px); }
.prc-handover { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 0 30px; align-items: center; margin-top: 22px; padding: 22px 56px 24px 26px; background: var(--white); color: var(--ink); border-left: 5px solid var(--blue); }
.prc-handover h2 { font: 700 20px/1.25 var(--serif); color: var(--forest); }
.prc-handover h2:focus { outline: none; }   /* focus moves here when the panel opens; the panel itself is the cue */
.prc-handover__text p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.prc-handover__text p a { color: var(--green); font-weight: 700; }
.prc-handover__text .prc-small { margin-top: 6px; }
.prc-handover__text .prc-small:empty { display: none; }
.prc-handover__code { margin: 0; }
.prc-handover__code svg { display: block; width: 100%; height: auto; }
.prc-handover__url { margin-top: 8px; font-size: 13.5px; line-height: 1.3; color: var(--grey); text-align: center; overflow-wrap: anywhere; }
.prc-handover__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; background: none; font: 700 16px/1 var(--sans); color: var(--forest); cursor: pointer; }
.prc-handover__close:hover, .prc-handover__close:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
@media (max-width: 768px) {
  .hero__inner > .prc-handover { max-width: none; }
  .prc-handover { grid-template-columns: minmax(0, 1fr); gap: 16px 0; padding: 18px 48px 20px 18px; }
  .prc-handover__code { width: 160px; }
}

/* What it can identify (the section's own page, 21 October, late): each row's name, its Latin name and its kind */
table.data--watch tbody th { vertical-align: top; }
table.data--watch tbody td { vertical-align: top; }
.data__latin { display: block; font-weight: 400; font-style: italic; color: var(--grey); font-size: 14px; }
.data__kind { display: block; margin-top: 4px; font-weight: 400; color: var(--green); font-size: 13.5px; }

/* On your phone (the section's own page, 21 October, late): the QR code in its panel */
.prc-qr { align-items: center; text-align: center; }
.prc-qr__code { width: 200px; max-width: 100%; margin: 0 auto; }
.prc-qr__code svg { display: block; width: 100%; height: auto; }
.prc-qr p { margin-top: 12px; font-size: 15px; color: var(--grey); word-break: break-all; }
.prc-winter { border-left: 4px solid var(--medium); background: var(--medium-bg); }
