/* Craquo Core front-end: auth screens and app shell. Uses the child theme's tokens (mobile-first). */
.cq-route__main { padding-block: var(--s3) var(--s4); }
.cq-auth { max-width: 440px; margin-inline: auto; }
.cq-auth h1 { margin-bottom: var(--s2); }
.cq-notice { padding: var(--s2); margin-bottom: var(--s2); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); }
.cq-notice p { margin: 0 0 var(--s1); }
.cq-notice p:last-child { margin-bottom: 0; }
.cq-notice a { display: inline-flex; align-items: center; min-height: var(--tap); }
.cq-form[hidden], .cq-error[hidden], .cq-help[hidden] { display: none; }
.cq-form { margin-bottom: var(--s2); }
.cq-form .cq-btn + .cq-btn { margin-top: var(--s1); }
textarea.cq-input { min-height: 120px; resize: vertical; }
.cq-app { max-width: 720px; }
.cq-licence { margin-top: var(--s3); }
.cq-help a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---- Member area (T15) ------------------------------------------------------------------ */
.cq-pagehead h1 { margin-bottom: 4px; }
.cq-eyebrow { margin: 0 0 4px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.cq-edition { margin-top: var(--s2); padding: var(--s2); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--bg-soft); }
.cq-edition h2 { margin-bottom: 4px; }
.cq-edition__nums { margin: 0 0 var(--s2); font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cq-section-tight { margin-top: var(--s4); }
.cq-section-tight > h2, .cq-h2-gap { margin-bottom: var(--s2); }
.cq-h2-gap { margin-top: var(--s4); }
.cq-card__why { margin: 0; font-size: 14px; line-height: 20px; color: var(--accent); font-weight: 600; }
.cq-card__text { font-size: 15px; line-height: 22px; color: var(--text-2); }
.cq-card__text > :last-child { margin-bottom: 0; }
.cq-card__foot form { margin: 0; position: relative; z-index: 1; }
.cq-card__foot .cq-btn:not(.cq-card__link) { position: relative; z-index: 1; }
.cq-pager { display: flex; align-items: center; justify-content: space-between; gap: var(--s1); margin-top: var(--s3); }
.cq-back { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 600; text-decoration: none; }
.cq-facts { display: grid; gap: 0; margin: var(--s2) 0; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.cq-facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s1); padding: 10px var(--s2); border-top: 1px solid var(--border); }
.cq-facts > div:first-child { border-top: 0; }
.cq-facts dt { font-size: 14px; line-height: 24px; font-weight: 600; color: var(--text-2); }
.cq-facts dd { margin: 0; min-width: 0; }
.cq-jobtext { margin-bottom: var(--s2); }
.cq-actions { margin-block: var(--s2); }
.cq-report { margin-block: var(--s2); }
.cq-report summary { cursor: pointer; list-style: none; }
.cq-report summary::-webkit-details-marker { display: none; }
.cq-panel { margin-top: var(--s3); }
.cq-choice--line { display: flex; margin-bottom: var(--s1); }
.cq-choice--line span { width: 100%; justify-content: flex-start; }
/* Checkbox rows (consents, toggles): a visible checkbox plus plain text instead of a pill chip. Radio rows keep the chip look. */
.cq-choice--line:has(input[type=checkbox]) { align-items: flex-start; gap: 12px; min-height: var(--tap); padding: 10px 0; cursor: pointer; }
.cq-choice--line input[type=checkbox] { position: static; flex: none; width: 24px; height: 24px; margin: 0; opacity: 1; accent-color: var(--accent); }
.cq-choice--line input[type=checkbox] + span { display: block; width: auto; flex: 1 1 auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 15px; line-height: 22px; font-weight: 400; color: var(--text); text-align: left; }
.cq-links { list-style: none; margin: 0; padding: 0; }
.cq-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.cq-results-count { margin: 0 0 var(--s1); }
.cq-card .cq-btn--text { min-height: var(--tap); }
.cq-feed-ad { grid-column: 1 / -1; }
/* Job detail: the sticky CTA replaces the tab bar on this page. */
.has-ctabar.cq-route .cq-app { padding-bottom: 8px; }
@media (min-width: 768px) { .cq-route .cq-ctabar:not(.cq-ctabar--static) { display: block; position: static; border: 0; padding: 0; margin-top: var(--s3); max-width: 420px; } }

/* ---- Public edition page (T16b) --------------------------------------------------------- */
.cq-hero { padding-block: var(--s2) var(--s2); }
.cq-lead { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: var(--measure); }
.cq-bignums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); list-style: none; margin: var(--s3) 0 0; padding: 0; }
.cq-bignums li { display: flex; flex-direction: column; padding: var(--s2); border: 1px solid var(--border); border-radius: var(--radius-card); }
@media (min-width: 768px) { .cq-bignums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cq-countdown { margin-top: var(--s3); padding: var(--s2); background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-card); }
.cq-countdown p { margin: 0 0 4px; }
.cq-countdown p:last-child { margin: 0; }
.cq-countries { list-style: none; margin: 0 0 var(--s1); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px var(--s2); }
.cq-countries li { display: flex; align-items: center; gap: 8px; min-height: 32px; min-width: 0; }
.cq-countries span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cq-countries b { font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .cq-countries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cq-bars { display: grid; gap: var(--s3); }
@media (min-width: 768px) { .cq-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cq-bar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 36px; padding: 6px 10px; margin-bottom: 6px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.cq-bar i { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); z-index: 0; }
.cq-bar span, .cq-bar b { position: relative; z-index: 1; font-size: 14px; line-height: 20px; }
.cq-bar b { font-variant-numeric: tabular-nums; }
.cq-section-tight .cq-sponsored { margin-top: var(--s2); }

/* ---- Banners (T17): always inside the grey "Sponsored" frame, never animated ----------------- */
.cq-ad__link { display: block; text-decoration: none; color: inherit; }
.cq-ad img { display: block; max-width: 100%; height: auto; margin-inline: auto; border-radius: 8px; }
.cq-ad--dash_top picture, .cq-ad--dash_top img { display: block; }
.cq-ad__title { display: block; margin-top: 8px; font-weight: 600; color: var(--text); }
.cq-ad__text { display: block; margin: 2px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.cq-ad--feed_inline .cq-ad__link, .cq-ad--events_top .cq-ad__link { min-height: var(--tap); }
.cq-ad__bb { display: none; }
@media (min-width: 768px) { .cq-ad__bb { display: block; } .cq-ad__cardwrap { display: none; } }
.cq-ad--sponsor .cq-ad__text { margin-top: 8px; }
.cq-adslot:empty { display: none; }
.cq-tablewrap { overflow-x: auto; margin-block: var(--s2); }
.cq-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.cq-table th, .cq-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.cq-table tfoot th, .cq-table tfoot td { font-weight: 700; border-top: 2px solid var(--border); }
@media print { .cq-header, .cq-footer, .cq-noprint, .cq-tabbar, .cq-ctabar { display: none !important; } }
/* Plain metadata spans next to each other get a " · " separator (chips and badges keep their own spacing). */
.cq-card__meta > span:not(.cq-chip):not(.cq-badge) + span:not(.cq-chip):not(.cq-badge)::before { content: "· "; }

/* ---- Join funnel and welcome (T9/T10) ---------------------------------------------------- */
.cq-join { max-width: 560px; margin-inline: auto; }
.cq-step { border: 0; padding: 0; margin: 0 0 var(--s2); min-width: 0; }
.cq-step[hidden] { display: none; }
.cq-step > legend { padding: 0; margin-bottom: var(--s2); font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 700; }
.cq-choices--stack { flex-direction: column; }
.cq-joinnav { display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s2); }
.cq-joinnav .cq-btn, .cq-form .cq-joinnav .cq-btn + .cq-btn { flex: 1 1 auto; margin-top: 0; }
