/* RapidEye checklist library - shared design system.
   Pages link this AFTER /styles.css. The library is one product: consistent
   anatomy across pages, content varies. Blog pages do NOT use this file. */

.cl-wrap { max-width: 1260px; margin: 0 auto; padding: 52px 48px 88px; font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #0A0E27; }

.cl-head { max-width: 780px; margin-bottom: 30px; }
.cl-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.cl-back {
  font-size: 0.85rem; font-weight: 500; color: #64748B; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; transition: color .3s cubic-bezier(0.25,0.1,0.25,1);
}
.cl-back:hover { color: #6F9ABF; }
.cl-tag {
  font-size: 0.7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: #6F9ABF; background: rgba(111,154,191,0.08); border: 1px solid #E2E8EF;
  padding: 4px 11px; border-radius: 100px;
}
.cl-head h1 {
  font-size: clamp(2rem, 4.2vw, 2.6rem); font-weight: 400; line-height: 1.12;
  letter-spacing: -0.035em; color: #0A0E27; margin: 0 0 14px;
}
.cl-dek { font-size: 1.12rem; line-height: 1.55; color: #475569; margin: 0 0 18px; }
.cl-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #94A3B8; }
.cl-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; }

/* Stat chips row */
.cl-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.cl-stat {
  border: 1px solid #E2E8EF; border-radius: 12px; background: #fff; padding: 10px 16px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.03);
}
.cl-stat b { display: block; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; color: #0A0E27; line-height: 1.15; }
.cl-stat span { display: block; font-size: 0.72rem; color: #64748B; margin-top: 1px; }

.cl-grid { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 84px; align-items: start; }
.cl-main { min-width: 0; }
.cl-aside { align-self: stretch; }
.cl-wrap a:hover { text-decoration: none; }

.cl-capsule {
  border-left: 3px solid #6F9ABF; background: #F8FAFB; border-radius: 0 12px 12px 0;
  padding: 14px 20px; margin: 0 0 20px;
}
.cl-capsule p { margin: 0; font-size: 0.97rem; line-height: 1.65; color: #334155; }
.cl-capsule b { color: #0A0E27; font-weight: 500; }

.cl-main h2 {
  font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; color: #0A0E27;
  margin: 2.6rem 0 0.85rem; scroll-margin-top: 92px;
}
.cl-main h3 { font-size: 1.05rem; font-weight: 500; color: #0A0E27; margin: 1.6rem 0 0.5rem; }
.cl-main p { font-size: 1.03rem; line-height: 1.72; color: #334155; margin: 0 0 1.15rem; }
.cl-main a { color: #5A87AE; text-decoration: none; border-bottom: 1px solid rgba(111,154,191,0.3); transition: border-color .3s, color .3s; }
.cl-main a:hover { color: #6F9ABF; border-color: #6F9ABF; }
.cl-main ul:not(.cl-items), .cl-main ol:not(.cl-items) { margin: 0.5rem 0 1.3rem 1.3rem; color: #334155; line-height: 1.72; }
.cl-main li:not(.cl-item) { margin-bottom: 0.5rem; padding-left: 0.2rem; font-size: 1.02rem; }
.cl-main li:not(.cl-item)::marker { color: #6F9ABF; }
.cl-main strong { color: #0A0E27; font-weight: 500; }
.cl-main hr { border: none; border-top: 1px solid #E8EBF0; margin: 3rem 0 0; }

/* Action bar: copy / print / agent */
.cl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.cl-action {
  display: inline-flex; align-items: center; gap: 7px; font-family: inherit;
  font-size: 0.85rem; font-weight: 500; color: #475569; background: #fff;
  border: 1px solid #E2E8EF; border-radius: 100px; padding: 8px 16px; cursor: pointer;
  text-decoration: none; transition: box-shadow .5s cubic-bezier(0.25,0.1,0.25,1), color .3s, border-color .3s;
}
.cl-action:hover {
  color: #0A0E27; border-color: rgba(111,154,191,0.4);
  box-shadow: 0 0 0 3px rgba(111,154,191,0.12), 0 6px 20px rgba(111,154,191,0.14);
}
.cl-action svg { color: #94A3B8; transition: color .3s; }
.cl-action:hover svg { color: #6F9ABF; }
.cl-action.done { color: #6F9ABF; border-color: rgba(111,154,191,0.45); }
.cl-action.done svg { color: #6F9ABF; }

/* Legend */
.cl-legend {
  display: flex; flex-wrap: wrap; gap: 14px 22px; border: 1px solid #EEEFF2; border-radius: 14px;
  background: #F8FAFB; padding: 14px 18px; margin: 0 0 26px; font-size: 0.82rem; color: #475569;
}
.cl-legend > span { display: inline-flex; align-items: center; gap: 7px; }

/* The checklist itself */
.cl-section { margin: 0 0 6px; }
.cl-section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin: 2.1rem 0 0.35rem; scroll-margin-top: 92px;
}
.cl-section-head h2, .cl-section-head h3 { margin: 0 !important; }
.cl-section-count { font-size: 0.75rem; color: #94A3B8; white-space: nowrap; }
.cl-section-note { font-size: 0.9rem; color: #64748B; line-height: 1.6; margin: 0 0 0.8rem !important; }

.cl-items { list-style: none; margin: 0 0 0.6rem !important; padding: 0 !important; border: 1px solid #EEEFF2; border-radius: 14px; background: #fff; overflow: hidden; }
.cl-main ol.cl-items li.cl-item { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 16px 26px; border-bottom: 1px solid #F0F2F5; margin: 0; font-size: 0.97rem; }
.cl-main ol.cl-items li.cl-item:last-child { border-bottom: 0; }
.cl-main ol.cl-items li.cl-item:nth-child(even) { background: #FCFDFE; }
.cl-check {
  width: 18px; height: 18px; border: 1.5px solid #CBD5E1; border-radius: 5px; margin-top: 2px;
  flex: none; cursor: pointer; position: relative; transition: border-color .2s, background .2s;
}
.cl-item { cursor: pointer; }
.cl-item.done .cl-check { background: #6F9ABF; border-color: #6F9ABF; }
.cl-item.done .cl-check::after {
  content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cl-item.done .cl-item-text { color: #94A3B8; }
.cl-progress { display: none; font-size: 0.8rem; font-weight: 500; color: #5A87AE; }
.cl-progress.on { display: inline-flex; align-items: center; gap: 6px; }
.cl-item-text { font-size: 0.97rem; line-height: 1.55; color: #334155; }
.cl-item-text small { display: block; font-size: 0.8rem; color: #8A97A8; margin-top: 2px; line-height: 1.5; }
.cl-chips { display: flex; gap: 6px; align-items: center; flex-wrap: nowrap; justify-content: flex-end; }
.cl-chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 0.66rem; font-weight: 600;
  letter-spacing: .03em; border-radius: 100px; padding: 2px 8px; border: 1px solid; white-space: nowrap;
}
.cl-chip.std { color: #5A87AE; border-color: rgba(111,154,191,0.35); background: rgba(111,154,191,0.07); }
.cl-chip.field { color: #8A6D3B; border-color: rgba(202,158,73,0.35); background: rgba(202,158,73,0.07); }
.cl-cam {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 7px; border: 1px solid; flex: none;
}
.cl-cam svg { width: 12px; height: 12px; }
.cl-cam.yes { color: #3E7A5E; border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.07); }
.cl-cam.partial { color: #8A6D3B; border-color: rgba(202,158,73,0.35); background: rgba(202,158,73,0.08); }
.cl-cam.no { color: #94A3B8; border-color: #E2E8EF; background: #F8FAFB; }

/* Agent block */
.cl-agent {
  border: 1px solid rgba(111,154,191,0.35); border-radius: 16px; background: #F4F8FB;
  padding: 20px 24px; margin: 1.2rem 0 1.6rem;
}
.cl-agent h3 { margin: 0 0 8px !important; font-size: 1.05rem !important; color: #0A0E27; }
.cl-agent p { font-size: 0.92rem !important; line-height: 1.65 !important; margin: 0 0 12px !important; color: #475569; }
.cl-agent code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; background: #fff; border: 1px solid #E2E8EF; border-radius: 5px; padding: 1px 6px; color: #5A87AE; }

/* Standards table */
.cl-tablewrap { margin: 14px 0 1.4rem; overflow-x: auto; border: 1px solid #EEEFF2; border-radius: 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
table.cl-table { border-collapse: collapse; width: 100%; min-width: 540px; background: #fff; }
.cl-table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #64748B; padding: 13px 16px; background: #F8FAFB; border-bottom: 1px solid #EEEFF2; }
.cl-table td { padding: 13px 16px; border-bottom: 1px solid #EEEFF2; font-size: 0.91rem; color: #475569; vertical-align: top; }
.cl-table tr:last-child td { border-bottom: 0; }
.cl-table td.k { font-weight: 700; color: #0A0E27; font-size: 0.9rem; white-space: nowrap; }

/* FAQ (same pattern as blog) */
.cl-faq { margin-top: 1rem; border-top: 1px solid #E8EBF0; }
.cl-faq details { border-bottom: 1px solid #E8EBF0; }
.cl-faq summary {
  list-style: none; cursor: pointer; padding: 17px 38px 17px 0; position: relative;
  font-size: 1.03rem; font-weight: 500; color: #0A0E27; transition: color .25s;
}
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary:hover { color: #5A87AE; }
.cl-faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid #94A3B8; border-bottom: 2px solid #94A3B8;
  transform: translateY(-65%) rotate(45deg); transition: transform .25s;
}
.cl-faq details[open] summary::after { transform: translateY(-35%) rotate(-135deg); }
.cl-faq details p { margin: 0 0 17px; font-size: 0.98rem; line-height: 1.7; color: #475569; }

/* Sources (same pattern as blog) */
.cl-sources { margin-top: 3rem; }
.cl-sources > h2 { margin-bottom: 0.6rem; }
.cl-sources-sub { font-size: 0.85rem; color: #64748B; line-height: 1.6; margin: 0 0 1rem !important; }
.cl-sources ol { margin: 0 !important; padding: 0 !important; list-style: none; counter-reset: src; }
.cl-sources li { counter-increment: src; position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid #F0F2F5; margin: 0 !important; }
.cl-sources li::before { content: counter(src); position: absolute; left: 0; top: 13px; font-size: 0.72rem; font-weight: 600; color: #6F9ABF; }
.cl-src-name { color: #0A0E27; font-weight: 500; font-size: 0.94rem; }
.cl-src-domain { display: block; color: #94A3B8; font-size: 0.78rem; margin-top: 2px; }

/* Keep reading + CTA (same pattern as blog) */
.cl-keep { margin-top: 3.2rem; }
.cl-keep > h2 { margin-bottom: 1.1rem; }
.cl-krgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cl-krcard {
  display: flex; flex-direction: column; gap: 8px; border: 1px solid #EEEFF2; border-radius: 14px;
  padding: 20px; text-decoration: none; background: #fff;
  transition: box-shadow .6s cubic-bezier(0.25,0.1,0.25,1);
}
.cl-krcard:hover { box-shadow: 0 10px 26px rgba(111,154,191,0.16); }
.cl-krtag { font-size: 0.66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #6F9ABF; }
.cl-krcard h3 { font-size: 0.96rem !important; font-weight: 500; color: #0A0E27; line-height: 1.35; margin: 0 !important; letter-spacing: -0.01em; }

.cl-cta {
  margin-top: 3rem; border: 1px solid #E2E8EF; border-radius: 16px; background: #F8FAFB;
  padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.cl-cta h3 { font-size: 1.12rem !important; font-weight: 500; color: #0A0E27; margin: 0 0 5px !important; }
.cl-cta p { font-size: 0.94rem !important; color: #475569; margin: 0 !important; max-width: 460px; line-height: 1.55; }
.cl-cta-btn {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; text-decoration: none;
  background: #6F9ABF; color: #fff; font-size: 0.94rem; font-weight: 500;
  padding: 12px 22px; border-radius: 11px; border: 1.5px solid #6F9ABF;
  transition: box-shadow .6s cubic-bezier(0.25,0.1,0.25,1);
}
.cl-cta-btn:hover { box-shadow: 0 0 0 4px rgba(111,154,191,0.25), 0 4px 16px rgba(111,154,191,0.3); }
.cl-main a.cl-cta-btn, .cl-main a.cl-cta-btn:hover { color: #fff; border-bottom: 1.5px solid #6F9ABF; }

/* Sidebar */
.cl-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; }
.cl-toc-title { font-size: 0.7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #94A3B8; margin: 0 0 12px; }
.cl-toc { border-left: 1px solid #E8EBF0; padding-left: 16px; }
.cl-toc a { display: block; font-size: 0.875rem; line-height: 1.4; color: #64748B; text-decoration: none; padding: 5px 0; transition: color .25s; position: relative; }
.cl-toc a:hover { color: #6F9ABF; }
.cl-toc a.active { color: #0A0E27; font-weight: 500; }
.cl-toc a.active::before { content: ""; position: absolute; left: -17px; top: 4px; bottom: 4px; width: 2px; background: #6F9ABF; border-radius: 2px; }

.cl-aside-cta { border: 1px solid #EEEFF2; border-radius: 16px; background: #fff; padding: 18px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.cl-aside-who { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.cl-aside-who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(111,154,191,0.4); }
.cl-aside-who b { display: block; font-size: 0.85rem; font-weight: 500; color: #0A0E27; line-height: 1.25; }
.cl-aside-who small { display: block; font-size: 0.72rem; color: #94A3B8; line-height: 1.3; }
.cl-aside-cta h4 { font-size: 1rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; color: #0A0E27; margin: 0 0 12px; }
.cl-aside-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  background: #6F9ABF; color: #fff; font-size: 0.88rem; font-weight: 500;
  padding: 10px 10px; border-radius: 10px; text-decoration: none;
  transition: box-shadow .6s cubic-bezier(0.25,0.1,0.25,1);
}
.cl-aside-btn:hover { box-shadow: 0 0 0 4px rgba(111,154,191,0.25), 0 4px 16px rgba(111,154,191,0.3); }
.cl-aside-note { margin: 10px 0 0; font-size: 0.75rem; color: #94A3B8; text-align: center; }

/* Print: the page becomes the handout */
@media print {
  .nav, .big-footer, .cl-aside, .cl-actions, .cl-agent, .cl-cta, .cl-keep, .cl-aside-cta, .read-progress { display: none !important; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-wrap { padding: 0; }
  .cl-item { break-inside: avoid; }
  .cl-section-head { break-after: avoid; }
  a { border-bottom: none !important; color: inherit !important; }
}

@media (max-width: 920px) {
  .cl-grid { grid-template-columns: 1fr; gap: 0; }
  .cl-aside { display: none; }
  .cl-wrap { padding: 44px 24px 72px; }
}
@media (max-width: 760px) { .cl-krgrid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .cl-wrap { padding: 32px 20px 56px; }
  .cl-item { grid-template-columns: 26px minmax(0,1fr); }
  .cl-chips { grid-column: 2; justify-content: flex-start; max-width: none; margin-top: 4px; }
  .cl-cta { flex-direction: column; align-items: flex-start; }
}
