/* ABL Hiring Insights - built on the site's tokens (css/main.css): --ink page #f4f1eb, --paper text #0a0d14, --gold, --accent
   (#007a5e - the one chart colour, validated against the page at >= 3:1), --muted, --line. */
body.ca { background: var(--ink); color: var(--paper); }
.ca-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.9rem 6vw; border-bottom: 1px solid var(--line); background: rgba(244,241,235,0.92); position: sticky; top: 0; z-index: 50; }
.ca-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--paper); text-decoration: none; font-size: 1.02rem; }
.ca-brand b { color: var(--accent); font-weight: 700; }
.ca-nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.ca-nav a { color: var(--paper); text-decoration: none; }
.ca-nav a:hover { color: var(--accent); }
.ca-main { padding: 2rem 6vw 4rem; min-height: 70vh; }
.ca-wide .ca-main { padding-left: 4vw; padding-right: 4vw; }
.ca-foot { padding: 1.4rem 6vw; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.ca-foot a { color: var(--muted); }

.ca-card { background: #fffdf8; border: 1px solid var(--line); border-radius: 10px; padding: 1.8rem; }
.ca-narrow { max-width: 30rem; margin: 1rem auto; }
.ca-card h1, .ca-hero h1 { font-family: 'Bebas Neue', 'Arial Narrow', sans-serif; font-weight: 400; letter-spacing: 0.01em;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.05; margin: 0 0 0.8rem; }
.ca-muted { color: var(--muted); }
.ca-small { font-size: 0.82rem; line-height: 1.6; }
.ca-ok, .ca-err { padding: 0.7rem 0.9rem; border-radius: 6px; font-size: 0.9rem; }
.ca-ok { background: var(--accent-dim); color: #005a45; }
.ca-err { background: #fbe9e7; color: #8a1c0f; }
.ca-form { display: grid; gap: 0.9rem; margin: 1.2rem 0; }
.ca-form label { display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--muted); }
.ca-form input, .ca-sel select, .ca-pick input, .ca-inline input {
  font: inherit; font-size: 0.95rem; color: var(--paper); background: #fff; border: 1px solid #cfc8b6; border-radius: 6px;
  padding: 0.6rem 0.7rem; }
.ca-form input:focus, .ca-sel select:focus, .ca-pick input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ca-btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 0.7rem 1.2rem;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.ca-btn:hover { background: #00634c; }
.ca-btn-sm { padding: 0.4rem 0.8rem; color: #fff !important; }
.ca-link { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: 0.88rem; }
.ca-dl { display: grid; grid-template-columns: 7rem 1fr; gap: 0.5rem 1rem; margin: 1rem 0 1.4rem; font-size: 0.95rem; }
.ca-dl dt { color: var(--muted); }
.ca-price { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.ca-price-n { font-family: 'Bebas Neue', 'Arial Narrow', sans-serif; font-size: 2.3rem; }
.ca-price-n small { font-family: 'Syne', sans-serif; font-size: 0.85rem; color: var(--muted); }

/* landing */
.ca-hero { max-width: 52rem; margin: 1.5rem 0 2.5rem; }
.ca-hero p { font-size: 1.05rem; line-height: 1.7; color: #39424d; }
.ca-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; margin: 0 0 2.5rem; }
.ca-feature { border-top: 2px solid var(--accent); padding-top: 0.9rem; }
.ca-feature h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.ca-feature p { margin: 0; color: #4a5562; font-size: 0.92rem; line-height: 1.6; }

/* app: filters */
.ca-filters { display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; align-items: flex-end; margin-bottom: 0.8rem; }
.ca-pick { position: relative; flex: 1 1 22rem; min-width: 16rem; display: grid; gap: 0.35rem; }
.ca-pick label, .ca-sel { font-size: 0.8rem; color: var(--muted); }
.ca-sel { display: grid; gap: 0.35rem; }
.ca-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.ca-chip { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--accent-dim); color: #004c3a; border-radius: 999px;
  padding: 0.25rem 0.4rem 0.25rem 0.75rem; font-size: 0.85rem; }
.ca-chip button { border: 0; background: none; cursor: pointer; font-size: 1.05rem; line-height: 1; color: #004c3a; padding: 0 0.2rem; }
.ca-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 40; list-style: none; margin: 0.2rem 0 0; padding: 0.3rem 0;
  background: #fff; border: 1px solid #cfc8b6; border-radius: 6px; box-shadow: 0 8px 24px rgba(10,13,20,0.12); max-height: 22rem; overflow: auto; }
.ca-suggest li { padding: 0.5rem 0.8rem; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.ca-suggest li small { color: var(--muted); white-space: nowrap; }
.ca-suggest li:hover { background: var(--accent-dim); }
.ca-suggest li.none { cursor: default; color: var(--muted); }
.ca-seg { display: inline-flex; border: 1px solid #cfc8b6; border-radius: 6px; overflow: hidden; height: 2.55rem; }
.ca-seg button { border: 0; background: #fff; padding: 0 0.95rem; font: inherit; font-size: 0.88rem; cursor: pointer; color: var(--paper); }
.ca-seg button + button { border-left: 1px solid #cfc8b6; }
.ca-seg button.on { background: var(--accent); color: #fff; }
.ca-seg button.thin:not(.on) { color: var(--muted); }
.ca-note { font-size: 0.88rem; color: #39424d; min-height: 1.2rem; margin: 0.4rem 0 1rem; }
.ca-warn { color: #8a5a00; margin-left: 0.4rem; }
.ca-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); border: 1px dashed #cfc8b6; border-radius: 10px; }

/* app: tiles + panels */
.ca-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.2rem; }
.ca-tile { background: #fffdf8; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.ca-tile-n { font-family: 'Bebas Neue', 'Arial Narrow', sans-serif; font-size: 2.3rem; line-height: 1; }
.ca-tile-l { color: var(--muted); font-size: 0.82rem; margin-top: 0.3rem; }
.ca-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.ca-panel { background: #fffdf8; border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; min-width: 0; }
.ca-span2 { grid-column: span 2; }
.ca-panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.8rem; }
.ca-panel h2 { margin: 0; font-size: 0.98rem; font-weight: 700; }

/* bar lists: label | track | value. 4px rounded data end, anchored at the baseline; value in text ink */
.ca-bars { display: grid; gap: 4px; }
.ca-bar-row { display: grid; grid-template-columns: minmax(7rem, 15rem) 1fr 5rem; align-items: center; gap: 0.7rem;
  font-size: 0.86rem; padding: 3px 0; cursor: default; }
.ca-bar-row:hover { background: rgba(0,122,94,0.05); }
.ca-bar-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #2a323c; }
.ca-bar-track { height: 14px; display: block; }
.ca-bar { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; min-width: 2px; }
.ca-bar-v { text-align: right; font-variant-numeric: tabular-nums; color: var(--paper); }

/* daily columns (SVG) */
.ca-cols svg { display: block; overflow: visible; }
.ca-col { fill: var(--accent); }
.ca-hit { fill: transparent; }
.ca-hit:hover { fill: rgba(0,122,94,0.07); }
.ca-axis { font-size: 11px; fill: var(--muted); font-family: 'Syne', sans-serif; }
.ca-grid-l { stroke: rgba(90,104,120,0.18); stroke-width: 1; }
.ca-base { stroke: rgba(90,104,120,0.5); stroke-width: 1; }

.ca-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.ca-table th, .ca-table td { padding: 0.45rem 0.6rem; border-bottom: 1px solid rgba(160,120,40,0.15); text-align: left; vertical-align: top; }
.ca-table th { color: var(--muted); font-weight: 600; font-size: 0.78rem; }
.ca-table .r { text-align: right; font-variant-numeric: tabular-nums; }
.ca-scroll { overflow-x: auto; }
.ca-inline { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.ca-inline input { padding: 0.3rem 0.5rem; font-size: 0.82rem; width: 8rem; }
.ca-inline button { font: inherit; font-size: 0.8rem; padding: 0.3rem 0.55rem; cursor: pointer; }

.ca-tip { position: fixed; z-index: 100; pointer-events: none; background: #0a0d14; color: #f4f1eb; font-size: 0.82rem;
  line-height: 1.45; padding: 0.5rem 0.7rem; border-radius: 6px; max-width: 18rem; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

@media (max-width: 760px) {
  .ca-tiles { grid-template-columns: repeat(2, 1fr); }
  .ca-grid { grid-template-columns: 1fr; }
  .ca-span2 { grid-column: auto; }
  .ca-bar-row { grid-template-columns: minmax(5rem, 9rem) 1fr 4rem; }
  .ca-main, .ca-wide .ca-main { padding-left: 16px; padding-right: 16px; }
  .ca-top { padding-left: 16px; padding-right: 16px; }
}

/* css/main.css gives EVERY <section> 7rem 4rem of padding (4rem 2rem on phones) - right for the marketing pages, wrong here
   (the 10-14 screenshot: a 120px gap above the filters, 48px phone gutters). Each insights section sets its own. */
body.ca section.ca-app, body.ca section.ca-hero { padding: 0; }
body.ca section.ca-card { padding: 1.8rem; }
body.ca section.ca-panel { padding: 1.1rem 1.2rem; }
.ca-requested { background: var(--accent-dim); color: #004c3a; border-radius: 8px; padding: 0.9rem 1rem; font-size: 0.92rem; line-height: 1.55; }

/* the three views (Biju 10-14) */
.ca-tabs { display: flex; gap: 0.3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; flex-wrap: wrap; }
.ca-tabs button { font: inherit; font-size: 0.95rem; font-weight: 600; background: none; border: 0; cursor: pointer; color: var(--muted);
  padding: 0.6rem 1rem; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.ca-tabs button.on { color: var(--paper); border-bottom-color: var(--accent); }
.ca-tabs button:hover { color: var(--paper); }
.ca-sel.ca-primary select { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.ca-sel.ca-primary span { color: var(--accent); font-weight: 600; }
[hidden] { display: none !important; }
/* inline share bars inside the comparison tables */
.ca-mini { display: inline-block; width: 6rem; height: 10px; background: rgba(0,122,94,0.08); border-radius: 0 3px 3px 0;
  vertical-align: middle; margin-right: 0.35rem; }
.ca-mini span { display: block; height: 100%; background: var(--accent); border-radius: 0 3px 3px 0; min-width: 1px; }
.ca-cmp td, .ca-cmp th { white-space: nowrap; }
.ca-nowrap { white-space: nowrap; }
.ca-actions { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin: -0.4rem 0 0.8rem; }
.ca-btn:disabled { opacity: 0.6; cursor: wait; }
/* the Keywords tab (Biju 10-14): the keyword box and its Search button on one row */
.ca-kw-row { display: flex; gap: 0.5rem; align-items: stretch; }
.ca-kw-row input { flex: 1 1 auto; min-width: 0; }
/* 11-05 SEO: the leading summary + the analytics intro */
.ca-lead { font-size: 1.05rem; line-height: 1.65; max-width: 52rem; }
.ca-intro { padding: 0.5rem 0 1rem; } .ca-intro h1 { margin: 0 0 0.5rem; }
