/* Company-led model map. Scoped to this page; the shared Tools hero stays intact. */
.aim-page [hidden] { display: none !important; }
.aim-hero-logos { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.aim-hero-logos > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 7px; background: #fff; }
.aim-hero-logos img { object-fit: contain; border-radius: 4px; }
.aim-updates { display: grid; grid-template-columns: 110px 1fr 1fr; gap: 20px; align-items: center; margin-bottom: 24px; padding: 18px 22px; border: 1px solid #e5daeb; border-radius: 8px; background: #f4eef8; }
.aim-updates > p { margin: 0; color: #865284; }
.aim-updates > a { display: flex; gap: 12px; align-items: baseline; color: var(--ata-ink); font-size: 12px; line-height: 1.7; }
.aim-updates > a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.aim-updates time { white-space: nowrap; color: #8c3885; font-size: 10px; font-weight: 800; }
.aim-page .aim-toolbar { padding: 16px; }
.aim-toolbar .ata-search { flex: 1; max-width: 310px; }
.aim-toolbar .ata-search input { width: 100%; }
.aim-panel { margin-bottom: 26px; min-width: 0; }
.aim-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; }
.aim-panel-heading > div { display: flex; align-items: center; gap: 12px; }
.aim-panel-heading h3 { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 800; }
.aim-swipe { color: var(--ata-muted); font-size: 10px; }
.aim-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--ata-line); border-radius: 9px; background: #fff; scrollbar-color: #c9c3d3 #f3f2f6; scrollbar-width: thin; }
.aim-table { --aim-label-width: 112px; width: 100%; min-width: calc(var(--aim-label-width) + var(--aim-visible-companies, 10) * 150px); border-collapse: separate; border-spacing: 0; table-layout: fixed; text-align: left; }
.aim-table th, .aim-table td { padding: 16px 12px; vertical-align: top; border: 0; border-right: 1px solid #f0eff4; }
.aim-table tr > :last-child { border-right: 0; }
.aim-table thead th { padding: 25px 8px 22px; border-bottom: 1px solid var(--ata-line); background: #fff; }
.aim-table .aim-corner { width: var(--aim-label-width); padding: 26px 15px; vertical-align: middle; color: #8c8299; font-size: 9px; line-height: 1.7; letter-spacing: 1px; font-weight: 700; }
.aim-table thead th:first-child, .aim-table tbody th, .aim-table tfoot th { position: sticky; left: 0; z-index: 1; border-right: 1px solid #e8e4ee; }
.aim-corner span { display: block; margin-top: 14px; font-size: 23px; font-weight: 400; }
.aim-company { text-align: center; min-height: 106px; position: relative; }
.aim-company::after { position: absolute; bottom: -23px; left: 25%; width: 50%; height: 3px; content: ''; background: var(--aim-accent, #a41683); opacity: .8; }
.aim-company img { display: block; width: 36px; height: 36px; margin: 0 auto 13px; object-fit: contain; border-radius: 6px; }
.aim-company strong { display: block; color: var(--ata-ink); font-size: 13px; font-weight: 800; line-height: 1.4; }
.aim-company small { display: block; color: #7d7888; margin-top: 6px; font-size: 9px; font-weight: 400; line-height: 1.6; }
.aim-table tbody tr > * { border-bottom: 1px solid #eeedf3; }
.aim-table .aim-role { padding: 23px 14px; background: #faf9fc; font-weight: 600; }
.aim-role svg { width: 21px; height: 21px; color: #8d638f; margin-bottom: 10px; }
.aim-role strong { display: block; font-size: 11px; line-height: 1.5; }
.aim-role small { display: block; color: #8a8494; font-size: 9px; font-weight: 400; line-height: 1.65; margin-top: 5px; }
.aim-model { display: block; color: var(--ata-ink); padding: 4px 0 12px; line-height: 1.45; border-radius: 5px; overflow-wrap: anywhere; }
.aim-model + .aim-model { border-top: 1px solid #efedf3; padding-top: 12px; }
.aim-model:last-of-type { padding-bottom: 4px; }
.aim-model > strong { display: block; font-size: 12px; font-weight: 800; line-height: 1.5; }
.aim-model > small { display: block; font-size: 10px; line-height: 1.65; margin-top: 5px; color: #74717f; }
.aim-model:hover > strong { color: var(--ata-brand); text-decoration: underline; text-underline-offset: 3px; }
.aim-model:focus-visible, .aim-scroll:focus-visible, .aim-updates > a:focus-visible { outline: 2px solid var(--ata-brand); outline-offset: 3px; }
.aim-cell-core .aim-model { padding: 12px 10px; background: linear-gradient(135deg,#f4f1f9,#faf8fc); border: 1px solid #eae4f2; border-radius: 6px; }
.aim-cell-core .aim-model + .aim-model { margin-top: 9px; }
.aim-cell-core .aim-model > strong { font-size: 13px; }
.aim-cell-core .aim-model:hover { border-color: #d3b8d9; }
.aim-cell-open .aim-model { border-left: 2px solid #a8cabc; padding-left: 10px; }
.aim-cell-specialist .aim-model > strong { font-size: 11px; font-weight: 700; }
.aim-badge { display: block; width: fit-content; margin-bottom: 8px; padding: 3px 5px; border-radius: 3px; font-size: 8px; font-weight: 800; line-height: 1.5; letter-spacing: .15px; }
.aim-badge-new { color: #7e2579; background: #eddfef; }
.aim-badge-restricted { color: #8a5b17; background: #faf0db; }
.aim-weight-label { display: block; color: #32745a; font-size: 9px; line-height: 1.6; margin-top: 7px; }
.aim-cell-note, .aim-cell-no-match { margin: 7px 0 0; color: #8e8997; font-size: 10px; line-height: 1.8; font-weight: 400; }
.aim-table tfoot th, .aim-table tfoot td { padding: 15px 12px; background: #fcfbfd; vertical-align: middle; }
.aim-table tfoot th { color: #8c8299; font-size: 8px; line-height: 1.6; letter-spacing: .8px; padding-left: 14px; }
.aim-table tfoot a { color: #805080; font-size: 10px; line-height: 1.6; }
.aim-table tfoot a:hover { text-decoration: underline; }
.aim-table tfoot a span { margin-left: 3px; }
.aim-table.aim-single { min-width: 0; max-width: 680px; }
.aim-table.aim-filtered .aim-model { max-width: 340px; }
.aim-source-entry { padding: 22px 0; border-top: 1px solid #eeedf3; }
.aim-source-entry:first-child { border-top: 0; }
.aim-source-entry h3 { font-size: 17px; line-height: 1.5; font-weight: 800; margin: 8px 0 12px; }
.aim-facts { display: grid; gap: 8px; margin: 18px 0; font-size: 12px; line-height: 1.7; }
.aim-facts > div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; }
.aim-facts dt { color: #85808e; font-weight: 400; }
.aim-facts dd { margin: 0; color: #43404c; }
.aim-citation small { display: block; margin-top: 4px; color: #91899a; font-size: 9px; line-height: 1.7; }
.aim-citation + .aim-citation { margin-top: 13px; }
.aim-dialog { max-width: 640px; }
.aim-dialog .ata-dialog-close { cursor: pointer; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.aim-dialog .ata-dialog-close:is(:hover, :focus-visible) { color: var(--ata-brand); background: #f7edf7; border-color: #cba7c9; box-shadow: 0 2px 8px #9b177f18; }
.aim-dialog .ata-dialog-close:active { background: #eeddee; border-color: var(--ata-brand); box-shadow: none; }
.aim-dialog .ata-dialog-close svg { display: block; width: 16px; height: 16px; pointer-events: none; }
.aim-dialog .aim-source-entry { padding: 0; border: 0; }
.aim-dialog h2 { font-size: 26px; margin: 10px 0 18px; padding-right: 20px; }
.aim-dialog .aim-source-entry > p:not(.ata-eyebrow) { color: #65616e; font-size: 14px; line-height: 1.85; }
@media (max-width: 1000px) {
 .aim-updates { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
 .aim-updates > p { grid-column: 1 / -1; }
 .aim-toolbar .ata-search { max-width: none; flex-basis: 100%; }
}
@media (max-width: 600px) {
 .aim-updates { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
 .aim-updates > a { font-size: 11px; }
 .aim-panel-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
 .aim-panel-heading h3 { font-size: 14px; }
 .aim-table th, .aim-table td { padding-left: 10px; padding-right: 10px; }
 .aim-table { --aim-label-width: 94px; }
 .aim-table .aim-corner { padding-left: 12px; }
 .aim-table .aim-role { padding-left: 12px; }
 .aim-page .ata-map-meta { align-items: flex-start; gap: 10px; }
 .aim-page .ata-map-meta p:last-child { max-width: 40%; text-align: right; }
 .aim-dialog h2 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .aim-dialog .ata-dialog-close { transition: none; }
}
/* Vertical benchmark chart: colors follow Artificial Analysis; scale stays fixed on filtering. */
.aimb-section { padding: 40px 0 48px; scroll-margin-top: 80px; }
.aimb-page-description { max-width: 860px; margin: 0 0 44px; color: var(--ata-muted); font-size: 13px; line-height: 1.85; scroll-margin-top: 90px; }
.aimb-page-description h2 { margin: 26px 0 12px; font-size: 23px; }
.aimb-page-description p { margin: 0 0 14px; }
.aimb-page-description a { color: var(--ata-brand); text-decoration: underline; text-underline-offset: 3px; }
.aimb-section .ata-section-heading { align-items: center; }
.aimb-date { display: flex; gap: 7px; align-items: center; color: #756d80; font-size: 11px; white-space: nowrap; }
.aimb-date-dot { width: 6px; height: 6px; background: #76a657; border-radius: 50%; }
.aimb-overview { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 24px; color: #7c7586; font-size: 11px; }
.aimb-overview strong { color: #282431; margin-right: 5px; font-size: 15px; font-weight: 800; }
.aimb-card { overflow: hidden; border: 1px solid var(--ata-line); border-radius: 10px; background: #fff; }
.aimb-toolbar { display: grid; grid-template-columns: minmax(200px,1fr) minmax(170px,240px) 160px; gap: 12px; padding: 24px 26px 18px; }
.aimb-search { display: flex; align-items: center; gap: 10px; border: 1px solid #e5e1ea; border-radius: 6px; padding: 0 13px; background: #fcfbfd; }
.aimb-search svg { width: 17px; height: 17px; color: #91869d; flex-shrink: 0; }
.aimb-search input { display: block; min-width: 0; width: 100%; height: 48px; padding: 0; border: 0; color: #2b2733; background: transparent; font: inherit; font-size: 12px; }
.aimb-search:focus-within { outline: 2px solid var(--ata-brand); outline-offset: 2px; }
.aimb-search input:focus-visible { outline: none; }
.aimb-select { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 10px; border: 1px solid #e5e1ea; border-radius: 6px; }
.aimb-select > span { color: #8a8294; font-size: 9px; }
.aimb-select select { min-width: 0; width: 100%; border: 0; padding: 0 18px 0 0; color: #322c3d; background: transparent; font: inherit; font-size: 11px; font-weight: 600; cursor: pointer; }
.aimb-legend { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 26px 20px; border-bottom: 1px solid #f0edf4; }
.aimb-legend button { display: flex; align-items: center; gap: 6px; padding: 7px 10px; color: #6f677a; background: #fff; border: 1px solid #ebe7ef; border-radius: 5px; font: inherit; font-size: 10px; cursor: pointer; transition: background-color 150ms ease,border-color 150ms ease; }
.aimb-legend i, .aimb-model i { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 2px; background: var(--aimb-color); }
.aimb-legend button:hover { background: #f8f5fa; border-color: #cdbfd8; }
.aimb-legend button[aria-pressed="true"] { background: #f4edf6; border-color: #c9a5cd; color: #852777; }
.aimb-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 26px 17px; font-size: 10px; }
.aimb-meta p { margin: 0; color: #776d83; }
.aimb-section .aimb-meta p { font-size: inherit; line-height: 1.7; }
.aimb-view { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 18px 26px 0; }
.aimb-view > div { display: flex; gap: 3px; padding: 3px; border-radius: 6px; background: #f4f1f7; }
.aimb-view button { border: 0; border-radius: 4px; padding: 7px 11px; color: #8a7c94; background: transparent; font: inherit; font-size: 10px; font-weight: 600; cursor: pointer; }
.aimb-view button[aria-pressed="true"] { color: #852777; background: #fff; box-shadow: 0 1px 4px #30213c12; }
.aimb-view > span { color: #918498; font-size: 10px; }
.aimb-meta a { color: #8a3984; text-decoration: underline; text-underline-offset: 3px; }
.aimb-axis { display: grid; grid-template-columns: 340px minmax(0,1fr) 52px; gap: 12px; padding: 0 26px 10px; color: #99919f; font-size: 9px; letter-spacing: .6px; }
.aimb-axis > div { display: flex; justify-content: space-between; letter-spacing: 0; }
.aimb-axis > span:last-child { text-align: right; }
.aim-page .aimb-list { list-style: none; margin: 0; padding: 0 26px; }
.aim-page .aimb-list > li::before { content: none; display: none; }
.aimb-row { display: grid; grid-template-columns: 28px 300px minmax(0,1fr) 52px; align-items: center; gap: 12px; min-height: 66px; margin: 0; padding: 11px 0; border-top: 1px solid #f0edf3; }
.aimb-row:hover { background: #fcfbfd; }
.aimb-rank { color: #a39aaa; font-size: 10px; font-variant-numeric: tabular-nums; }
.aimb-model { min-width: 0; padding-right: 14px; }
.aimb-model > a { display: block; color: #2d2736; font-size: 12px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.aimb-model > a:hover { color: var(--ata-brand); text-decoration: underline; text-underline-offset: 3px; }
.aimb-model > span { display: flex; align-items: baseline; gap: 5px; color: #8c8297; font-size: 9px; line-height: 1.5; margin-top: 4px; }
.aimb-model i { align-self: center; width: 5px; height: 5px; }
.aimb-track { position: relative; height: 28px; background: repeating-linear-gradient(to right,#eeebf2 0,#eeebf2 1px,transparent 1px,transparent calc(100% / 6)); border-right: 1px solid #eeebf2; }
.aimb-track > span { display: block; width: var(--aimb-width); height: 100%; min-width: 2px; border-radius: 0 4px 4px 0; background: var(--aimb-color); opacity: .9; transition: opacity 150ms ease; }
.aimb-row:hover .aimb-track > span { opacity: 1; }
.aimb-track > small { padding-left: 8px; color: #a59bac; font-size: 10px; line-height: 28px; }
.aimb-score { color: #332b3f; text-align: right; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.aimb-score sup { font-size: 11px; font-weight: 400; }
.aimb-score sup a { color: #8b6989; }
.aimb-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 26px; border-top: 1px solid #ece7f1; }
.aimb-pagination button, .aimb-empty button { border: 1px solid #dbc7e1; border-radius: 5px; padding: 9px 14px; color: #862b7e; background: #f8f2fa; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.aimb-pagination button:hover, .aimb-empty button:hover { background: #f0e4f4; }
.aimb-pagination #aimb-all { background: #fff; color: #75617e; border-color: #e5dce9; }
.aimb-pagination > span { margin-left: auto; font-size: 10px; color: #978b9f; }
.aimb-attribution { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 26px; background: #faf8fc; border-top: 1px solid #eee9f2; }
.aimb-attribution p { margin: 0; color: #8f8499; font-size: 10px; line-height: 1.7; }
.aimb-attribution a { color: #6f5d7c; text-decoration: underline; text-underline-offset: 3px; }
.aimb-attribution button { display: flex; align-items: center; gap: 7px; padding: 0; background: transparent; border: 0; color: #80638d; font: inherit; font-size: 10px; white-space: nowrap; cursor: pointer; }
.aimb-attribution button:disabled { opacity: .4; cursor: default; }
.aimb-attribution svg { width: 14px; height: 14px; }
.aimb-notes { margin-top: 18px; color: #7b7087; font-size: 11px; line-height: 1.9; }
.aimb-notes summary { width: fit-content; cursor: pointer; color: #776081; font-weight: 700; }
.aimb-notes > div { max-width: 900px; padding: 10px 0; }
.aimb-notes p { margin: 10px 0; }
.aimb-notes ul { padding-left: 18px; }
.aimb-notes li { margin: 12px 0; }
.aimb-notes li > a { color: #8e347f; text-decoration: underline; text-underline-offset: 3px; }
.aimb-notes li > span { display: block; font-size: 10px; }
.aimb-empty { padding: 45px 26px; text-align: center; font-size: 12px; color: #8c8195; }
.aimb-empty h3 { font-size: 17px; color: #4b3a58; }
.aimb-section :is(a,button,select,summary):focus-visible { outline: 2px solid var(--ata-brand); outline-offset: 3px; }
@media (max-width: 900px) {
 .aimb-section .ata-section-heading { align-items: flex-start; }
 .aimb-date { margin-top: 8px; }
 .aimb-axis { grid-template-columns: 280px minmax(0,1fr) 40px; gap: 12px; }
 .aimb-row { grid-template-columns: 22px 246px minmax(0,1fr) 40px; }
 .aimb-toolbar { grid-template-columns: minmax(160px,1fr) minmax(140px,190px) 140px; }
}
@media (max-width: 600px) {
 .aimb-section { padding: 28px 0 35px; }
 .aimb-section .ata-section-heading { flex-direction: column; gap: 12px; }
 .aimb-overview { gap: 10px 18px; font-size: 10px; }
 .aimb-toolbar { padding: 16px; gap: 10px; grid-template-columns: 1fr 1fr; }
 .aimb-search { grid-column: 1 / -1; }
 .aimb-search input { height: 42px; font-size: 12px; }
 .aimb-select { min-width: 0; height: 42px; }
 .aimb-legend { padding: 0 16px 16px; gap: 6px; }
 .aimb-legend button { font-size: 9px; padding: 7px 8px; }
 .aimb-meta { padding: 16px; align-items: flex-start; font-size: 9px; }
 .aimb-view { padding: 16px 16px 0; }
 .aimb-meta a { max-width: 90px; text-align: right; }
 .aimb-axis { grid-template-columns: 1fr 38px; gap: 10px; padding: 0 16px 8px; }
 .aimb-axis > span:first-child { display: none; }
 .aim-page .aimb-list { padding: 0 16px; }
 .aimb-row { grid-template-columns: 20px minmax(0,1fr) 38px; gap: 9px 10px; padding: 13px 0; }
 .aimb-model { padding-right: 0; }
 .aimb-model > a { font-size: 11px; }
 .aimb-model > span { font-size: 9px; }
 .aimb-rank { align-self: start; padding-top: 3px; }
 .aimb-track { grid-row: 2; grid-column: 1 / 3; height: 16px; }
 .aimb-track > small { font-size: 9px; line-height: 16px; }
 .aimb-score { grid-row: 2; grid-column: 3; font-size: 15px; line-height: 16px; }
 .aimb-pagination { padding: 18px 16px; gap: 9px; }
 .aimb-pagination button { padding: 9px 10px; font-size: 10px; }
 .aimb-pagination > span { width: 100%; margin: 3px 0 0; }
 .aimb-attribution { align-items: flex-start; padding: 16px; flex-direction: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .aimb-track > span, .aimb-legend button { transition: none; }
}
@media print {
 .aimb-toolbar, .aimb-legend, .aimb-pagination, #aimb-export { display: none !important; }
 .aimb-row { break-inside: avoid; }
 .aimb-track > span { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
@media print {
 .aim-updates, .aim-toolbar, .aim-swipe, .aim-page .ata-actions { display: none; }
 .aim-scroll { overflow: visible; border: 0; }
 .aim-table { min-width: 0; font-size: 9px; }
 .aim-table thead th:first-child, .aim-table tbody th, .aim-table tfoot th { position: static; }
 .aim-model > strong, .aim-cell-core .aim-model > strong { font-size: 10px; }
 .aim-table th, .aim-table td { padding: 8px 4px; }
 .aim-table .aim-corner { width: 80px; }
}
