/* CUSTOM BOARDS: AI QUESTIONS (2026-10-12), drawn by assets/custom-ai.js into /custom and /custom/board. Uses the
   page's own tokens (custom.html :root) and its .tbl-head / .btn / .count-pill / .ads-note, so it reads as one page.
   Contrast measured against white: --fg-2 #475070 is 8.4:1, #8A5A08 on #FFF3DC is 5.6:1, the bar's navy 9.6:1. */
#ai-questions, #ai-visibility { scroll-margin-top: calc(var(--topbar-h, 54px) + 16px); }
#ai-questions { margin-top: 130px; }   /* 40, doubled to 80 (Rossi, 2026-10-13), then +50 (Rossi, 2026-10-20: "add 50px of vertical gap in this area") */
#ai-questions .aiq-head { margin-bottom: 16px; }
/* Job mode used to hide both sections here, so a paying job seeker could never see AI visibility at all. Shown again
   since 2026-11-06 (Rossi, Decision Desk `job-seeker-ai-questions-auto`: "Suggest automatically, one click to start"):
   the questions section suggests theirs by itself (custom-ai.js autoSuggest) and the board shows the answers. */

.aiq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#ai-questions .aiq-lede, #ai-visibility .ads-note { max-width: none; }
#ai-questions .aiq-lede { margin-bottom: 24px; }   /* 12, doubled (Rossi, 2026-10-20: "double that vertical space gap") */
.aiq-own { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8A5A08; background: var(--gold-soft); border-radius: var(--r-pill); padding: 2px 7px; margin-left: 4px; vertical-align: 1px; }

/* the add form: one row on desktop, the question taking all the room it can */
.aiq-add, .aiq-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 14px; }
#ai-questions .aiq-add input[type=text], #ai-questions .aiq-edit input[type=text] { width: auto; flex: 1 1 360px; min-width: 0; height: 40px; padding: 0 12px; font: inherit; font-size: 14px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; }
#ai-questions .aiq-add select { width: auto; flex: 0 0 auto; height: 40px; padding: 0 28px 0 10px; font: inherit; font-size: 13px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; }
/* 2026-10-16: seven controls now share the row (boards, accounts, language, country, city). Where the section is narrower
   than they need (the builder's layout is 976px), the question takes the first line and the menus the second, rather
   than wrapping wherever they happen to break. The country menu is capped: GeoNames' longest name made it 322px wide. */
.aiq-add { container-type: inline-size; }
#ai-questions .aiq-add select, .aiq-sg-sel select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231B2340' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='.7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 10px 6px; }
#ai-questions .aiq-add select:disabled { background-image: none; }
@container (max-width: 1150px) { #ai-questions .aiq-add input[type=text] { flex-basis: 100%; } }
.aiq-add input:focus, .aiq-add select:focus, .aiq-edit input:focus, .aiq-names input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-add input:disabled, .aiq-add select:disabled { background: var(--bg-3); color: var(--fg-3); }
/* which accounts a question is about (2026-10-13): a button the height of the selects beside it, opening a checklist */
.aiq-pick { position: relative; flex: 0 0 auto; }
.aiq-pick-btn { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; max-width: 240px; height: 40px; padding: 0 12px; font-size: 13px; color: var(--fg-1); background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md); user-select: none; }
.aiq-pick-btn::-webkit-details-marker { display: none; }
.aiq-pick-btn::after { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.aiq-pick[open] > .aiq-pick-btn::after { transform: translateY(1px) rotate(-135deg); }
.aiq-pick-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aiq-pick-btn:hover { border-color: var(--navy); }
.aiq-pick-btn:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
/* on a question it reads as the chip beside the language, with a clear "change me" arrow */
.aiq-pick-row .aiq-pick-btn { height: auto; padding: 2px 10px; font-size: 11px; color: var(--navy); background: var(--navy-soft); border-color: transparent; border-radius: var(--r-pill); gap: 7px; }
.aiq-pick-row .aiq-pick-btn::after { width: 5px; height: 5px; }
.aiq-pick-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 300px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg, 12px); box-shadow: 0 14px 36px -12px rgba(20, 24, 40, .28); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.aiq-pick-up .aiq-pick-pop { top: auto; bottom: calc(100% + 6px); }
.aiq-pick-t { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--fg-1); }
.aiq-pick-pop label { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 4px 8px; margin: 0 -8px; border-radius: var(--r-md); font-size: 13px; color: var(--fg-1); cursor: pointer; }
.aiq-pick-pop label:hover { background: var(--bg-3); }
.aiq-pick-pop label span:first-of-type { min-width: 0; overflow-wrap: anywhere; }
#ai-questions .aiq-pick-pop input[type=checkbox] { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--navy); }
.aiq-pick-pop .aiq-own { margin-left: 0; }
.aiq-pick-all { font-weight: 700; border-bottom: 1px solid var(--border); border-radius: 0 !important; padding-bottom: 8px !important; margin-bottom: 4px !important; }
.aiq-pick-list { max-height: 240px; overflow-y: auto; overflow-x: hidden; padding: 0 8px; margin: 0 -8px; }   /* the rows' hover band reaches 8px past each side; it must never make the list scroll sideways */
.aiq-pick-pop .aiq-pick-av { width: 22px; height: 22px; min-width: 22px; font-size: 9px; overflow-wrap: normal; }
.aiq-pick-pop label .aiq-pick-av + span { min-width: 0; overflow-wrap: anywhere; }
/* BOARDS in the picker (2026-10-15): a small heading over the boards, and another over the single accounts */
.aiq-pick-g { margin: 8px 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.aiq-pick-boards { max-height: 168px; }
#ai-questions .aiq-pick-pop input[type=radio] { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--navy); }
.aiq-pick-n { margin: 6px 0 0; font-size: 12px; color: var(--fg-2); line-height: 1.45; }
.aiq-pick-f { display: flex; justify-content: flex-end; margin-top: 8px; }
.aiv-q-for { display: block; margin-top: 3px; font-size: 12px; font-weight: 500; color: var(--fg-2); }

.aiq-msg { flex: 1 1 100%; margin: 0; font-size: 13px; color: var(--success); }
.aiq-msg:empty { display: none; }
.aiq-msg.bad { color: var(--danger); }

/* the pack of 25 extra questions (2026-10-16): one quiet row under the add form, in the suggestions' gold so it
   reads as an offer; the price sits in the sentence, the buttons at its right, and the row wraps whole on a phone */

/* suggestions: gold, so they read as an offer and not as questions already being asked */
.aiq-sugg { margin-top: 14px; background: var(--gold-soft); border: 1px solid #F6DFAE; border-radius: var(--r-xl); padding: 14px 16px; }
.aiq-sugg-t { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #5E3D05; }
.aiq-sugg-t span { font-weight: 400; color: #8A5A08; margin-left: 6px; }
.aiq-sugg ul, .aiq-list, .aiq-old ul, .aiq-names ul { list-style: none; margin: 0; padding: 0; }
.aiq-sugg li { display: flex; align-items: center; gap: 14px; padding: 8px 0; border-top: 1px solid #F6DFAE; }
.aiq-sugg li:first-child { border-top: 0; }
/* the job seeker's ready card (2026-11-06, autoSuggest): the same gold, its sentence and its one button on one row,
   the button dropping under the sentence on a phone */
.aiq-auto { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; }
.aiq-auto .aiq-sugg-t { margin: 0; flex: 1; min-width: 0; line-height: 1.5; }
.aiq-auto .aiq-sugg-t span { display: block; margin: 2px 0 0; }
.aiq-auto-go { flex: none; }
.aiq-auto + .aiq-sugg + .aiq-add { margin-top: 16px; }   /* the form after the questions the card names: the same 16px as the card's own gap */
@media (max-width: 640px) { .aiq-auto { flex-direction: column; align-items: stretch; } .aiq-auto-go { width: 100%; min-height: 44px; } }

/* the questions being asked */
.aiq-list { margin-top: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); }
.aiq-list li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid #f2f2f2; }
.aiq-list li:first-child { border-top: 0; }
.aiq-list .aiq-edit { flex: 1; border: 0; padding: 0; }
.aiq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.aiq-q { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; color: var(--fg-1); line-height: 1.4; }
.aiq-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--fg-2); }
.aiq-chip { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 2px 9px; font-size: 11px; color: var(--fg-2); }
.aiq-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.aiq-empty { margin-top: 14px; background: #fff; border: 1px dashed var(--border-2); border-radius: var(--r-xl); padding: 18px; font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.aiq-empty a { color: var(--navy); font-weight: 700; }

.aiq-old, .aiq-names { margin-top: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 0 16px; }
.aiq-old summary, .aiq-names summary { cursor: pointer; padding: 13px 0; font-size: 13px; font-weight: 700; color: var(--navy); }
.aiq-old li { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-top: 1px solid #f2f2f2; }
.aiq-old .aiq-q { color: var(--fg-2); font-weight: 500; }
.aiq-old .aiq-st { font-size: 12px; color: var(--fg-3); }
.aiq-names .ads-note { margin: 0 0 8px; max-width: none; }
.aiq-names li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #f2f2f2; }
.aiq-nm { flex: 0 0 200px; font-size: 13px; font-weight: 600; }
#ai-questions .aiq-names input { width: auto; flex: 1; min-width: 0; height: 36px; padding: 0 10px; font: inherit; font-size: 13px; border: 1px solid var(--border-2); border-radius: var(--r-md); }
.aiq-names details[open] { padding-bottom: 10px; }

/* ── the board ── */
.aiv-tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.aiv-tbl th { font-size: 11px; font-weight: 600; color: #6B6B6B; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; background: #fff; }
.aiv-tbl td { padding: 11px 14px; font-size: 13px; border-bottom: 1px solid #f2f2f2; white-space: nowrap; }
.aiv-tbl tr:last-child td { border-bottom: 0; }
.aiv-acct { font-weight: 600; }
.aiv-cell { display: inline-flex; align-items: center; gap: 8px; }
.aiv-pct { min-width: 36px; font-weight: 700; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.aiv-bar { display: inline-block; width: 56px; height: 6px; border-radius: 999px; background: var(--navy-soft); overflow: hidden; }
.aiv-bar i { display: block; height: 100%; background: var(--navy); border-radius: 999px; }
.aiv-sub { margin: 16px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--fg-1); }
.aiv-sub span { font-weight: 400; color: var(--fg-2); margin-left: 6px; }
/* two distinct groups (the table, then who else is named): 40px between them, the rule for groups */
.aiv-instead { margin-top: 40px; }
.aiv-instead .aiv-sub { margin-top: 0; }
.aiv-swipe { display: none; margin: 0 0 8px; font-size: 12px; color: var(--fg-2); }
.aiv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aiv-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 5px 11px; font-size: 13px; color: var(--fg-1); }
.aiv-chip b { font-size: 11px; color: #8A5A08; background: var(--gold-soft); border-radius: var(--r-pill); padding: 1px 7px; }
.aiv-none { font-size: 13px; color: var(--fg-2); }
.aiv-qs { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.aiv-q { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 0 16px; }
.aiv-q[open] { padding-bottom: 14px; }
.aiv-q summary { cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 0; list-style: none; }
.aiv-q summary::-webkit-details-marker { display: none; }
.aiv-q summary::before { content: "+"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.aiv-q[open] summary::before { content: "−"; }
.aiv-q-t { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.aiv-q-n { font-size: 12px; color: var(--fg-2); white-space: nowrap; }
.aiv-q .aiv-tbl th, .aiv-q .aiv-tbl td { padding-left: 0; }
.aiv-reads { display: flex; flex-wrap: wrap; gap: 8px; }
.aiv-read { appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--navy); background: var(--navy-soft); border: 0; border-radius: var(--r-pill); padding: 7px 13px; }
.aiv-read:hover { background: #D7DCEB; }

/* one answer, read in full */
.aiv-ov { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 40, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.aiv-dlg { position: relative; width: min(760px, 100%); max-height: 86vh; overflow-y: auto; background: #fff; border-radius: var(--r-xl); padding: 26px 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.aiv-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-3); font-size: 20px; line-height: 1; cursor: pointer; color: var(--fg-1); }
.aiv-dlg .aiv-sub:first-child { margin-top: 0; color: var(--fg-2); }
.aiv-dq { margin: 0 40px 10px 0; font-size: 18px; line-height: 1.35; }
.aiv-named { margin: 0 0 14px; font-size: 13px; color: var(--fg-2); }
.aiv-text { white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: var(--fg-1); background: var(--bg-3); border-radius: var(--r-lg); padding: 16px; }
.aiv-links { margin: 0; font-size: 12px; color: var(--fg-2); line-height: 1.6; }

/* BOARDS AND CITY MENUS (2026-10-16): the boards checklist shows how many accounts each board holds, quietly */
.aiq-pick-pop .aiq-pick-c { margin-left: auto; flex: 0 0 auto; font-size: 11px; color: var(--fg-2); white-space: nowrap; }
.aiq-pick-city .aiq-pick-pop { width: 320px; }
.aiq-pick-pop input.aiq-city-q { width: 100%; height: 38px; padding: 0 12px; margin: 0 0 6px; font: inherit; font-size: 13px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; }
.aiq-pick-pop input.aiq-city-q:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-city-list { max-height: 264px; overflow-y: auto; overflow-x: hidden; }
.aiq-city-o { appearance: none; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; width: 100%; min-height: 36px; padding: 7px 8px; margin: 0; font: inherit; font-size: 13px; color: var(--fg-1); text-align: left; background: none; border: 0; border-radius: var(--r-md); cursor: pointer; }
.aiq-city-o:hover, .aiq-city-o:focus-visible { background: var(--bg-3); outline: none; }
.aiq-city-o > span:first-child { min-width: 0; overflow-wrap: anywhere; font-weight: 600; }
.aiq-city-r { flex: 0 0 auto; max-width: 48%; font-size: 11px; color: var(--fg-2); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aiq-city-own > span:first-child { color: var(--navy); }
.aiq-city-n { padding-top: 8px; border-top: 1px solid var(--border); }
/* the country menu (2026-10-16): the city menu's search, a flag at the left of every country and on the button */
.aiq-flag { flex: 0 0 auto; display: inline-block; width: 20px; height: 15px; border-radius: 2px; object-fit: cover; background: var(--bg-3); box-shadow: 0 0 0 1px rgba(20, 24, 40, .14); }   /* grey until the picture arrives: an empty white box read as a checkbox */
.aiq-pick-country .aiq-pick-btn { max-width: 210px; gap: 9px; }
.aiq-pick-country .aiq-pick-l { flex: 1 1 auto; text-align: left; }
.aiq-pick-country .aiq-pick-pop { width: 300px; }
.aiq-pick-pop input.aiq-ctry-q { width: 100%; height: 38px; padding: 0 12px; margin: 0 0 6px; font: inherit; font-size: 13px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; }
.aiq-pick-pop input.aiq-ctry-q:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-ctry-o { appearance: none; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 7px 8px; margin: 0; font: inherit; font-size: 13px; color: var(--fg-1); text-align: left; background: none; border: 0; border-radius: var(--r-md); cursor: pointer; }
.aiq-ctry-o:hover, .aiq-ctry-o:focus-visible { background: var(--bg-3); outline: none; }
.aiq-ctry-o > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.aiq-ctry-o.on { font-weight: 600; background: var(--navy-soft); }
.aiq-ctry-o.on::after { content: ""; flex: 0 0 auto; margin-left: auto; width: 5px; height: 9px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: translateY(-1px) rotate(45deg); }
.aiq-pick-off .aiq-pick-btn { cursor: default; color: var(--fg-3); background: var(--bg-3); }
.aiq-pick-off .aiq-pick-btn::after { display: none; }
.aiq-sg .aiq-pick-sg.aiq-pick-country .aiq-pick-pop { width: 300px; }

/* a suggestion and the Google wording it came from */
.aiq-sugg-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aiq-ev { font-size: 12px; line-height: 1.45; color: #7A5210; }
.aiq-ev b { font-weight: 700; margin-right: 4px; }

/* ── THE "SUGGEST QUESTIONS FOR ME" LIGHTBOX (2026-10-16): the same box as the page's "Track a new account" window
   (custom.html .modal): dimmed page, white box, gold eyebrow, title, a footer bar for the buttons ── */
body.aiq-sg-on { overflow: hidden; }
/* above the cookie notice (trk-consent.js sits at 2147483000), whose buttons would otherwise cover the box's own on a phone;
   the page's toast goes above the box and to the bottom, as it does for the "Track a new account" window */
body.aiq-sg-on .toast { z-index: 2147483200; top: auto; bottom: 24px; }
.aiq-sg-ov { position: fixed; inset: 0; z-index: 2147483100; background: rgba(20, 24, 38, .62); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; padding: 16px; animation: aiqfade .2s ease both; }
@keyframes aiqfade { from { opacity: 0; } to { opacity: 1; } }
.aiq-sg { width: min(680px, 100%); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; background: var(--bg-2, #FAFAF7); border-radius: 18px; box-shadow: var(--shadow-xl, 0 24px 64px rgba(0, 0, 0, .28)); overflow: hidden; animation: aiqpop .28s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes aiqpop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.aiq-sg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px 16px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.aiq-sg-eye { margin: 0 0 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-press, #B07A10); }
.aiq-sg-t { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--fg-1); }
.aiq-sg-x { flex: 0 0 auto; width: 36px; height: 36px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--fg-3); cursor: pointer; }
.aiq-sg-x:hover { color: var(--danger); background: var(--bg-3); }
.aiq-sg-in { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.aiq-sg-body { padding: 20px 24px 8px; overflow-y: auto; flex: 1; }
.aiq-sg-lede { margin: 0 0 20px; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.aiq-sg-f { margin-bottom: 22px; }
/* 22 Oct 2026, Rossi: "Double the vertical gap of that space" (above "Where and in which language"): 22px became 44px */
.aiq-sg-f.aiq-sg-where { margin-top: 44px; }
.aiq-sg-l { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--fg-1); }
.aiq-sg-l span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--fg-3); }
.aiq-sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.aiq-sg-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 14px; font-size: 13px; color: var(--fg-1); background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-pill); cursor: pointer; user-select: none; transition: background .15s, border-color .15s; }
.aiq-sg-chip:hover { border-color: var(--navy); }
.aiq-sg-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.aiq-sg-chip:focus-within { box-shadow: 0 0 0 3px var(--gold-soft); border-color: var(--gold); }
.aiq-sg-chip.on { background: var(--navy-soft); border-color: var(--navy); color: var(--navy); font-weight: 600; }
.aiq-sg-chip.on::before { content: ""; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.aiq-sg-chip .aiq-pick-av { width: 20px; height: 20px; min-width: 20px; font-size: 9px; }
.aiq-sg-none { margin: 0; font-size: 13px; color: var(--fg-2); }
/* job mode: which companies the chosen ones bring along (their competitors), under the company chips */
.aiq-sg-sum { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); }
.aiq-sg-sum b { color: var(--fg-1); font-weight: 600; }
.aiq-sg-row { display: grid; grid-template-columns: 1fr 1.4fr 1.4fr; gap: 12px; }
.aiq-sg-sel { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.aiq-sg-sel > span { font-size: 12px; font-weight: 600; color: var(--fg-2); }
.aiq-sg-sel select { width: 100%; height: 40px; padding: 0 28px 0 10px; font: inherit; font-size: 13px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background-color: #fff; }   /* the colour only: a "background" shorthand here wiped the arrow set above (Language and Country looked like text boxes) */
.aiq-sg-sel select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-sg .aiq-pick-sg { width: 100%; }
.aiq-sg .aiq-pick-sg .aiq-pick-btn { width: 100%; max-width: none; justify-content: space-between; }
.aiq-sg .aiq-pick-sg .aiq-pick-pop { right: 0; left: auto; width: 320px; }
.aiq-sg-err { margin: 0 0 16px; padding: 11px 14px; font-size: 13px; line-height: 1.5; color: #8A1C1C; background: #FDECEC; border: 1px solid #F5C6C6; border-radius: var(--r-lg); }
.aiq-sg-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px 18px; border-top: 1px solid var(--border); background: var(--bg-2, #FAFAF7); flex-shrink: 0; }
.aiq-sg-runs { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--fg-2); }
.aiq-sg-btns { display: flex; gap: 10px; flex: 0 0 auto; }
/* the run: three steps, the current one turning */
.aiq-sg-steps { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.aiq-sg-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--fg-3); }
.aiq-sg-steps li.done, .aiq-sg-steps li.on { color: var(--fg-1); }
.aiq-sg-steps li.on { font-weight: 600; }
.aiq-sg-dot { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-2); position: relative; }
.aiq-sg-steps li.done .aiq-sg-dot { background: var(--success, #1F8A4C); border-color: var(--success, #1F8A4C); }
.aiq-sg-steps li.done .aiq-sg-dot::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.aiq-sg-steps li.on .aiq-sg-dot { border-color: var(--navy-soft); border-top-color: var(--navy); animation: aiqspin .9s linear infinite; }
@keyframes aiqspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .aiq-sg-steps li.on .aiq-sg-dot { animation: none; border-color: var(--navy); } .aiq-sg, .aiq-sg-ov { animation: none; } }
.aiq-sg-wait { margin: 0; font-size: 13px; line-height: 1.55; color: var(--fg-2); }
/* the questions it wrote */
.aiq-sg-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); }
.aiq-sg-list li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid #f2f2f2; }
.aiq-sg-list li:first-child { border-top: 0; }
.aiq-sg-list .aiq-ev { color: var(--fg-2); }   /* 12px text: the darker grey keeps it readable (8.4:1) */
.aiq-sg-kept, .aiq-sg-gone { flex: 0 0 auto; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); }
.aiq-sg-kept { color: #14663A; background: #E3F4EA; }
.aiq-sg-gone { color: var(--fg-3); background: var(--bg-3); }

/* BOARDS AND ACCOUNTS (2026-10-16 evening): "All", the two added last, then a menu with every one. The menu's button is
   the city and country menus' button (white, a hairline border, the chevron) at the chips' height and roundness, so it
   sits on their line; once one of the hidden ones is picked it takes the picked chips' tint. Its list opens under the
   whole row, from its left edge, so it never runs past the box on either side. */
.aiq-sg-chips { position: relative; align-items: center; }
.aiq-sg .aiq-sgm { position: static; }
.aiq-sg .aiq-sgm .aiq-pick-btn { height: 38px; padding: 0 14px 0 16px; border-radius: var(--r-pill); gap: 10px; font-weight: 600; color: var(--fg-1); }
.aiq-sg .aiq-sgm.has .aiq-pick-btn { background: var(--navy-soft); border-color: var(--navy); color: var(--navy); }
.aiq-sg .aiq-sgm .aiq-pick-pop { left: 0; right: auto; width: min(360px, 100%); }
.aiq-sg .aiq-pick-pop input[type=checkbox] { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--navy); }
.aiq-pick-pop input.aiq-sgm-q { width: 100%; height: 38px; padding: 0 12px; margin: 0 0 8px; font: inherit; font-size: 13px; color: var(--fg-1); border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; }
.aiq-pick-pop input.aiq-sgm-q:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-sgm-list { max-height: 252px; }
.aiq-sgm-list label[hidden] { display: none; }
.aiq-sgm-list .aiq-own { margin-left: auto; }

/* RUNS LEFT (2026-10-16 evening): from the third run of the month, a light red line at the top of the box */
.aiq-sg-warn { display: flex; align-items: flex-start; gap: 10px; margin: -4px 0 22px; padding: 11px 14px; background: #FDEEEE; border: 1px solid #F4CDCD; border-radius: var(--r-lg, 12px); }
.aiq-sg-warn svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: #B42318; stroke-width: 2; stroke-linecap: round; }
.aiq-sg-warn p { margin: 0; font-size: 13px; line-height: 1.5; color: #8A1C1C; }   /* 7.9:1 on the tint */
.aiq-sg-warn b { font-weight: 700; }

/* YOUR EARLIER SUGGESTIONS (2026-10-16 evening): a folded card under the form, opened like a link; inside, one block per
   run (its date and place), each question with what became of it, or Keep */
.aiq-sg-past { margin: 4px 0 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl, 14px); }
.aiq-sg-past > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; border-radius: var(--r-xl, 14px); }
.aiq-sg-past > summary::-webkit-details-marker { display: none; }
.aiq-sg-past > summary::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin: 0 4px 0 2px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.aiq-sg-past[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.aiq-sg-past > summary:hover { background: var(--bg-3); }
.aiq-sg-past > summary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.aiq-sg-past-ic { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-soft); }
.aiq-sg-past-ic svg { width: 17px; height: 17px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.aiq-sg-past-t { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.aiq-sg-past-t span { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--fg-2); }
.aiq-sg-past-n { flex: 0 0 auto; min-width: 26px; padding: 3px 9px; font-size: 12px; font-weight: 700; text-align: center; color: var(--navy); background: var(--navy-soft); border-radius: var(--r-pill); }
.aiq-sg-past-in { padding: 4px 14px 14px; border-top: 1px solid var(--border); }
.aiq-sg-run { margin-top: 14px; }
.aiq-sg-run-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 8px; font-size: 12.5px; color: var(--fg-2); }
.aiq-sg-run-h b { font-size: 13px; color: var(--fg-1); }
.aiq-sg-past .aiq-sg-list { border-radius: var(--r-lg, 12px); }
.aiq-sg-past .aiq-sg-list li { padding: 10px 12px; }
.aiq-sg-past .aiq-sg-list .btn { flex: 0 0 auto; }

@media (max-width: 760px) {
  #ai-questions .aiq-add select { flex: 1 1 calc(50% - 6px); min-width: 0; }   /* two halves and the 10px gap: 5px each rounded onto two lines */
  .aiq-pick-city .aiq-pick-pop { width: 100%; }
  .aiq-sg-ov { align-items: flex-end; padding: 0; }
  .aiq-sg { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 18px 18px 0 0; }
  .aiq-sg-head { padding: 18px 18px 14px; }
  .aiq-sg-body { padding: 16px 18px 6px; }
  .aiq-sg-foot { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 18px 16px; }
  .aiq-sg-btns .btn { flex: 1; justify-content: center; }
  .aiq-sg-row { grid-template-columns: 1fr 1fr; }
  .aiq-sg-row .aiq-sg-sel:last-child { grid-column: 1 / -1; }
  .aiq-sg .aiq-pick-sg .aiq-pick-pop { left: 0; right: 0; width: auto; }
  .aiq-sg-list li { flex-direction: column; align-items: stretch; gap: 10px; }
  .aiq-sg-chip { min-height: 44px; }
  .aiq-sg .aiq-sgm .aiq-pick-btn { height: 44px; }
  .aiq-sg .aiq-sgm .aiq-pick-pop { width: 100%; }
  .aiq-sg-past .aiq-sg-list li { flex-direction: row; align-items: center; }   /* a short Keep or Kept stays beside its question */
  .aiq-sg-past-t span { display: none; }
  .aiq-pick-add { flex: 1 1 100%; }
  .aiq-pick-add .aiq-pick-btn { width: 100%; max-width: none; justify-content: space-between; }
  .aiq-pick-add .aiq-pick-pop { width: 100%; max-width: none; }
  /* the country keeps its half of the line beside the language; its list opens across the whole line (its own half,
     the 10px gap and the language's half), from its right edge */
  .aiq-pick-add.aiq-pick-country { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .aiq-pick-add.aiq-pick-country .aiq-pick-btn { max-width: none; }
  .aiq-pick-add.aiq-pick-country .aiq-pick-pop { left: auto; right: 0; width: calc(200% + 10px); }
  .aiq-sg .aiq-pick-sg.aiq-pick-country .aiq-pick-pop { left: auto; right: 0; width: calc(200% + 12px); }
  .aiq-ctry-o { min-height: 44px; }
  #ai-questions .aiq-add .aiq-pick-f .btn { flex: 0 0 auto; }
  /* thumb-sized on a phone: the question's chip and each line of the checklist */
  .aiq-pick-row .aiq-pick-btn { padding: 7px 12px; font-size: 12px; }
  .aiq-pick-pop label { min-height: 44px; }
  /* on a phone a question's checklist opens across the question, not from the chip, so it never runs off the screen */
  .aiq-main { position: relative; }
  .aiq-pick-row { position: static; }
  .aiq-pick-row .aiq-pick-pop { left: 0; right: 0; width: auto; max-width: none; }
  #ai-questions .aiq-add .btn { flex: 1 1 100%; justify-content: center; }
  .aiq-list li, .aiq-sugg li { flex-direction: column; align-items: stretch; gap: 10px; }
  .aiq-acts .btn { flex: 1; justify-content: center; }
  .aiq-names li { flex-wrap: wrap; }
  .aiq-nm { flex: 1 1 100%; }
  .aiv-dlg { padding: 22px 18px; }
  .aiv-swipe { display: block; }
}

/* THE "EXTRA QUESTIONS" LIGHTBOX (19 Oct 2026, Rossi: "add a button ... and create a lightbox, with similar style as the
   'suggest questions' lightbox"). It wears the Suggest box's frame (.aiq-sg-*) and adds only what it needs. */
#ai-questions .aiq-head-acts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
/* 20 Oct 2026, Rossi: buying wears "the typical ecommerce green" (the same green as the right panel's bottom button,
   #17AE42), and "Suggest questions for me" is purple, "since purple seems to be associated with AI", with white text. */
.btn.aiq-buy { background: #17AE42; border-color: #17AE42; color: #fff; }
.btn.aiq-buy:hover:not(:disabled) { background: #12933A; border-color: #12933A; color: #fff; }
.btn.aiq-buy:disabled { background: #A9D9B6; border-color: #A9D9B6; color: #fff; cursor: not-allowed; }
.btn.aiq-ai { background: #6941E0; border-color: #6941E0; color: #fff; }
.btn.aiq-ai:hover:not(:disabled) { background: #5732C7; border-color: #5732C7; color: #fff; }
.btn.aiq-ai:disabled { background: #C9BCF3; border-color: #C9BCF3; color: #fff; }
.aiq-pk-price { color: #17AE42; }
/* 20 Oct 2026: a pack buy waiting for the bank's approval, shown on the box's first screen */
.aiq-pk-wait { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; background: #FFF6E0; border: 1px solid #F6DFAE; border-radius: var(--r-lg); }
.aiq-pk-wait p { margin: 0; flex: 1 1 260px; font-size: 13.5px; line-height: 1.5; color: #5E3D05; }
.aiq-pk .aiq-sg-btns a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.aiq-pk-wait a.btn { text-decoration: none; flex: 0 0 auto; }
/* 20 Oct 2026: how many packs to buy at once, 1 to 4 */
.aiq-pk-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.aiq-pk-opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 10px 12px; font: inherit; text-align: left; background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-lg); cursor: pointer; transition: border-color .15s, background .15s; }
.aiq-pk-opt b { font-size: 18px; font-weight: 800; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; }
.aiq-pk-opt span { font-size: 12px; color: var(--fg-2); }
.aiq-pk-opt em { margin-top: 4px; font-style: normal; font-size: 12.5px; font-weight: 700; color: #17AE42; }
.aiq-pk-opt:hover:not(:disabled) { border-color: #17AE42; }
.aiq-pk-opt.on { background: #EEF9F1; border-color: #17AE42; box-shadow: inset 0 0 0 1px #17AE42; }
.aiq-pk-opt:disabled { opacity: .45; cursor: not-allowed; }
.aiq-pk { width: min(580px, 100%); }
/* 22 Oct: the four sizes on the first screen, under the totals */
.aiq-pk-pickl { margin: 0 0 10px; font-size: 13.5px; font-weight: 700; color: var(--fg-1); }
.aiq-pk-pick { margin-bottom: 8px; }
.aiq-pk-pick .aiq-pk-opt { cursor: pointer; }
.aiq-pk-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 20px; }
.aiq-pk-tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); }
.aiq-pk-l { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); }
.aiq-pk-tile b { font-size: 26px; font-weight: 800; line-height: 1.15; color: var(--navy); font-variant-numeric: tabular-nums; }
.aiq-pk-tile small { font-size: 12.5px; color: var(--fg-2); }
.aiq-pk-total { background: var(--gold-soft); border-color: #F6DFAE; }
.aiq-pk-total .aiq-pk-l { color: #8A5A08; }
.aiq-pk-total b { color: #3A2600; }
/* the purchase summary sits on light green, the colour of the buy button under it (Rossi: "important information about a purchase") */
.aiq-pk-confirm.aiq-pk-buy { background: #EEF9F1; border-color: #CDEFD8; border-left-color: #17AE42; }
.aiq-pk-agree { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 0 2px; font-size: 13px; line-height: 1.5; color: #D64541; cursor: pointer; }
.aiq-pk-agree input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #17AE42; cursor: pointer; }
.aiq-pk-confirm { margin: 0 0 16px; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--r-xl); }
.aiq-pk-confirm h3 { margin: 0 0 10px; font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--fg-1); }
.aiq-pk-confirm ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); }
.aiq-pk-confirm b { color: var(--fg-1); }
.aiq-pk-ok { margin: 0 0 16px; padding: 11px 14px; font-size: 13px; line-height: 1.5; color: #14663A; background: #E3F4EA; border: 1px solid #BFE3CD; border-radius: var(--r-lg); }
@media (max-width: 760px) {
  /* the two buttons share one row under the title, instead of a row each */
  #ai-questions .aiq-head-acts { width: 100%; flex-wrap: nowrap; gap: 8px; }
  #ai-questions .aiq-head-acts .aiq-wide { display: none; }   /* "Extra questions" and "Suggest questions": short enough to share the row */
  #ai-questions .aiq-head-acts .btn { flex: 1 1 auto; justify-content: center; padding-left: 12px; padding-right: 12px; white-space: nowrap; }   /* each as wide as its words; a narrow phone puts the second under the first */
  .aiq-pk .aiq-sg-btns [data-pk="cancel"] { flex: 0 0 auto; padding-left: 20px; padding-right: 20px; }   /* the "Yes, add for $25 a month" button keeps one line */
  .aiq-pk-sum { gap: 8px; margin-bottom: 16px; }
  .aiq-pk-tile { padding: 12px; }
  .aiq-pk-n { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aiq-pk-tile b { font-size: 22px; }
  .aiq-pk-l { font-size: 10.5px; letter-spacing: .06em; }
}
