/* /a2aresearch/how-agents-choose (web/api/choices.js): the agent research site's look, one shaded table per market. */
:root {
  --ink: #222c27; --muted: #737c75; --paper: #f7f8f3; --white: #ffffff; --border: #e1e6dc;
  --lime: #d5f48b; --green: #244b3a; --sage: #59744e; --label: #718164; --pill: #ebeee5;
  --cell-0: #f1f3ec; --cell-1: #dfe7d9; --cell-2: #b9ccb4; --cell-3: #7f9e86; --cell-4: #4d7461; --cell-5: #2f5646;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; margin: 0; }
a { color: var(--green); }
.wrap { max-width: 1132px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.brand { display: flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 750; letter-spacing: -0.5px; color: var(--ink); text-decoration: none; }
.brandmark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--lime); border-radius: 12px; font: 35px Georgia, serif; position: relative; }
.brandmark span { position: absolute; right: 3px; top: 0; font: 15px sans-serif; }
.brand-sub { font-size: 12px; letter-spacing: 0; font-weight: 500; border-left: 1px solid #bec7b9; margin-left: 7px; padding-left: 15px; color: var(--muted); }
.top nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14px; }
.top nav a { color: var(--ink); text-decoration: none; }
.live { display: inline-flex; gap: 7px; align-items: center; background: var(--pill); padding: 5px 11px; border-radius: 20px; color: #4b604b; }
.live i { width: 6px; height: 6px; background: #608345; border-radius: 50%; display: inline-block; }
.hero { padding: 56px 0 8px; max-width: 780px; }
.eyebrow { font-size: 10px; font-weight: 750; letter-spacing: 2px; color: var(--label); }
h1 { font-size: clamp(40px, 5vw, 67px); letter-spacing: -3px; line-height: 1.09; margin: 24px 0; }
h1 span { font-family: Georgia, serif; font-weight: 400; color: var(--sage); }
.lede { font-size: 17px; color: var(--muted); margin: 0; max-width: 660px; }
.switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); margin: 32px 0 18px; }
.switch .tab { font-size: 14px; font-weight: 600; border-radius: 9px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
.switch .tab[aria-current="true"] { background: var(--ink); color: var(--white); }
.switch .tab:focus-visible { outline: 3px solid #65a76e; outline-offset: 2px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 26px clamp(14px, 3vw, 28px); margin-bottom: 24px; }
.card h2 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.5px; line-height: 1.2; margin: 0 0 6px; }
.card .sub { color: var(--muted); margin: 0 0 18px; max-width: 760px; }
.scroll { overflow-x: auto; }
table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 880px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 8px; text-align: center; font-size: 14px; }
thead th { font-size: 13px; font-weight: 600; vertical-align: bottom; }
thead tr.group th { font-size: 10px; font-weight: 750; letter-spacing: 1.5px; color: var(--label); padding-bottom: 2px; }
thead tr.n th, thead tr.n td { font-size: 12px; font-weight: 500; color: var(--muted); padding-top: 0; border-bottom: 1px solid var(--border); white-space: nowrap; }
.reason { text-align: left; padding-left: 4px; min-width: 180px; position: sticky; left: 0; background: var(--white); z-index: 1; }
tbody .reason { border-bottom: 1px solid var(--border); font-weight: 400; }
.reason strong { display: block; font-size: 15px; font-weight: 600; }
.reason span { font-size: 12px; color: var(--muted); }
.reason em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green); background: var(--lime); border-radius: 6px; padding: 1px 6px; margin-left: 6px; white-space: nowrap; }
td.cell { font-weight: 600; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); }
.study { border-right: 10px solid var(--white); }
td.none { color: #6f776b; font-weight: 500; font-size: 12px; background: var(--cell-0); }
.c0 { background: var(--cell-0); } .c1 { background: var(--cell-1); } .c2 { background: var(--cell-2); } .c3 { background: var(--cell-3); }
.c4 { background: var(--cell-4); color: var(--white); } .c5 { background: var(--cell-5); color: var(--white); }
.asked { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--border); }
.asked strong { display: block; font-size: 13px; }
.asked q { display: block; font-family: Georgia, serif; font-size: 17px; margin: 4px 0; }
.asked span { font-size: 13px; color: var(--muted); }
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.foot strong { color: var(--ink); display: block; margin-bottom: 2px; }
.source { margin: 18px 0 0; font-size: 12px; color: var(--muted); }
footer { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 40px 0; font-size: 13px; }
footer a { color: var(--ink); }
footer .muted { color: var(--muted); }
.js-markets .card[hidden] { display: none; }
@media (max-width: 600px) { .reason { min-width: 136px; } }
