/*
 * The Christmas Joyride: web front end.
 * Tokens come from christmasjoyride.com (data/branding/BRANDING.md). Artwork comes only from
 * assets/brand/ as CSS variables (--cjr-img-*) printed by Frontend::brand_css(). Nothing is drawn here.
 */

:root {
  --cjr-navy: #00457A;
  --cjr-red: #E02B20;
  --cjr-red-dark: #B8231A;
  --cjr-green: #079D49;
  --cjr-gold: #FCB900;
  --cjr-heading: #333333;
  --cjr-text: #666666;
  --cjr-ink: #112337;
  --cjr-label: #585E6A;
  --cjr-field: #686E77;
  --cjr-rule: #E6E6E6;
  --cjr-soft: #F7F7F7;
  --cjr-footer: #222222;
  --cjr-danger: #C02B0A;
  --cjr-display: "Fredoka One", "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --cjr-body: "Open Sans", Arial, sans-serif;
  --cjr-alt: "Fjalla One", "Open Sans", Arial, sans-serif;
  --cjr-band-bottom-h: calc(100vw * 245 / 1700);
  --cjr-band-top-h: calc(100vw * 158 / 1700);
  --cjr-bar-h: 64px;
}

/* ------------------------------------------------------------------ base */

html { -webkit-text-size-adjust: 100%; }
body.cjr {
  margin: 0;
  background: #fff;
  color: var(--cjr-text);
  font: 400 16px/1.7 var(--cjr-body);
  -webkit-font-smoothing: antialiased;
}
.cjr *, .cjr *::before, .cjr *::after { box-sizing: border-box; }
.cjr img, .cjr video, .cjr svg { max-width: 100%; }
.cjr img { height: auto; }
.cjr a { color: var(--cjr-navy); text-underline-offset: 2px; }
.cjr a:hover { color: var(--cjr-red); }
.cjr p { margin: 0 0 1em; }
.cjr h1, .cjr h2, .cjr h3, .cjr h4 { font-family: var(--cjr-display); font-weight: 400; color: var(--cjr-heading); margin: 0 0 .4em; line-height: 1.2; letter-spacing: 0; }
.cjr button { font-family: inherit; }
.cjr :focus-visible { outline: 3px solid var(--cjr-gold); outline-offset: 2px; }
.cjr [hidden] { display: none !important; }

.cjr-h1 { font-size: clamp(30px, 4.6vw, 56px); }
.cjr-h2 { font-size: clamp(26px, 3.2vw, 40px); }
.cjr-h3 { font-size: clamp(20px, 2vw, 24px); }
.cjr-h4 { font-size: 20px; }
.cjr-h3 small, .cjr-h2 small { font-family: var(--cjr-body); font-size: 14px; color: var(--cjr-label); }
.cjr-lede { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; max-width: 800px; }
.cjr-kicker { font-family: var(--cjr-display); color: var(--cjr-green); font-size: clamp(20px, 2.2vw, 26px); }
.cjr-green { color: var(--cjr-green) !important; }
.cjr-center { text-align: center; }
.cjr-small { font-size: 14px; color: var(--cjr-label); }
.cjr-strong { font-weight: 700; color: var(--cjr-heading); }
.cjr-help { font-size: 13px; color: var(--cjr-label); margin: 6px 0 0; }
.cjr-loading { color: var(--cjr-label); font-style: italic; list-style: none; }
.cjr-error { color: var(--cjr-danger); font-weight: 600; }
.cjr-error:empty, .cjr-form-msg:empty { display: none; }
.cjr-form-msg { font-weight: 600; color: var(--cjr-heading); margin: 12px 0; }
.cjr-sr, .cjr-skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cjr-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; background: #fff; color: var(--cjr-navy); padding: 10px 16px; border-radius: 40px; font-weight: 700; }
.cjr-ico { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }

.cjr-wrap { max-width: 1080px; margin: 0 auto; padding: 36px 20px 64px; }
.cjr-width-narrow .cjr-wrap { max-width: 780px; }
.cjr-width-wide .cjr-wrap { max-width: 1280px; }
.cjr-pagehead { text-align: center; margin: 0 auto 28px; }
.cjr-pagehead .cjr-lede { margin: 0 auto 1em; }
.cjr-pagehead--row { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; text-align: left; flex-wrap: wrap; }
.cjr-pagehead--row .cjr-lede { margin: 0; }
.cjr-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cjr-row > .cjr-input { flex: 1 1 200px; }
.cjr-row--end { justify-content: flex-end; }
.cjr-stack { display: grid; gap: 10px; }
.cjr-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cjr-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ------------------------------------------------------------------ buttons (site: red pill, 40px radius, 2px border, arrow on hover) */

.cjr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  position: relative;
  background: var(--cjr-red); color: #fff !important;
  border: 2px solid var(--cjr-red); border-radius: 40px;
  padding: 6px 20px; min-height: 48px;
  font: 500 19px/1.6 var(--cjr-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: all .3s ease;
}
.cjr-btn::after {
  content: "\203A"; font-size: 1.35em; line-height: 1; margin-left: -0.4em; opacity: 0; width: 0;
  transition: all .3s ease;
}
.cjr-btn:hover { color: #fff; padding-left: 14px; padding-right: 26px; }
.cjr-btn:hover::after { opacity: 1; margin-left: 2px; width: .45em; }
.cjr-btn:active { background: var(--cjr-red-dark); border-color: var(--cjr-red-dark); }
.cjr-btn[disabled], .cjr-btn[aria-busy="true"] { opacity: .65; cursor: default; }
.cjr-btn[disabled]:hover, .cjr-btn[aria-busy="true"]:hover { padding-left: 20px; padding-right: 20px; }
.cjr-btn[disabled]::after { display: none; }
.cjr-btn--small { font-size: 15px; min-height: 38px; padding: 3px 16px; }
.cjr-btn--small:hover { padding-left: 12px; padding-right: 20px; }
.cjr-btn--big { font-size: 22px; min-height: 58px; padding: 8px 32px; }
.cjr-btn--big:hover { padding-left: 26px; padding-right: 38px; }
.cjr-btn--block { width: 100%; }
.cjr-btn--green { background: var(--cjr-green); border-color: var(--cjr-green); }
.cjr-btn--green:active { background: #067a39; border-color: #067a39; }
.cjr-btn--ghost { background: transparent; color: var(--cjr-red) !important; }
.cjr-btn--ghost:hover { color: var(--cjr-red) !important; }
.cjr-btn--ghost-light { background: transparent; border-color: #fff; color: #fff !important; }
.cjr-btn .cjr-ico { width: 1em; height: 1em; }
.cjr-btn.is-on { background: #fff; color: var(--cjr-green) !important; }

.cjr-link-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--cjr-navy); font: 600 15px var(--cjr-body); text-decoration: underline; text-underline-offset: 3px;
}
.cjr-link-btn:hover { color: var(--cjr-red); }
.cjr-linklike { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.cjr-linklike:hover { color: var(--cjr-red); }
.cjr-icon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--cjr-rule); border-radius: 40px;
  padding: 7px 14px; min-height: 40px; cursor: pointer;
  color: var(--cjr-heading); font: 600 14px var(--cjr-body); text-decoration: none;
}
.cjr-icon-btn:hover { border-color: var(--cjr-navy); color: var(--cjr-navy); }
.cjr-icon-btn.is-on { color: var(--cjr-red); border-color: var(--cjr-red); }
.cjr-icon-btn[disabled] { opacity: .35; cursor: default; }
.cjr-file { position: relative; overflow: hidden; }
.cjr-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ------------------------------------------------------------------ hero: the layer stack */

.cjr-hero {
  position: relative; z-index: 20; isolation: isolate; overflow: hidden;
  background-color: var(--cjr-navy);
  color: #fff;
  padding-bottom: calc(var(--cjr-band-bottom-h) * .72);
}
/* 2. snow: the exact file stretched to cover, like the live site's hero (big flakes, no visible repeat) */
.cjr-hero__snow { position: absolute; inset: 0; z-index: 0; background-image: var(--cjr-img-snow); background-repeat: no-repeat; background-size: cover; background-position: center; pointer-events: none; }
/* 3. bands: the same frame file drawn twice and clipped. Never cropped or edited. */
.cjr-band { position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; background-repeat: no-repeat; background-size: 100% auto; }
.cjr-band--top { top: 0; height: var(--cjr-band-top-h); background-image: var(--band-top); background-position: center top; }
.cjr-band--bottom { bottom: -1px; height: var(--cjr-band-bottom-h); background-image: var(--band); background-position: center bottom; }
.is-home-band .cjr-band--bottom { height: calc(100vw * 800 / 1700); max-height: 100%; }
.cjr-hero:not(.has-bottom) { padding-bottom: 28px; }
.cjr-hero.has-top .cjr-topbar { margin-top: calc(var(--cjr-band-top-h) * .82); }

/* 4. characters sit in the treeline */
.cjr-char { position: absolute; z-index: 2; pointer-events: none; height: auto; }
.cjr-char--tree { left: 3.5%; width: clamp(46px, 10vw, 180px); bottom: calc(var(--cjr-band-bottom-h) * .16); }
.cjr-char--santa { right: 3.5%; width: clamp(64px, 13.5vw, 240px); bottom: calc(var(--cjr-band-bottom-h) * .08); }
.cjr-char--snowman { right: 18%; width: clamp(50px, 8vw, 140px); bottom: calc(var(--cjr-band-bottom-h) * .12); }

/* 5. logo */
.cjr-hero__logo { position: relative; z-index: 3; text-align: center; padding: 4px 20px 0; }
.cjr-hero__logo img { display: inline-block; width: clamp(210px, 25vw, 340px); height: auto; }
.cjr-hero--full .cjr-hero__logo img { width: clamp(240px, 30vw, 400px); }
.cjr-hero--full { padding-bottom: calc(var(--cjr-band-bottom-h) * .8); }

/* top bar + nav */
.cjr-topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; max-width: 1280px; margin: 0 auto; }
.cjr-topbar__logo img { display: block; width: auto; height: 54px; }
.cjr-nav { flex: 1; display: flex; justify-content: center; }
.cjr-nav__toggle { display: none; }
.cjr-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.cjr-nav__list a {
  display: block; padding: 6px 14px; border-radius: 40px;
  font: 400 17px/1.4 var(--cjr-display); color: #fff; text-decoration: none; letter-spacing: .2px;
  transition: background-color .2s ease;
}
.cjr-nav__list a:hover { background: rgba(255,255,255,.14); color: #fff; }
.cjr-nav__list .current-menu-item > a, .cjr-nav__list a[aria-current="page"] { background: var(--cjr-red); color: #fff; }
body.logged-in .cjr-menu-login { display: none; }
.cjr-joyride-link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  border: 2px solid #fff; border-radius: 40px; padding: 5px 14px;
  color: #fff !important; text-decoration: none; font: 600 15px var(--cjr-body);
}
.cjr-joyride-link:hover { background: #fff; color: var(--cjr-navy) !important; }
.cjr-joyride-link__count { background: var(--cjr-red); color: #fff; border-radius: 20px; min-width: 24px; padding: 0 7px; text-align: center; font-size: 13px; line-height: 22px; }

/* slim map header */
.cjr-hero.cjr-hero--bar { padding: 0; height: var(--cjr-bar-h); }
.cjr-hero--bar .cjr-topbar { max-width: none; height: 100%; padding: 0 14px; }

/* Compact nav: the default. shell.js adds .is-wide to the header when the full menu fits on one line. */
.cjr-hero:not(.is-wide) .cjr-nav { flex: 0 0 auto; order: -1; justify-content: flex-start; }
.cjr-hero--bar:not(.is-wide) .cjr-nav { order: 2; }
.cjr-hero:not(.is-wide) .cjr-nav__toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cjr-navy); border: 2px solid #fff; border-radius: 40px; color: #fff;
  padding: 6px 14px; min-height: 40px; font: 600 15px var(--cjr-body); cursor: pointer;
}
.cjr-nav__bars { display: inline-grid; gap: 3px; }
.cjr-nav__bars i { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; }
.cjr-hero:not(.is-wide) .cjr-nav__list {
  display: none; position: absolute; left: 12px; right: 12px; top: calc(100% + 4px); z-index: 2000;
  background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.28);
  flex-direction: column; gap: 2px; max-width: 420px;
}
.cjr-hero:not(.is-wide) .cjr-nav.is-open .cjr-nav__list { display: flex; }
.cjr-hero:not(.is-wide) .cjr-nav__list a { color: var(--cjr-navy); font-size: 19px; padding: 10px 14px; }
.cjr-hero:not(.is-wide) .cjr-nav__list a:hover { background: var(--cjr-soft); color: var(--cjr-navy); }
.cjr-hero:not(.is-wide) .cjr-nav__list .current-menu-item > a, .cjr-hero:not(.is-wide) .cjr-nav__list a[aria-current="page"] { color: #fff; }
.cjr-hero:not(.is-wide) { overflow: visible; }
.cjr-hero--bar .cjr-nav__list a { font-size: 16px; padding: 5px 11px; }
.cjr-hero--bar:not(.is-wide) .cjr-nav__list a { font-size: 19px; padding: 10px 14px; }
@media (max-width: 600px) {
  .cjr-joyride-link span { display: none; }
  .cjr-joyride-link { padding: 6px 10px; }
  .cjr-topbar { padding: 10px 12px; }
  .cjr-topbar__logo img { height: 44px; }
  .cjr-hero__logo img { width: min(78vw, 290px); }
  .cjr-hero--full .cjr-hero__logo img { width: min(84vw, 320px); }
  .cjr-hero { padding-bottom: calc(var(--cjr-band-bottom-h) * .9 + 8px); }
}

/* ------------------------------------------------------------------ footer (site: #222 bar, bold uppercase #666) */

.cjr-footer { background: var(--cjr-footer); color: #8a8a8a; padding: 22px 20px 18px; }
.cjr-footer__inner { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.cjr-footer__mark { margin: 0; font: 700 14px var(--cjr-body); text-transform: uppercase; letter-spacing: .5px; color: #8a8a8a; }
.cjr-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cjr-footer__links a { color: #bdbdbd; font-size: 14px; text-decoration: none; }
.cjr-footer__links a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ forms (site: Gravity Forms Orbital, re-skinned to brand) */

.cjr-form { max-width: 760px; margin: 0 auto; }
.cjr-form--tight { max-width: none; }
.cjr-field { margin: 0 0 18px; }
.cjr-field > label, .cjr-label { display: block; font: 600 14px/1.4 var(--cjr-body); color: var(--cjr-ink); margin-bottom: 6px; }
.cjr-field em, .cjr-label em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--cjr-danger); }
.cjr-input {
  display: block; width: 100%; min-height: 46px; padding: 0 12px;
  font: 400 16px/1.4 var(--cjr-body); color: var(--cjr-ink); background: #fff;
  border: 1px solid var(--cjr-field); border-radius: 3px; box-shadow: 0 1px 4px rgba(18,25,97,.08);
}
textarea.cjr-input { padding: 12px; min-height: 120px; resize: vertical; }
select.cjr-input { padding-right: 32px; }
.cjr-input:focus { outline: none; border-color: var(--cjr-navy); box-shadow: 0 0 0 3px rgba(0,69,122,.25); }
.cjr-input[aria-invalid="true"] { border-color: var(--cjr-danger); }
.cjr-step { border: 0; border-top: 1px solid var(--cjr-rule); margin: 0; padding: 26px 0 8px; min-width: 0; }
.cjr-step legend { font: 400 24px/1.3 var(--cjr-display); color: var(--cjr-heading); padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; float: left; width: 100%; }
.cjr-step legend + * { clear: both; }
.cjr-step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cjr-green); color: #fff; font: 400 18px var(--cjr-display); flex: none; }
.cjr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cjr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.cjr-span-2 { grid-column: span 2; }
.cjr-span-4 { grid-column: 1 / -1; }
@media (max-width: 640px) { .cjr-grid-2, .cjr-grid-4 { grid-template-columns: 1fr 1fr; } .cjr-grid-2 > * { grid-column: 1 / -1; } .cjr-span-2 { grid-column: 1 / -1; } }
.cjr-check { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0; font-size: 15px; color: var(--cjr-ink); cursor: pointer; }
.cjr-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--cjr-red); flex: none; }
.cjr-disclosure { font-size: 13px; line-height: 1.6; color: var(--cjr-label); border: 1px solid rgba(104,110,119,.35); padding: 12px 16px; border-radius: 3px; margin: 12px 0; }
.cjr-disclosure:empty { display: none; }
.cjr-select { display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--cjr-body); color: var(--cjr-ink); }
.cjr-select select { min-height: 42px; border: 1px solid var(--cjr-field); border-radius: 40px; padding: 0 34px 0 16px; font: 600 15px var(--cjr-body); color: var(--cjr-navy); background: #fff; }
.cjr-inline-form { margin: 18px 0; }
.cjr-copyline { display: flex; gap: 8px; align-items: center; }
.cjr-copyline .cjr-input { flex: 1; min-width: 0; font-weight: 600; color: var(--cjr-navy); }
.cjr-copyline--big .cjr-input { min-height: 54px; font-size: 17px; }
.cjr-notice { border-left: 4px solid var(--cjr-green); background: #eef8f2; padding: 12px 16px; color: var(--cjr-ink); border-radius: 0 6px 6px 0; }
.cjr-error[role="alert"]:not(:empty) { border-left: 4px solid var(--cjr-danger); background: #fdf1ef; padding: 10px 14px; border-radius: 0 6px 6px 0; }
.cjr-review-note { background: #fff7db; border: 1px solid var(--cjr-gold); padding: 12px 16px; border-radius: 6px; }
.cjr-renew { margin: 0 0 18px; }
.cjr-renew p { margin: 0 0 8px; }
.cjr-renew p:last-child { margin-bottom: 0; }

/* chips and tabs */
.cjr-chip, .cjr-tab, .cjr-toggle__btn {
  flex: none; display: inline-flex; align-items: center;
  border: 1px solid rgba(0,69,122,.25); background: #fff; color: var(--cjr-navy);
  border-radius: 40px; padding: 7px 16px; min-height: 38px; cursor: pointer;
  font: 600 14px var(--cjr-body); white-space: nowrap;
}
.cjr-chip:hover, .cjr-tab:hover, .cjr-toggle__btn:hover { border-color: var(--cjr-navy); }
.cjr-chip.is-on, .cjr-tab.is-on, .cjr-toggle__btn.is-on { background: var(--cjr-navy); border-color: var(--cjr-navy); color: #fff; }
.cjr-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 18px; scrollbar-width: thin; }
.cjr-tabs .cjr-tab.is-on { background: var(--cjr-red); border-color: var(--cjr-red); }
.cjr-tabs--small .cjr-tab { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.cjr-toggle { display: inline-flex; gap: 0; border: 1px solid rgba(0,69,122,.25); border-radius: 40px; padding: 3px; background: #fff; }
.cjr-toggle__btn { border: 0; min-height: 34px; }
.cjr-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.cjr-chipcheck { position: relative; cursor: pointer; }
.cjr-chipcheck input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cjr-chipcheck span { display: inline-block; border: 1px solid var(--cjr-field); border-radius: 40px; padding: 6px 14px; font: 600 14px var(--cjr-body); color: var(--cjr-ink); background: #fff; }
.cjr-chipcheck input:checked + span { background: var(--cjr-green); border-color: var(--cjr-green); color: #fff; }
.cjr-chipcheck input:focus-visible + span { outline: 3px solid var(--cjr-gold); outline-offset: 2px; }

.cjr-badge { display: inline-block; border-radius: 20px; padding: 1px 10px; font: 700 11px/1.8 var(--cjr-body); text-transform: uppercase; letter-spacing: .6px; background: var(--cjr-soft); color: var(--cjr-heading); vertical-align: middle; margin-left: 6px; }
.cjr-badge--hot { background: var(--cjr-red); color: #fff; margin-left: 0; }
.cjr-badge--new, .cjr-badge--homeowner { background: var(--cjr-green); color: #fff; margin-left: 0; }
.cjr-badge--popular, .cjr-badge--sponsor { background: var(--cjr-gold); color: #3a2a00; margin-left: 0; }
.cjr-badge--agent { background: var(--cjr-navy); color: #fff; }
.cjr-post__name .cjr-badge { margin-left: 8px; }

/* ------------------------------------------------------------------ navy + snow panels (brand layers 1 and 2 reused) */

.cjr-owner, .cjr-winners, .cjr-app-band {
  position: relative; background-color: var(--cjr-navy); background-image: var(--cjr-img-snow); background-repeat: no-repeat; background-size: cover; background-position: center;
  color: #fff; border-radius: 12px;
}
.cjr-owner { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; margin-bottom: 24px; flex-wrap: wrap; }
.cjr-owner__label { margin: 0; font: 700 12px var(--cjr-body); text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.8); }
.cjr-owner__title { margin: 0; font: 400 24px/1.3 var(--cjr-display); color: #fff; }
.cjr-owner__rank { margin-left: 10px; background: var(--cjr-red); border-radius: 30px; padding: 0 10px; font-size: 18px; }
.cjr-owner__msg { margin: 4px 0 0; color: #fff; }
.cjr-owner__acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cjr-owner .cjr-link-btn, .cjr-app-band a:not(.cjr-btn):not(.cjr-store) { color: #fff; }
.cjr-app-band { margin: 40px auto 0; padding: 34px 28px; text-align: center; }
.cjr-app-band h2 { color: #fff; }
.cjr-app-band .cjr-stores { justify-content: center; }

.cjr-stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.cjr-store { display: inline-flex; flex-direction: column; justify-content: center; background: #111; color: #fff !important; border: 1px solid #fff; border-radius: 10px; padding: 6px 16px 7px; text-decoration: none; min-width: 150px; line-height: 1.15; }
.cjr-store small { font-size: 11px; }
.cjr-store b { font-size: 18px; font-weight: 600; }
.cjr-store:hover { background: #000; }

.cjr-soft { background: var(--cjr-soft); box-shadow: inset 0 100px 140px -40px rgba(0,0,0,.07); }
.cjr-cta-band { text-align: center; background: var(--cjr-soft); box-shadow: inset 0 100px 140px -40px rgba(0,0,0,.07); border-radius: 12px; padding: 36px 24px; margin-top: 48px; }
.cjr-cta-band p { max-width: 620px; margin: 0 auto 18px; }
.cjr-empty { text-align: center; padding: 28px 12px; list-style: none; }

/* ------------------------------------------------------------------ dialog, toast */

.cjr-dialog { border: 0; border-radius: 14px; padding: 26px 24px 24px; width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--cjr-text); }
.cjr-dialog--wide { width: min(760px, calc(100% - 24px)); }
.cjr-dialog::backdrop { background: rgba(0, 25, 50, .62); }
.cjr-dialog__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cjr-soft); cursor: pointer; display: grid; place-items: center; color: var(--cjr-heading); }
.cjr-dialog__title { font-size: 24px; padding-right: 40px; }
.cjr-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 100001; background: var(--cjr-navy); color: #fff; padding: 12px 20px; border-radius: 40px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: all .25s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.cjr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cjr-toast--bad { background: var(--cjr-danger); }

/* ------------------------------------------------------------------ map */

.cjr-page-map .cjr-main { height: calc(100vh - var(--cjr-bar-h)); height: calc(100dvh - var(--cjr-bar-h)); }
.cjr-map { position: relative; height: 100%; overflow: hidden; }
.cjr-map__canvas { position: absolute; inset: 0; background: #dfe7ee; }
.cjr-map .cjr-chips { position: absolute; z-index: 1000; top: 12px; left: 12px; right: 12px; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.cjr-map .cjr-chips::-webkit-scrollbar { display: none; }
.cjr-map .cjr-chip { box-shadow: 0 2px 8px rgba(0,0,0,.18); border-color: transparent; }
.cjr-map__legend { position: absolute; z-index: 999; top: 62px; left: 12px; display: flex; gap: 10px; flex-wrap: wrap; background: rgba(255,255,255,.92); border-radius: 20px; padding: 4px 12px; font: 600 12px var(--cjr-body); color: var(--cjr-ink); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cjr-legend__item { display: inline-flex; align-items: center; gap: 5px; }
.cjr-legend__item i { width: 11px; height: 11px; border-radius: 50%; background: var(--pin); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.cjr-map__locate { position: absolute; z-index: 1000; right: 14px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--cjr-navy); box-shadow: 0 2px 10px rgba(0,0,0,.25); cursor: pointer; display: grid; place-items: center; }
.cjr-map__locate .cjr-ico { width: 24px; height: 24px; }
.cjr-map__hint { position: absolute; z-index: 999; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(460px, calc(100% - 220px)); margin: 0; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: 0 4px 18px rgba(0,0,0,.2); font: 400 15px/1.5 var(--cjr-alt); color: var(--cjr-heading); text-align: center; }
.cjr-emblem {
  position: absolute; z-index: 1000; right: 16px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cjr-red); color: #fff !important; border: 2px solid #fff; border-radius: 40px;
  padding: 6px 18px 6px 6px; text-decoration: none; font: 600 17px var(--cjr-body);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.cjr-emblem:hover { background: var(--cjr-red-dark); }
.cjr-emblem__count { display: grid; place-items: center; min-width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--cjr-red); font: 400 19px var(--cjr-display); padding: 0 6px; }
.cjr-panel { position: absolute; z-index: 1100; top: 0; right: 0; bottom: 0; width: 430px; max-width: 100%; background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.2); overflow: hidden; display: flex; flex-direction: column; }
.cjr-panel__body { overflow-y: auto; padding: 0 0 24px; flex: 1; }
.cjr-panel__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: pointer; display: grid; place-items: center; color: var(--cjr-heading); }
.cjr-panel .cjr-loading, .cjr-panel .cjr-error { padding: 24px; }
.cjr-map.has-panel .cjr-emblem, .cjr-map.has-panel .cjr-map__locate { right: 446px; }
.cjr-map.has-panel .cjr-map__hint { display: none; }
.cjr-map.has-panel .cjr-chips { right: 442px; }
@media (max-width: 760px) {
  .cjr-panel { top: auto; left: 0; width: 100%; max-height: 80%; border-radius: 18px 18px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.25); }
  .cjr-panel::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #ccc; margin: 8px auto 0; flex: none; }
  .cjr-map.has-panel .cjr-emblem, .cjr-map.has-panel .cjr-map__locate { display: none; }
  .cjr-map.has-panel .cjr-chips { right: 12px; }
  .cjr-map__hint { width: calc(100% - 24px); bottom: 84px; font-size: 14px; }
  .cjr-map__legend { top: 58px; font-size: 11px; }
  .cjr-emblem__label { font-size: 15px; }
}
.cjr-pin-wrap { background: none; border: 0; }
.cjr-pin { position: absolute; left: 1px; top: 0; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--pin); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.cjr-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; }
.cjr-pin--hot { width: 30px; height: 30px; left: -1px; top: -4px; }
.cjr-cluster { background: none; }
.cjr-cluster span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--cjr-navy); color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 4px rgba(0,69,122,.3), 0 3px 10px rgba(0,0,0,.3); font: 400 15px var(--cjr-display); }
.cjr-you span { display: block; width: 18px; height: 18px; border-radius: 50%; background: #2EA3F2; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(46,163,242,.25); }
.cjr-num-pin { background: none; }
.cjr-num-pin span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cjr-red); color: #fff; border: 2px solid #fff; font: 400 14px var(--cjr-display); box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.leaflet-container { font: 14px var(--cjr-body); }
.leaflet-container a.leaflet-popup-close-button { color: var(--cjr-heading); }

/* ------------------------------------------------------------------ house card + carousel */

.cjr-card { display: flex; flex-direction: column; }
.cjr-card > :not(.cjr-carousel) { margin-left: 20px; margin-right: 20px; }
.cjr-card__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.cjr-votes { font: 700 14px var(--cjr-body); color: var(--cjr-heading); }
.cjr-card__title { font-size: 26px; margin: 8px 0 2px; }
.cjr-card__where { font-size: 14px; color: var(--cjr-label); margin: 0 0 10px; }
.cjr-card__desc { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 0; white-space: pre-line; }
.cjr-card__desc.is-open { display: block; }
.cjr-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cjr-card__actions .cjr-btn { font-size: 16px; padding-left: 10px; padding-right: 10px; }
.cjr-card__actions .cjr-btn:hover { padding-left: 6px; padding-right: 14px; }
.cjr-card__foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.cjr-sponsor { font-size: 13px; color: var(--cjr-label); margin: 8px 0 0; width: 100%; }
@media (max-width: 380px) { .cjr-card__actions { grid-template-columns: 1fr; } }

.cjr-carousel { position: relative; background: #0b2f52; aspect-ratio: 4 / 3; overflow: hidden; }
.cjr-carousel.is-empty { display: grid; place-items: center; color: rgba(255,255,255,.8); background-color: var(--cjr-navy); background-image: var(--cjr-img-snow); background-repeat: no-repeat; background-size: cover; background-position: center; }
.cjr-carousel__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cjr-carousel__track::-webkit-scrollbar { display: none; }
.cjr-carousel__slide { flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: start; }
.cjr-carousel__slide img, .cjr-carousel__slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.cjr-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--cjr-heading); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.cjr-carousel__nav--prev { left: 10px; }
.cjr-carousel__nav--next { right: 10px; }
.cjr-carousel__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 6px; justify-content: center; pointer-events: none; }
.cjr-carousel__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); }
.cjr-carousel__dots i.is-on { background: #fff; }
.cjr-carousel--big { aspect-ratio: 16 / 11; border-radius: 10px; }

/* ------------------------------------------------------------------ vote page + vote flow */

.cjr-vote__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.cjr-vote__info .cjr-h1 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 8px; }
.cjr-vote__count { font-size: 18px; }
.cjr-vote__count b { font: 400 30px var(--cjr-display); color: var(--cjr-red); }
.cjr-vote__flow:not(:empty) { border: 2px solid var(--cjr-rule); border-radius: 12px; padding: 20px; margin: 12px 0 18px; }
.cjr-vote__secondary { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.cjr-vote__info .cjr-prose { margin-top: 10px; }
@media (max-width: 860px) { .cjr-vote__grid { grid-template-columns: 1fr; gap: 18px; } .cjr-vote { padding-top: 16px; } .cjr-carousel--big { border-radius: 0; margin: 0 -20px; } }

.cjr-vote-step .cjr-h3 { margin-bottom: 12px; }
.cjr-voted-flag { display: inline-block; background: var(--cjr-green); color: #fff; font: 700 12px var(--cjr-body); text-transform: uppercase; letter-spacing: 1px; padding: 2px 12px; border-radius: 20px; }
.cjr-cat-pick { display: grid; gap: 8px; margin: 12px 0; }
.cjr-cat { text-align: left; display: grid; gap: 2px; width: 100%; border: 1px solid var(--cjr-field); background: #fff; border-radius: 10px; padding: 12px 16px; cursor: pointer; font: 400 14px var(--cjr-body); color: var(--cjr-label); }
.cjr-cat b { font: 400 18px var(--cjr-display); color: var(--cjr-heading); }
.cjr-cat:hover { border-color: var(--cjr-red); }
.cjr-vote-done { outline: none; }
.cjr-vote-done .cjr-h2 { color: var(--cjr-green); }
.cjr-double { background: #fff7db; border: 1px solid var(--cjr-gold); border-radius: 10px; padding: 14px 16px; margin: 14px 0; }
.cjr-double p:last-child { margin-bottom: 0; }
.cjr-app-prompt { border-top: 1px solid var(--cjr-rule); margin-top: 18px; padding-top: 16px; }

.cjr-vote-sticky { display: none; }
@media (max-width: 860px) {
  .cjr-vote-sticky:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; gap: 12px; align-items: center; justify-content: space-between; background-color: var(--cjr-navy); background-image: var(--cjr-img-snow); background-repeat: no-repeat; background-size: cover; background-position: center; color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
  .cjr-vote-sticky span { display: grid; min-width: 0; line-height: 1.3; }
  .cjr-vote-sticky b { font: 400 17px var(--cjr-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cjr-vote-sticky small { font-size: 13px; opacity: .85; }
  .cjr-vote-sticky .cjr-btn { flex: none; border-color: #fff; }
}

/* ------------------------------------------------------------------ feed */

.cjr-feed .cjr-pagehead { margin-bottom: 20px; }
.cjr-compose { border: 1px solid var(--cjr-rule); border-radius: 12px; padding: 16px; margin-bottom: 26px; background: #fff; }
.cjr-compose__label { display: block; font: 400 20px var(--cjr-display); color: var(--cjr-heading); margin-bottom: 8px; }
.cjr-compose textarea { width: 100%; border: 1px solid var(--cjr-field); border-radius: 6px; padding: 12px; font: 400 16px/1.5 var(--cjr-body); color: var(--cjr-ink); resize: vertical; }
.cjr-compose textarea:focus { outline: none; border-color: var(--cjr-navy); box-shadow: 0 0 0 3px rgba(0,69,122,.25); }
.cjr-compose__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.cjr-compose__bar .cjr-btn { margin-left: auto; }
.cjr-compose__email:not([hidden]), .cjr-gate:not([hidden]) { background: var(--cjr-soft); border-radius: 8px; padding: 12px; margin-top: 10px; }
.cjr-thumb { position: relative; display: inline-block; margin-top: 10px; }
.cjr-thumb img { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; display: block; }
.cjr-thumb .cjr-icon-btn { position: absolute; top: -8px; right: -8px; padding: 4px; min-height: 0; }
.cjr-feed__list { list-style: none; margin: 0; padding: 0; }
.cjr-post { border-bottom: 1px solid var(--cjr-rule); padding: 20px 0; }
.cjr-post__pad > :last-child { margin-bottom: 0; }
.cjr-post__head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.cjr-post__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.cjr-post__avatar.is-initial { display: grid; place-items: center; background: var(--cjr-navy); color: #fff; font: 400 18px var(--cjr-display); }
.cjr-post__name { margin: 0; font-weight: 700; color: var(--cjr-heading); }
.cjr-post__when { margin: 0; font-size: 13px; color: var(--cjr-label); }
.cjr-post__body { color: var(--cjr-heading); white-space: pre-line; margin: 0 0 12px; font-size: 16px; }
.cjr-post__media { position: relative; margin: 6px 0 12px; border-radius: 10px; overflow: hidden; background: #0b2f52; }
.cjr-post__media img, .cjr-post__media video { display: block; width: 100%; max-height: 480px; object-fit: cover; }
.cjr-post__more { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.65); color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 20px; }
.cjr-post__hero { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.cjr-post__hero .cjr-post__media { margin-top: 0; }
.cjr-post__kicker { margin: 0; font: 400 15px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1px; color: var(--cjr-green); }
.cjr-post__title { font-size: 26px; margin: 2px 0 6px; }
.cjr-post--house .cjr-post__body { font-style: italic; }
.cjr-post--sponsor { background: var(--cjr-soft); border-radius: 12px; border: 0; padding: 18px; margin: 12px 0; }
.cjr-post--agent { border-left: 4px solid var(--cjr-navy); padding-left: 14px; }
.cjr-post__acts { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 8px; }
.cjr-post__act { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; border-radius: 20px; padding: 8px 12px; cursor: pointer; font: 600 14px var(--cjr-body); color: var(--cjr-label); min-height: 40px; }
.cjr-post__act:hover { background: var(--cjr-soft); color: var(--cjr-heading); }
.cjr-post__act.is-on { color: var(--cjr-red); }
.cjr-post__act--quiet { margin-left: auto; }
.cjr-tagchip { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 1px solid var(--cjr-rule); background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; margin: 4px 0 6px; font: 400 14px var(--cjr-body); color: var(--cjr-heading); }
.cjr-tagchip img { width: 36px; height: 36px; border-radius: 6px; object-fit: cover; }
.cjr-tagchip span { display: grid; flex: 1; }
.cjr-tagchip small { color: var(--cjr-label); }
.cjr-tagchip em { font-style: normal; color: var(--cjr-red); font-weight: 700; font-size: 13px; }
.cjr-tagchip.is-static { width: auto; display: inline-flex; cursor: default; }
.cjr-comments { background: var(--cjr-soft); border-radius: 10px; padding: 12px; margin-top: 8px; }
.cjr-comments__list { list-style: none; margin: 0 0 10px; padding: 0; }
.cjr-comment { padding: 6px 0; border-bottom: 1px solid var(--cjr-rule); color: var(--cjr-heading); font-size: 15px; }
.cjr-comments__form textarea { min-height: 70px; }
.cjr-search-results { list-style: none; margin: 12px 0 0; padding: 0; max-height: 50vh; overflow-y: auto; }
.cjr-result { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff; border: 0; border-bottom: 1px solid var(--cjr-rule); padding: 10px 6px; cursor: pointer; font: 600 15px var(--cjr-body); color: var(--cjr-heading); }
.cjr-result:hover { background: var(--cjr-soft); }
.cjr-result img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.cjr-feed__more { padding: 20px 0; }

/* ------------------------------------------------------------------ leaderboard */

.cjr-board .cjr-pagehead .cjr-select { margin-top: 6px; }
.cjr-board__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 10px 0 36px; }
@media (max-width: 800px) { .cjr-board__grid { grid-template-columns: 1fr; } }
.cjr-board__col { border: 1px solid var(--cjr-rule); border-radius: 12px; padding: 20px; }
.cjr-rows { list-style: none; margin: 0; padding: 0; }
.cjr-rows .cjr-row { display: grid; grid-template-columns: 44px 56px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--cjr-rule); flex-wrap: nowrap; }
.cjr-row__rank { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cjr-soft); font: 400 18px var(--cjr-display); color: var(--cjr-navy); }
.cjr-rows > .cjr-row:nth-child(1) .cjr-row__rank { background: var(--cjr-red); color: #fff; }
.cjr-rows > .cjr-row:nth-child(2) .cjr-row__rank, .cjr-rows > .cjr-row:nth-child(3) .cjr-row__rank { background: var(--cjr-green); color: #fff; }
.cjr-rows--hot .cjr-row__rank { background: var(--cjr-soft) !important; color: var(--cjr-navy) !important; }
.cjr-row__img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--cjr-soft); display: block; }
.cjr-row__name { display: grid; text-decoration: none; min-width: 0; }
.cjr-row__name b { color: var(--cjr-heading); font: 400 18px/1.3 var(--cjr-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjr-row__name small { color: var(--cjr-label); font-size: 13px; }
.cjr-row__votes { text-align: right; display: grid; line-height: 1.1; }
.cjr-row__votes b { font: 400 22px var(--cjr-display); color: var(--cjr-heading); }
.cjr-row__votes small { font-size: 12px; color: var(--cjr-label); }
.cjr-row__delta { background: #eef8f2; color: var(--cjr-green); font-weight: 700; font-size: 13px; border-radius: 20px; padding: 2px 8px; }
@media (max-width: 520px) { .cjr-rows .cjr-row { grid-template-columns: 36px 44px 1fr auto; gap: 8px; } .cjr-row__img { width: 44px; height: 44px; } .cjr-row__rank { width: 34px; height: 34px; font-size: 15px; } .cjr-row__delta { display: none; } }
.cjr-races { list-style: none; margin: 0; padding: 0; }
.cjr-race { border-bottom: 1px solid var(--cjr-rule); padding: 10px 0; }
.cjr-race__pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.cjr-race__pair a { display: grid; justify-items: center; text-align: center; text-decoration: none; color: var(--cjr-heading); gap: 4px; }
.cjr-race__pair b { font: 400 15px var(--cjr-display); }
.cjr-race__pair small { color: var(--cjr-label); font-size: 12px; }
.cjr-race__gap { background: var(--cjr-red); color: #fff; font: 700 12px var(--cjr-body); border-radius: 20px; padding: 3px 10px; white-space: nowrap; }
.cjr-winners { padding: 28px 24px; margin: 0 0 32px; text-align: center; }
.cjr-winners h2 { color: #fff; }
.cjr-winner-list { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cjr-winner { background: #fff; color: var(--cjr-text); border-radius: 12px; padding: 12px; }
.cjr-winner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.cjr-winner__cat { margin: 8px 0 0; font: 400 14px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1px; color: var(--cjr-green); }
.cjr-winner__name { font: 400 20px var(--cjr-display); color: var(--cjr-heading) !important; text-decoration: none; }
.cjr-winners .cjr-cta-inline p { color: #fff; }

/* ------------------------------------------------------------------ builder */

.cjr-builder__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .cjr-builder__grid { grid-template-columns: 1fr; } }
.cjr-builder__empty { text-align: center; padding: 30px 0; }
.cjr-builder__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cjr-stops { list-style: none; margin: 10px 0; padding: 0; }
.cjr-stop { display: grid; grid-template-columns: 20px 30px 52px 1fr auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--cjr-rule); border-radius: 10px; margin-bottom: 8px; background: #fff; }
.cjr-stop.is-drag { opacity: .5; border-style: dashed; }
.cjr-stop__handle { color: #aaa; cursor: grab; display: grid; place-items: center; }
.cjr-stop__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cjr-red); color: #fff; font: 400 14px var(--cjr-display); }
.cjr-stop__img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--cjr-soft); display: block; }
.cjr-stop__text { display: grid; min-width: 0; }
.cjr-stop__text b { font: 400 17px/1.3 var(--cjr-display); color: var(--cjr-heading); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjr-stop__text small { color: var(--cjr-label); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjr-stop__tools { display: flex; gap: 4px; }
.cjr-stop__tools .cjr-icon-btn { padding: 6px; min-height: 36px; width: 36px; justify-content: center; }
@media (max-width: 520px) { .cjr-stop { grid-template-columns: 26px 44px 1fr; } .cjr-stop__handle { display: none; } .cjr-stop__img { width: 44px; height: 44px; } .cjr-stop__tools { grid-column: 1 / -1; justify-content: flex-end; } }
.cjr-builder__map { height: 300px; border-radius: 12px; overflow: hidden; margin-top: 16px; z-index: 0; }
.cjr-builder__send { border: 2px solid var(--cjr-rule); border-radius: 14px; padding: 22px; }
.cjr-handoff { display: grid; grid-template-columns: 190px 1fr; gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--cjr-rule); }
@media (max-width: 480px) { .cjr-handoff { grid-template-columns: 1fr; justify-items: center; text-align: center; } .cjr-handoff .cjr-stores { justify-content: center; } }
.cjr-qr { background: #fff; border: 1px solid var(--cjr-rule); border-radius: 10px; padding: 8px; width: 190px; max-width: 100%; }
.cjr-qr svg { display: block; width: 100%; height: auto; }
.cjr-gmaps { padding: 18px 0; border-top: 1px solid var(--cjr-rule); }
.cjr-gmaps__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ prizes */

.cjr-prize-list { list-style: none; margin: 0; padding: 0; }
.cjr-prize { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--cjr-rule); }
.cjr-prize:not(:has(.cjr-prize__img)) { grid-template-columns: 1fr; }
.cjr-prize__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.cjr-prize__cat { margin: 0; font: 400 16px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1px; color: var(--cjr-green); }
.cjr-prize__value { font: 400 28px var(--cjr-display); color: var(--cjr-red); margin: 0 0 6px; }
.cjr-prize__sponsor { font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cjr-prize__sponsor img { max-height: 36px; width: auto; }
.cjr-prize__last { font-size: 14px; background: var(--cjr-soft); border-radius: 8px; padding: 8px 12px; display: inline-block; }
@media (max-width: 640px) { .cjr-prize { grid-template-columns: 1fr; gap: 12px; } }

/* The prizes page proper: a card per category, the steps, the timeline and the questions. */

.cjr-eyebrow { margin: 0 0 6px; font: 400 15px var(--cjr-alt); text-transform: uppercase; letter-spacing: 2px; color: var(--cjr-green); }
.cjr-pagehead__cta { margin: 20px 0 0; }
.cjr-status {
  display: inline-block; margin: 18px auto 0; padding: 9px 20px; border-radius: 40px;
  font: 600 16px var(--cjr-body); background: var(--cjr-soft); color: var(--cjr-ink);
}
.cjr-status.is-open { background: var(--cjr-green); color: #fff; }
.cjr-status.is-soon { background: var(--cjr-navy); color: #fff; }
.cjr-status.is-closed { background: #E9ECEF; color: var(--cjr-label); }

.cjr-prizes__h { margin: 44px 0 4px; text-align: center; }
.cjr-prizes__sub { text-align: center; margin: 0 auto 26px; color: var(--cjr-label); }
.cjr-prize-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.cjr-prize-grid.is-solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.cjr-prizecard {
  display: flex; flex-direction: column; overflow: hidden; background: var(--cjr-soft);
  border: 1px solid var(--cjr-rule); border-radius: 16px;
}
.cjr-prizecard__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.cjr-prizecard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.cjr-prizecard__cat { margin: 0; font: 400 15px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1.5px; color: var(--cjr-green); }
/* Fredoka carries a lot of air above and below, so the big number is pulled in tight. */
.cjr-prizecard__value { margin: -4px 0 -12px; font: 400 clamp(38px, 6vw, 64px)/.9 var(--cjr-display); color: var(--cjr-red); }
.cjr-prizecard__title { margin: 0; font: 400 clamp(22px, 2.4vw, 28px)/1.25 var(--cjr-display); color: var(--cjr-heading); }
.cjr-prizecard__desc { margin: 0; font-size: 16px; }
.cjr-prizecard__sponsor { margin: 6px 0 0; font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cjr-prizecard__sponsor img { max-height: 32px; width: auto; }
.cjr-prizecard__last { margin: 6px 0 0; font-size: 14px; background: #fff; border: 1px solid var(--cjr-rule); border-radius: 8px; padding: 8px 12px; }
.cjr-prizecard.is-solo { text-align: center; }
.cjr-prizecard.is-solo .cjr-prizecard__body { padding: 30px 28px 32px; gap: 6px; align-items: center; }
.cjr-prizecard.is-solo .cjr-prizecard__desc { max-width: 52ch; }

/* The categories: a quiet list of what a house can place in, never dressed up as prizes. */
.cjr-cats { margin-top: 48px; }
.cjr-cats .cjr-h2 { text-align: center; }
.cjr-catgrid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.cjr-catcard { background: var(--cjr-soft); border-radius: 12px; padding: 18px 20px; }
.cjr-catcard__name { margin: 0 0 4px; font: 400 21px/1.2 var(--cjr-display); color: var(--cjr-heading); }
.cjr-catcard__desc { margin: 0; font-size: 15px; }

.cjr-how { margin-top: 52px; }
.cjr-how .cjr-h2 { text-align: center; }
.cjr-wins { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cjr-win { background: var(--cjr-soft); border-radius: 14px; padding: 24px 22px; text-align: left; }
.cjr-win__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cjr-green); color: #fff; font: 400 24px var(--cjr-display); margin-bottom: 12px;
}
.cjr-win:nth-child(even) .cjr-win__n { background: var(--cjr-red); }
.cjr-win .cjr-h3 { margin: 0 0 6px; color: var(--cjr-heading); }
.cjr-win p { margin: 0; font-size: 15px; }

.cjr-dates { margin-top: 52px; }
.cjr-dates .cjr-h2 { text-align: center; }
.cjr-timeline { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/*
 * A rail with a marker sitting on it, drawn per item rather than as one line across the
 * section, so it breaks in the right place when the columns wrap on a narrow screen: each
 * item's rail runs the width of its own column plus the 14px gap, and the last one stops at
 * its own edge instead of running off into nothing.
 *
 * Each step carries a colour, alternating the green and red of the numbered steps further up
 * the page. Where you are is the marker's fill: a step already behind you is solid, one still
 * to come is a ring on white, so the line reads as colour and as progress at the same time.
 */
.cjr-tl { position: relative; padding-top: 28px; --cjr-tl-c: var(--cjr-green); }
.cjr-tl:nth-child(even) { --cjr-tl-c: var(--cjr-red); }
.cjr-tl::before {
  content: ""; position: absolute; top: 6px; left: 0; right: -14px; height: 3px;
  background: var(--cjr-tl-c); border-radius: 2px;
}
.cjr-tl:last-child::before { right: 0; }
.cjr-tl::after {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 4px var(--cjr-tl-c);
}
.cjr-tl.is-done::after { background: var(--cjr-tl-c); }
.cjr-tl__when { margin: 0; font: 400 15px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1.5px; color: var(--cjr-label); }
.cjr-tl.is-done .cjr-tl__when { color: var(--cjr-tl-c); }
.cjr-tl__what { margin: 2px 0 4px; font: 400 22px var(--cjr-display); color: var(--cjr-heading); }
.cjr-tl__note { margin: 0; font-size: 14px; }
@media (max-width: 640px) {
  /* Stacked, so the rail would be a stub above every item: run it down the left instead. */
  .cjr-tl { padding: 0 0 0 26px; }
  .cjr-tl::before { top: 7px; bottom: -14px; left: 6px; right: auto; width: 3px; height: auto; }
  .cjr-tl:last-child::before { bottom: auto; height: 15px; }
  .cjr-tl::after { top: 0; }
}

.cjr-cta-band__alt { margin: 14px 0 0; font-size: 15px; }
.cjr-sponsorband {
  margin-top: 28px; padding: 24px; border: 2px dashed var(--cjr-rule); border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.cjr-sponsorband h2 { margin: 0 0 4px; color: var(--cjr-heading); }
.cjr-sponsorband p { margin: 0; font-size: 15px; max-width: 620px; }

.cjr-faq { margin-top: 52px; }
.cjr-faq .cjr-h2 { text-align: center; margin-bottom: 18px; }
.cjr-faq details { border-bottom: 1px solid var(--cjr-rule); padding: 14px 0; }
.cjr-faq summary { cursor: pointer; font: 600 17px var(--cjr-body); color: var(--cjr-heading); }
.cjr-faq summary::marker { color: var(--cjr-red); }
.cjr-faq details p { margin: 10px 0 0; font-size: 15px; }
.cjr-faq__more { margin-top: 18px; font-size: 15px; text-align: center; }
@media (max-width: 640px) {
  .cjr-sponsorband { flex-direction: column; align-items: flex-start; }
}

/* The posts section inside My House. The phone page is the full version of this. */
.cjr-dash__posts { background: var(--cjr-soft); border-radius: 14px; padding: 24px; }
.cjr-dash__posts .cjr-h2 { margin: 0 0 6px; }
.cjr-dash__today { margin: 18px 0; }
.cjr-dash__today .cjr-h3 { margin: 0 0 10px; }
.cjr-postthumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.cjr-postthumb { margin: 0; width: 150px; }
.cjr-postthumb img { width: 100%; height: auto; border-radius: 10px; display: block; background: #fff; }
.cjr-dash__week, .cjr-dash__packs { margin: 18px 0; }
.cjr-dash__week .cjr-week__list { gap: 6px; }
.cjr-dash__week .cjr-week__day { background: #fff; }

/* The leaderboard inside My House, and the posts browser that no longer sends you away. */
.cjr-dash__board { background: #fff; border: 1px solid var(--cjr-rule); border-radius: 14px; padding: 22px 24px; margin-bottom: 26px; }
.cjr-dash__board .cjr-h2 { margin: 0 0 12px; }
.cjr-board__list { list-style: none; margin: 0; padding: 0; }
.cjr-board__list--me { margin-top: 10px; border-top: 1px dashed var(--cjr-rule); padding-top: 10px; }
.cjr-board__row { display: flex; align-items: baseline; gap: 12px; padding: 7px 10px; border-radius: 8px; }
.cjr-board__row.is-me { background: #f2fbf6; }
.cjr-board__rank { font: 400 18px var(--cjr-display); color: var(--cjr-red); min-width: 44px; }
.cjr-board__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cjr-board__votes { font-weight: 700; color: var(--cjr-heading); }

.cjr-week__day.is-open { border-color: var(--cjr-navy); box-shadow: inset 0 0 0 1px var(--cjr-navy); }
.cjr-dash__all { gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.cjr-phoneqr { margin-top: 14px; }
.cjr-phoneqr summary { cursor: pointer; font-size: 15px; color: var(--cjr-navy); }
.cjr-dash__posts .cjr-postthumbs { gap: 14px; }

/* Coming back for another season. Sits at the top of My House when a contest is open
   and this house is not in it yet. */
.cjr-reup {
  background: var(--cjr-navy); color: #fff; border-radius: 14px; padding: 26px 24px; margin-bottom: 26px;
}
.cjr-reup .cjr-h2 { margin: 0 0 8px; color: #fff; }
.cjr-reup p { color: #EAF3FB; }
.cjr-reup .cjr-small { color: #cfe0ee; }
.cjr-reup .cjr-form-msg { color: #fff; }

/* An agent's ready made posts. */
.cjr-agentposts { display: grid; gap: 22px; margin-top: 16px; }
.cjr-agentpost { background: var(--cjr-soft); border-radius: 14px; padding: 20px 22px; }
.cjr-agentpost .cjr-h3 { margin: 0 0 2px; color: var(--cjr-heading); }
.cjr-agentpost__shots { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0; }
.cjr-agentpost__shots .cjr-postthumb { width: 170px; }
.cjr-agentpost__shots img { width: 100%; height: auto; border-radius: 10px; display: block; background: #fff; }

/* An agent's own marks: headshot, logo, partner logo, registration page header. */
.cjr-marks { margin: 34px 0; }
.cjr-marks__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 14px; }
.cjr-mark { background: var(--cjr-soft); border-radius: 12px; padding: 16px 18px; }
.cjr-mark .cjr-strong { margin: 0 0 2px; }
.cjr-mark__box {
  margin: 10px 0; background: #fff; border: 1px solid var(--cjr-rule); border-radius: 10px;
  min-height: 92px; display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.cjr-mark__img { max-width: 100%; max-height: 120px; width: auto; height: auto; display: block; }
.cjr-mark__empty { color: var(--cjr-label); font-size: 14px; }
.cjr-mark .cjr-row { gap: 10px; align-items: center; }

/* ------------------------------------------------------------- my posts */

/* Built for a phone held in one hand: one graphic per row, buttons under the thumb. */
.cjr-posts { padding-bottom: 40px; }
.cjr-posts__head { text-align: center; margin-bottom: 26px; }
.cjr-posts__head .cjr-h1 { margin: 2px 0 8px; }
.cjr-posts__wait { text-align: center; padding: 40px 0; }
.cjr-posts__error { background: #fdf1ef; border-left: 4px solid var(--cjr-danger); padding: 14px 16px; border-radius: 0 8px 8px 0; }

.cjr-postblock { margin: 0 0 34px; }
.cjr-postblock__title { margin: 0 0 2px; font: 400 26px/1.2 var(--cjr-display); color: var(--cjr-heading); }
.cjr-postblock__when { margin: 0 0 12px; font: 400 14px var(--cjr-alt); text-transform: uppercase; letter-spacing: 1.4px; color: var(--cjr-green); }

.cjr-shots { display: grid; gap: 18px; }
.cjr-shot { margin: 0; }
.cjr-shot__img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  background: var(--cjr-soft); box-shadow: 0 10px 28px -18px rgba(0,0,0,.4);
}
.cjr-shot__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cjr-shot__hint { margin: 8px 0 0; font-size: 14px; color: var(--cjr-label); text-align: center; }

.cjr-caption { margin-top: 14px; background: var(--cjr-soft); border-radius: 12px; padding: 14px 16px; }
.cjr-caption__text { margin: 0 0 8px; font-size: 15px; white-space: pre-line; }

.cjr-week { margin: 0 0 34px; }
.cjr-week__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cjr-week__day {
  width: 100%; display: flex; align-items: baseline; gap: 10px; cursor: pointer; text-align: left;
  background: #fff; border: 1px solid var(--cjr-rule); border-radius: 12px; padding: 12px 14px;
  font: 400 16px var(--cjr-body); color: var(--cjr-text);
}
.cjr-week__day b { font: 400 17px var(--cjr-display); color: var(--cjr-heading); flex: none; }
.cjr-week__day.is-now { border-color: var(--cjr-green); background: #f2fbf6; }
.cjr-week__day.is-done { opacity: .72; }

.cjr-packs { margin: 0 0 34px; }
.cjr-pack { background: var(--cjr-soft); border-radius: 12px; padding: 16px 18px; margin-top: 10px; }
.cjr-pack__title { margin: 0 0 2px; font: 400 20px var(--cjr-display); color: var(--cjr-heading); }
.cjr-pack__row { display: flex; gap: 10px; margin-top: 10px; }
.cjr-wide { margin: 0 0 34px; }
.cjr-posts__zip { margin: 10px 0 0; }

@media (min-width: 720px) {
  .cjr-shots { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .cjr-week__list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* The sponsoring agent's own banner and marks on their registration page. */
.cjr-agent-banner { background: #fff; text-align: center; line-height: 0; }
.cjr-agent-banner img { width: 100%; max-width: 1200px; height: auto; display: inline-block; }
.cjr-sponsor-note {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--cjr-soft); border-radius: 12px; padding: 12px 16px; font-size: 15px; margin-top: 16px;
}
.cjr-sponsor-note__who { display: flex; align-items: center; gap: 10px; }
.cjr-sponsor-note__face { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.cjr-sponsor-note__marks { display: flex; align-items: center; gap: 14px; }
.cjr-sponsor-note__marks img { max-height: 40px; width: auto; }

/* ------------------------------------------------------------------ signup */

.cjr-combo { position: relative; }
.cjr-suggest { position: absolute; z-index: 400; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--cjr-field); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 69, 122, .16); max-height: 280px; overflow-y: auto; }
.cjr-suggest[hidden] { display: none; }
.cjr-suggest__item { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 14px; cursor: pointer; font: 400 15px var(--cjr-body); color: var(--cjr-heading); line-height: 1.35; }
.cjr-suggest__item:hover, .cjr-suggest__item.is-on { background: var(--cjr-soft); }
@media (max-width: 640px) { .cjr-suggest { right: auto; width: 100%; } }
.cjr-geo-results { list-style: none; margin: 0 0 14px; padding: 0; }
.cjr-confirm-map { height: 300px; border-radius: 10px; overflow: hidden; margin: 10px 0 4px; z-index: 0; }
.cjr-drop { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 2px dashed var(--cjr-field); border-radius: 12px; padding: 22px; cursor: pointer; position: relative; background: #fff; }
.cjr-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cjr-drop.is-over { border-color: var(--cjr-green); background: #eef8f2; }
.cjr-drop__text { color: var(--cjr-label); font-size: 14px; }
.cjr-drop:focus-within { outline: 3px solid var(--cjr-gold); outline-offset: 2px; }
.cjr-media-grid { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.cjr-media-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cjr-soft); }
.cjr-media-item img, .cjr-media-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cjr-media-item__cover { position: absolute; left: 8px; top: 8px; background: var(--cjr-green); color: #fff; font: 700 11px var(--cjr-body); text-transform: uppercase; border-radius: 20px; padding: 2px 8px; }
.cjr-media-item__tools { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; }
.cjr-media-item__tools .cjr-icon-btn { padding: 6px; min-height: 32px; width: 32px; justify-content: center; }
.cjr-media-item__prog { display: grid; place-content: center; height: 100%; padding: 10px; gap: 6px; font-size: 12px; text-align: center; word-break: break-all; }
.cjr-done { outline: none; }
.cjr-next { border-top: 1px solid var(--cjr-rule); padding: 22px 0; }
.cjr-next .cjr-h3 { display: flex; align-items: center; gap: 10px; }
.cjr-share-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.cjr-share-btn { display: inline-flex; align-items: center; border: 1px solid var(--cjr-navy); color: var(--cjr-navy) !important; background: #fff; border-radius: 40px; padding: 6px 14px; font: 600 14px var(--cjr-body); text-decoration: none; cursor: pointer; }
.cjr-share-btn:hover { background: var(--cjr-navy); color: #fff !important; }
.cjr-checklist { list-style: none; margin: 10px 0 16px; padding: 0; }
.cjr-checklist li { display: flex; align-items: center; gap: 10px; padding: 7px 0; color: var(--cjr-heading); }
.cjr-checklist .cjr-ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; border: 2px solid #c9c9c9; color: transparent; }
.cjr-checklist li.is-done .cjr-ico { background: var(--cjr-green); border-color: var(--cjr-green); color: #fff; }
.cjr-checklist li.is-done { color: var(--cjr-label); }

/* ------------------------------------------------------------------ dashboards */

.cjr-dash__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .cjr-dash__grid { grid-template-columns: 1fr; } }
.cjr-dash__main > section, .cjr-dash__main > form, .cjr-dash__side > section { margin-bottom: 30px; }
.cjr-dash__share { background: var(--cjr-soft); box-shadow: inset 0 100px 140px -40px rgba(0,0,0,.07); border-radius: 14px; padding: 24px; }
.cjr-blurbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cjr-blurbs li { background: #fff; border: 1px solid var(--cjr-rule); border-radius: 10px; padding: 12px 14px; }
.cjr-blurbs li p { margin: 0 0 4px; color: var(--cjr-heading); }
.cjr-dash__graphics { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; }
.cjr-qrcard { display: flex; gap: 14px; align-items: center; margin: 16px 0; flex-wrap: wrap; }
.cjr-qrcard .cjr-qr { width: 150px; }
.cjr-qrcard figcaption { display: grid; gap: 4px; max-width: 280px; }
.cjr-graphic { margin: 0; width: 160px; }
.cjr-graphic img { border-radius: 8px; }
.cjr-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 18px; }
.cjr-stat { flex: 1 1 110px; border: 1px solid var(--cjr-rule); border-radius: 12px; padding: 12px 16px; display: grid; }
.cjr-stat b { font: 400 30px/1.1 var(--cjr-display); color: var(--cjr-navy); }
.cjr-stat span { font-size: 13px; color: var(--cjr-label); text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.cjr-chart { width: 100%; height: auto; display: block; }
.cjr-chart__grid { stroke: #ececec; stroke-width: 1; }
.cjr-chart__axis { font: 12px var(--cjr-body); fill: var(--cjr-label); }
.cjr-chart__empty { font: 14px var(--cjr-body); fill: var(--cjr-label); }
.cjr-rankcats { list-style: none; padding: 0; margin: 0; }
.cjr-rankcats li { padding: 6px 0; border-bottom: 1px solid var(--cjr-rule); color: var(--cjr-heading); }
.cjr-rankcats b { font-family: var(--cjr-display); color: var(--cjr-red); font-weight: 400; }
.cjr-agent { display: flex; gap: 14px; align-items: center; }
.cjr-agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.cjr-myvotes { list-style: none; margin: 0; padding: 0; }
.cjr-myvotes li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--cjr-rule); color: var(--cjr-heading); }
.cjr-myvotes img { border-radius: 6px; object-fit: cover; }
.cjr-myvotes small { margin-left: auto; color: var(--cjr-label); }
.cjr-dash__tour { border-top: 1px solid var(--cjr-rule); padding-top: 24px; }

/* Account: the code that puts the app on this account, and the optional password. */
.cjr-dash__account { background: var(--cjr-soft); border-radius: 14px; padding: 20px; }
.cjr-dash__account .cjr-h3 { margin: 0 0 14px; color: var(--cjr-heading); }
.cjr-applink { padding-bottom: 16px; border-bottom: 1px solid var(--cjr-rule); margin-bottom: 16px; }
.cjr-applink__qr { display: flex; justify-content: center; }
.cjr-applink__qr:not(:empty) { background: #fff; border-radius: 12px; padding: 14px; margin: 12px 0; }
.cjr-applink__qr svg, .cjr-applink__qr canvas, .cjr-applink__qr img { width: 100%; max-width: 190px; height: auto; display: block; }
.cjr-pwbox .cjr-row { margin-top: 10px; gap: 8px; }
.cjr-pwbox .cjr-input { min-width: 0; }
.cjr-dash__account .cjr-strong { margin: 0 0 2px; font-size: 17px; }
.cjr-signin__grid, .cjr-login__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .cjr-signin__grid, .cjr-login__grid { grid-template-columns: 1fr; } }
.cjr-weblogin__row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cjr-weblogin .cjr-qr { width: 170px; }
.cjr-panel-box { border: 1px solid var(--cjr-rule); border-radius: 12px; padding: 24px; background: #fff; }
.cjr-panel-box--alt { background: var(--cjr-soft); border-color: transparent; }
.cjr-login--single .cjr-panel-box { max-width: 520px; margin: 0 auto; }
.cjr-width-narrow .cjr-login .cjr-wrap, .cjr-login { max-width: 980px; }

.cjr-agentdash .cjr-tabs { border-bottom: 1px solid var(--cjr-rule); }
.cjr-ad-panel { padding-top: 6px; }
.cjr-table-wrap { overflow-x: auto; border: 1px solid var(--cjr-rule); border-radius: 10px; margin: 12px 0 20px; }
.cjr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cjr-table th { text-align: left; font: 700 12px var(--cjr-body); text-transform: uppercase; letter-spacing: .6px; color: var(--cjr-label); background: var(--cjr-soft); padding: 10px 12px; white-space: nowrap; }
.cjr-table td { padding: 10px 12px; border-top: 1px solid var(--cjr-rule); color: var(--cjr-heading); vertical-align: top; }
.cjr-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.cjr-simple-list { list-style: none; padding: 0; margin: 0 0 12px; }
.cjr-simple-list li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--cjr-rule); padding: 6px 0; }
.cjr-library-list { list-style: none; margin: 0; padding: 0; }
.cjr-library-list li { display: flex; gap: 14px; align-items: flex-start; border-bottom: 1px solid var(--cjr-rule); padding: 14px 0; }
.cjr-library-list .cjr-h4 { margin: 4px 0; }
.cjr-article { outline: none; }

/* ------------------------------------------------------------------ agents funnel */

.cjr-agents .cjr-pagehead--center { padding-bottom: 16px; }
.cjr-prose { font-size: 17px; line-height: 1.85; }
.cjr-prose h2 { margin-top: 1.2em; }
.cjr-prose h2:first-child { margin-top: 0; }
.cjr-agents .cjr-prose { max-width: 820px; padding-top: 28px; padding-bottom: 28px; }
.cjr-steps { list-style: none; counter-reset: s; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.cjr-steps li { counter-increment: s; font-size: 15px; }
.cjr-steps li::before { content: counter(s); display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: var(--cjr-green); color: #fff; font: 400 38px var(--cjr-display); }
.cjr-steps li:nth-child(even)::before { background: #ED2024; }
@media (max-width: 860px) { .cjr-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cjr-steps { grid-template-columns: 1fr; } }
.cjr-list { padding-left: 1.2em; }
.cjr-list li { margin-bottom: .6em; }
.cjr-list li::marker { color: var(--cjr-red); }
.cjr-price-list { list-style: none; margin: 20px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cjr-price { background: #fff; border: 1px solid var(--cjr-rule); border-radius: 14px; padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cjr-price--team { border-color: var(--cjr-green); }
.cjr-price__amt { font: 400 44px/1.1 var(--cjr-display); color: var(--cjr-heading); margin: 6px 0; }
.cjr-price__amt small { font: 400 15px var(--cjr-body); color: var(--cjr-label); }
.cjr-price__seats { font-weight: 700; color: var(--cjr-green); }
.cjr-price .cjr-btn { margin-top: auto; }
.cjr-faq dt { font: 400 20px var(--cjr-display); color: var(--cjr-heading); margin-top: 18px; }
.cjr-faq dd { margin: 4px 0 0; }
.cjr-plans { display: grid; gap: 10px; }
.cjr-plan { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--cjr-field); border-radius: 10px; padding: 14px 16px; cursor: pointer; }
.cjr-plan input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--cjr-red); }
.cjr-plan:has(input:checked) { border-color: var(--cjr-red); box-shadow: 0 0 0 2px rgba(224,43,32,.2); }
.cjr-plan__body { display: grid; gap: 2px; }
.cjr-plan__body b { font: 400 19px var(--cjr-display); color: var(--cjr-heading); }
.cjr-plan__price { font-weight: 700; color: var(--cjr-red); }
.cjr-plan__price small { font-weight: 400; color: var(--cjr-label); }
.cjr-plan__body > small { color: var(--cjr-label); }
.cjr-card-field { min-height: 90px; }

/* ------------------------------------------------------------------ legal, verify */

.cjr-legal .cjr-prose { font-size: 16px; }
.cjr-legal .cjr-prose h2 { font-size: 24px; }
.cjr-verify { text-align: center; }
.cjr-verify .cjr-lede { margin: 0 auto 24px; }

@media (prefers-reduced-motion: reduce) {
  .cjr *, .cjr *::before, .cjr *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* The "this is you on the map" preview on the signup success panel. Same pin and tiles as
   the real map, so what a homeowner sees here is what their neighbours see. */
.cjr-joinmap__canvas { height: 320px; border-radius: 10px; overflow: hidden; margin: 10px 0 4px; z-index: 0; }
.cjr-joinmap__pop { display: grid; gap: 4px; min-width: 160px; text-align: center; }
.cjr-joinmap__pop img { width: 100%; height: 96px; object-fit: cover; border-radius: 6px; display: block; }
.cjr-joinmap__pop b { font-size: 1.05em; }
.cjr-joinmap__pop span { color: #555; font-size: .9em; }
.cjr-joinmap__pop a { font-weight: 700; }
@media (max-width: 600px) { .cjr-joinmap__canvas { height: 240px; } }

/* Posts still rendering: a real bar, driven by how many pictures are on disk. The striped
   variant runs before the first file lands, when there is nothing honest to show yet. */
.cjr-progress { height: 10px; border-radius: 6px; background: #e6edf3; overflow: hidden; margin: 10px 0 6px; }
.cjr-progress__bar { height: 100%; border-radius: 6px; background: var(--cjr-green, #079D49); width: 0; transition: width .5s ease; }
.cjr-progress__bar.is-waiting {
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--cjr-green, #079D49) 0 14px, #8fd4ae 14px 28px);
  animation: cjr-progress-slide 1.1s linear infinite;
}
@keyframes cjr-progress-slide { from { background-position: 0 0; } to { background-position: 28px 0; } }
@media (prefers-reduced-motion: reduce) { .cjr-progress__bar.is-waiting { animation: none; } }

/* Sign in is one password form now; the emailed link is a way back in, not a way in. */
.cjr-signin__single { max-width: 420px; }
.cjr-forgot { margin-top: 22px; border-top: 1px solid #e8eef4; padding-top: 14px; }
.cjr-forgot summary { cursor: pointer; font-weight: 700; color: var(--cjr-navy, #00457A); }
.cjr-forgot[open] summary { margin-bottom: 8px; }

/* Agent email calendar: twelve months as cards, then the one they opened underneath. */
.cjr-emgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 20px; }
.cjr-emcard {
  display: grid; gap: 3px; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid #e8eef4; border-radius: 10px; padding: 12px 14px;
  font: inherit; color: inherit; transition: border-color .15s ease, box-shadow .15s ease;
}
.cjr-emcard:hover { border-color: var(--cjr-navy, #00457A); }
.cjr-emcard.is-open { border-color: var(--cjr-red, #E02B20); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.cjr-emcard__m { font-size: .78em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cjr-red, #E02B20); }
.cjr-emcard__t { font-size: 1.05em; color: var(--cjr-navy, #00457A); }
.cjr-emcard__p { font-size: .88em; color: #555; line-height: 1.4; }
.cjr-emcard__needs { font-size: .78em; font-weight: 700; color: #8a6d00; }

.cjr-emopen { border: 2px solid #e8eef4; border-radius: 12px; padding: 16px; margin: 0 0 20px; background: #fbfdff; }
.cjr-emopen__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.cjr-emopen__note { background: #fff8e1; border-radius: 8px; padding: 10px 12px; font-size: .9em; margin: 0 0 12px; }
.cjr-emopen__preview { background: #fff; border: 1px solid #e8eef4; border-radius: 8px; padding: 18px; max-height: 620px; overflow: auto; }
.cjr-emopen__preview img { max-width: 100%; height: auto; }

.cjr-emtips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.cjr-emtips ul { margin: 6px 0 0; padding-left: 18px; }
.cjr-emtips li { margin: 0 0 4px; font-size: .92em; color: #444; }
@media (max-width: 640px) { .cjr-emgrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }

/* Training and resources: everything open on one page, with a jump list when it is long. */
.cjr-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.cjr-jump__a { font-size: .9em; font-weight: 700; text-decoration: none; background: #eef3f7; border-radius: 999px; padding: 6px 12px; color: var(--cjr-navy, #00457A); }
.cjr-jump__a:hover { background: var(--cjr-navy, #00457A); color: #fff; }
.cjr-library { display: grid; gap: 28px; }
.cjr-libitem { scroll-margin-top: 90px; border-top: 2px solid #e8eef4; padding-top: 18px; }
.cjr-libitem:first-child { border-top: 0; padding-top: 0; }
.cjr-libitem__h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }

/* Agent: one house, opened. Link and QR on the left, what to say on the right. */
.cjr-rowlink { cursor: pointer; }
.cjr-rowlink:hover { background: #f4f8fb; }
.cjr-hstats { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 22px; }
.cjr-hsplit { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; margin: 0 0 26px; }
.cjr-scripts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.cjr-scripts li { background: #f4f8fb; border-radius: 10px; padding: 12px 14px; }
.cjr-scripts li b { display: block; color: var(--cjr-navy, #00457A); margin-bottom: 4px; }
.cjr-scripts li p { margin: 0 0 8px; font-size: .94em; line-height: 1.5; }
.cjr-hdetail .cjr-qrcard { margin-top: 16px; }

/* "Want to send extra points to this house?" - the ways to do it, each ticked as it is done. */
.cjr-boost { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 10px; }
.cjr-boost li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f4f8fb; border-radius: 10px; padding: 12px 14px; }
.cjr-boost li.is-done { background: #eef7f0; }
.cjr-boost li b { display: block; }
.cjr-boost li .cjr-small { color: #555; }
.cjr-boost__tick { font-weight: 700; color: var(--cjr-green, #079D49); white-space: nowrap; }
.cjr-points { font-size: 1.05em; }

/* Tick what you are willing to do, then one screen to do it. */
.cjr-boost__opt { display: flex; gap: 12px; align-items: flex-start; background: #f4f8fb; border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.cjr-boost__opt.is-done { background: #eef7f0; cursor: default; }
.cjr-boost__opt input { margin: 3px 0 0; width: 20px; height: 20px; flex: 0 0 auto; }
.cjr-boost__opt b { display: block; }
.cjr-boost__opt .cjr-small { color: #555; }

/* An empty suggestion list must not paint a box over whatever is under it. The signup form
   hides it with a hidden attribute; the vote flow just empties it, so cover that too. */
.cjr-suggest:empty { display: none; border: 0; box-shadow: none; padding: 0; margin: 0; }
.cjr-suggest .cjr-result { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 10px 14px; cursor: pointer; font: 400 15px var(--cjr-body); color: var(--cjr-heading); line-height: 1.35; }
.cjr-suggest .cjr-result:hover { background: var(--cjr-soft); }
/* The vote card is a fixed-width panel, so the drop-down needs room to sit over the page. */
.cjr-vote-step .cjr-combo { position: relative; z-index: 2; }
