spb/modelmap Public License
Internal cartography of local LLMs on Apple Silicon — registered, gated, negative-first. Public atlas at modelmap.io.
Python 66.3%
JavaScript 24.5%
CSS 8.1%
Shell 0.7%
1/* ============================================================================2 * Project : modelmap3 * File : site/public/style.css4 * Purpose : Editorial light theme v2 — responsive, mobile-first refinements5 * Author : Simon-Pierre Boucher6 * Contact : contact@spboucher.ai7 * Website : https://modelmap.io8 * Created : 2026-08-129 * Modified : 2026-08-1210 * Platform : Web (deployed from macOS / Apple Silicon)11 * License : All rights reserved (research code)12 * ==========================================================================*/1314:root {15 color-scheme: light;16 --page: #faf9f6;17 --surface: #ffffff;18 --surface-2: #f4f2ec;19 --ink: #17151f;20 --ink-2: #4e4a5a;21 --muted: #8b8798;22 --grid: #e6e3da;23 --baseline: #c9c5ba;24 --accent: #6d4fc4;25 --accent-dark: #53389e;26 --accent-deep: #3b2775;27 --accent-bg: #f1edfa;28 --accent-glow: rgba(109, 79, 196, 0.12);29 --good: #0e9f4e;30 --good-text: #0a6b36;31 --good-bg: #e9f7ef;32 --warn-text: #9a6a00;33 --warn-bg: #fdf3e2;34 --shadow-sm: 0 1px 2px rgba(23, 21, 31, 0.05), 0 2px 8px rgba(23, 21, 31, 0.04);35 --shadow-md: 0 2px 4px rgba(23, 21, 31, 0.05), 0 10px 28px rgba(23, 21, 31, 0.08);36 --radius: 14px;37 --font-body: "Inter", system-ui, -apple-system, sans-serif;38 --font-display: "Fraunces", Georgia, serif;39 --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;40}4142* { box-sizing: border-box; }43html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }44body {45 margin: 0;46 font-family: var(--font-body);47 background: var(--page);48 color: var(--ink);49 line-height: 1.65;50 font-size: 16px;51}52.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }53a { color: var(--accent-dark); text-decoration: none; }54a:hover { text-decoration: underline; text-underline-offset: 3px; }55code, pre, .mono-small { font-family: var(--font-mono); }56::selection { background: var(--accent-bg); color: var(--accent-deep); }5758h1, h2, h3, .page-title, .section-title { font-family: var(--font-display); font-weight: 550; }5960/* ---------------------------------------------------------------- header */61.site-header {62 background: rgba(250, 249, 246, 0.85);63 backdrop-filter: blur(14px);64 -webkit-backdrop-filter: blur(14px);65 border-bottom: 1px solid var(--grid);66 position: sticky; top: 0; z-index: 50;67}68.header-row { display: flex; align-items: center; justify-content: space-between; height: 62px; position: relative; }69.brand {70 font-family: var(--font-display);71 font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -0.01em;72 display: inline-flex; align-items: center; gap: 9px;73}74.brand:hover { text-decoration: none; }75.brand-dim { color: var(--muted); font-weight: 450; }76.logo { width: 26px; height: 26px; color: var(--accent); flex: 0 0 auto; }7778.site-nav { display: flex; gap: 2px; flex-wrap: wrap; }79.site-nav a {80 padding: 7px 13px; border-radius: 999px; color: var(--ink-2);81 font-size: 14px; font-weight: 500; transition: background 0.15s, color 0.15s;82}83.site-nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }84.site-nav a.active { color: var(--accent-deep); background: var(--accent-bg); font-weight: 600; }8586/* hamburger — hidden on desktop */87.nav-toggle {88 display: none; flex-direction: column; justify-content: center; gap: 5px;89 width: 44px; height: 44px; padding: 10px;90 background: none; border: 1px solid var(--grid); border-radius: 10px; cursor: pointer;91}92.nav-toggle span {93 display: block; height: 2px; width: 100%; background: var(--ink);94 border-radius: 2px; transition: transform 0.25s, opacity 0.2s;95}96.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }97.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }98.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }99100/* ---------------------------------------------------------------- hero */101.hero {102 padding: 72px 0 16px;103 position: relative;104}105.hero::before {106 content: ""; position: absolute; inset: -62px -50vw 0;107 background:108 radial-gradient(600px 320px at 78% 0%, var(--accent-glow), transparent 70%),109 radial-gradient(420px 260px at 12% 18%, rgba(14, 159, 78, 0.06), transparent 70%);110 pointer-events: none; z-index: -1;111}112.kicker {113 text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; font-weight: 650;114 color: var(--accent-dark); margin: 0 0 14px; font-family: var(--font-body);115}116.hero h1 {117 font-size: clamp(34px, 5.6vw, 54px);118 line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; font-weight: 560;119}120.hero h1 em, .lede em { font-style: italic; color: var(--accent-deep); }121.lede { font-size: 18.5px; color: var(--ink-2); max-width: 780px; margin: 0 0 14px; }122.lede-small { color: var(--ink-2); max-width: 780px; }123.lede-eq { margin-top: 18px; }124.lede-eq code {125 font-size: 12.5px; background: var(--surface); border: 1px solid var(--grid);126 border-radius: 10px; padding: 9px 14px; color: var(--ink-2); display: inline-block;127 box-shadow: var(--shadow-sm); line-height: 1.7;128}129130/* ---------------------------------------------------------------- tiles */131.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0; }132.tile {133 background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius);134 padding: 22px 24px; display: flex; flex-direction: column; gap: 2px;135 box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s;136}137.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }138.tile-value {139 font-family: var(--font-display); font-size: 40px; font-weight: 560;140 letter-spacing: -0.02em; color: var(--accent-deep); line-height: 1.1;141}142.tile-denom { font-size: 22px; color: var(--muted); font-weight: 450; }143.tile-label { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }144145/* ---------------------------------------------------------------- layout */146.split { display: grid; grid-template-columns: 3fr 2fr; gap: 22px; margin: 8px 0 22px; }147.card {148 background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius);149 padding: 28px 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm);150}151.card h2 { margin-top: 0; font-size: 22px; letter-spacing: -0.01em; }152.more { font-weight: 600; font-size: 14px; }153.more::after { content: ""; }154155/* ---------------------------------------------------------------- phases */156.phases { list-style: none; margin: 0; padding: 0; }157.phase { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--grid); }158.phase:last-child { border-bottom: 0; }159.phase strong { display: block; font-size: 14px; font-family: var(--font-body); font-weight: 600; }160.phase-detail { font-size: 12.5px; color: var(--muted); }161.phase-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; flex: 0 0 auto; background: var(--baseline); }162.phase.done .phase-dot { background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }163.phase.in-progress .phase-dot { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }164.phase .badge { margin-left: auto; }165166.badge {167 font-size: 11px; font-weight: 650; padding: 3px 10px; border-radius: 999px;168 white-space: nowrap; align-self: center; border: 1px solid var(--grid);169 color: var(--ink-2); letter-spacing: 0.02em;170}171.badge-done { color: var(--good-text); background: var(--good-bg); border-color: #cfe8d8; }172.badge-in-progress, .badge-has-results { color: var(--accent-deep); background: var(--accent-bg); border-color: #dcd2f2; }173.badge-pending, .badge-scaffolded { color: var(--muted); background: var(--surface-2); }174175/* ---------------------------------------------------------------- ladder */176.ladder { list-style: none; margin: 18px 0; padding: 0; }177.ladder-step { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--grid); }178.ladder-step:last-child { border-bottom: 0; }179.ladder-step strong { display: block; font-size: 14.5px; font-family: var(--font-body); font-weight: 600; }180.ladder-desc { font-size: 13px; color: var(--muted); display: block; }181.ladder-num {182 flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: flex;183 align-items: center; justify-content: center; font-weight: 650; font-size: 13px;184 font-family: var(--font-mono); margin-top: 2px;185 background: var(--surface-2); border: 1px solid var(--grid); color: var(--muted);186}187.ladder-num.lv1 { background: var(--warn-bg); border-color: #f3ddb0; color: var(--warn-text); }188.ladder-num.lv2 { background: var(--accent-bg); border-color: #dcd2f2; color: var(--accent-deep); }189.ladder-num.lv3 { background: var(--good-bg); border-color: #cfe8d8; color: var(--good-text); }190.badge-level-0 { color: var(--muted); background: var(--surface-2); }191.badge-level-1 { color: var(--warn-text); background: var(--warn-bg); border-color: #f3ddb0; }192.badge-level-2 { color: var(--accent-deep); background: var(--accent-bg); border-color: #dcd2f2; }193.badge-level-3 { color: var(--good-text); background: var(--good-bg); border-color: #cfe8d8; }194195/* ---------------------------------------------------------------- cards grid */196.page-title { font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.015em; margin: 44px 0 10px; }197.section-title { font-size: 22px; margin: 36px 0 8px; }198.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 18px 0; }199.doc-card {200 background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius);201 padding: 20px 22px; color: var(--ink); display: block;202 box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;203}204.doc-card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }205.doc-card.disabled { opacity: 0.55; pointer-events: none; }206.doc-card h3 { margin: 0 0 6px; font-size: 16.5px; }207.doc-card p { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); }208.runs { font-size: 12px; color: var(--muted); margin-left: 8px; }209.note-line { color: var(--ink-2); font-size: 14px; }210211/* ---------------------------------------------------------------- markdown */212.doc { max-width: 880px; margin: 32px auto; }213.crumb { font-size: 13px; color: var(--muted); margin: 26px 0 4px; font-family: var(--font-mono); }214.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }215.chip {216 font-size: 12px; background: var(--surface); border: 1px solid var(--grid);217 border-radius: 999px; padding: 3px 12px; color: var(--ink-2);218}219.chip-k { color: var(--muted); margin-right: 6px; text-transform: uppercase; font-size: 10px; letter-spacing: 0.06em; }220.md { overflow-wrap: break-word; }221.md h1 { font-size: 30px; letter-spacing: -0.015em; }222.md h2 { font-size: 22px; margin-top: 40px; border-bottom: 1px solid var(--grid); padding-bottom: 8px; }223.md h3 { font-size: 17.5px; margin-top: 30px; }224.md code { background: var(--surface-2); border-radius: 5px; padding: 1px 6px; font-size: 0.86em; }225.md pre code, .codeblock code { background: none; padding: 0; font-size: 13px; }226.codeblock, .md pre {227 background: var(--surface-2); border: 1px solid var(--grid); border-radius: 10px;228 padding: 15px 18px; overflow-x: auto; line-height: 1.55;229}230.md table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; }231.md th, .md td { border: 1px solid var(--grid); padding: 7px 11px; text-align: left; vertical-align: top; }232.md th { background: var(--surface-2); font-family: var(--font-body); }233.md blockquote {234 border-left: 3px solid var(--accent); margin-left: 0; padding: 4px 0 4px 18px;235 color: var(--ink-2); font-family: var(--font-display); font-style: italic; font-size: 1.03em;236}237238/* ---------------------------------------------------------------- log */239.log-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }240.log-entry h3 { font-size: 15.5px; margin: 0 0 8px; }241.log-entry .md { font-size: 13.5px; color: var(--ink-2); }242243/* ---------------------------------------------------------------- tables */244.results-table, .kv-table {245 border-collapse: collapse; width: 100%; font-size: 14.5px; background: var(--surface);246 border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);247}248.results-table th, .results-table td, .kv-table th, .kv-table td {249 border: 1px solid var(--grid); padding: 9px 13px; text-align: left;250}251.results-table th { background: var(--surface-2); font-family: var(--font-body); }252.kv-table th { background: var(--surface-2); width: 190px; }253.table-scroll { overflow-x: auto; }254.file-list { list-style: none; padding: 0; }255.file-list li { padding: 7px 0; border-bottom: 1px solid var(--grid); }256.tree { list-style: none; padding-left: 0; }257.tree ul { list-style: none; padding-left: 20px; }258.tree-root { margin-bottom: 14px; }259.tree li { padding: 2px 0; font-size: 14.5px; }260.mono-small { font-size: 12.5px; color: var(--muted); }261.file-card { padding: 0; overflow: hidden; }262.file-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--grid); background: var(--surface-2); }263.file-card .codeblock { border: 0; border-radius: 0; margin: 0; }264265/* ---------------------------------------------------------------- publications */266.pub-card {267 display: block; background: var(--surface); border: 1px solid var(--grid);268 border-radius: var(--radius); padding: 24px 28px; margin: 18px 0; color: var(--ink);269 box-shadow: var(--shadow-sm); transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;270}271.pub-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }272.pub-card h3 { margin: 8px 0 8px; font-size: 20px; }273.pub-card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 10px; }274.pub-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }275.pub-id { font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--accent-deep);276 background: var(--accent-bg); border-radius: 6px; padding: 2px 8px; }277.pub-date { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }278.pub-head { margin: 18px 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--grid); }279.pub-head h1 { font-size: clamp(26px, 4vw, 34px); line-height: 1.18; margin: 12px 0 8px; }280.pub-byline { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; }281.pub-abstract {282 background: var(--surface-2); border: 1px solid var(--grid); border-left: 3px solid var(--accent);283 border-radius: 10px; padding: 16px 20px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7;284}285.pub .md h2 { font-family: var(--font-display); }286.pub .md > p:first-of-type { font-size: 16.5px; }287.pub-cite { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--grid); }288.pub-cite strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }289290/* ---------------------------------------------------------------- comments */291.comment-form { display: grid; gap: 14px; max-width: 640px; }292.comment-form label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); display: block; margin-bottom: 5px; }293.comment-form input[type="text"], .comment-form textarea {294 width: 100%; font: inherit; color: var(--ink);295 background: var(--surface); border: 1px solid var(--baseline); border-radius: 10px;296 padding: 11px 14px; transition: border-color 0.15s, box-shadow 0.15s;297}298.comment-form input:focus, .comment-form textarea:focus {299 outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);300}301.comment-form textarea { min-height: 130px; resize: vertical; }302.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }303.btn {304 display: inline-block; font: inherit; font-weight: 650; font-size: 15px;305 background: var(--accent-dark); color: #fff; border: 0; border-radius: 999px;306 padding: 11px 26px; cursor: pointer; justify-self: start;307 box-shadow: var(--shadow-sm); transition: background 0.15s, transform 0.15s;308}309.btn:hover { background: var(--accent-deep); transform: translateY(-1px); }310.flash { border-radius: 10px; padding: 12px 16px; font-size: 14.5px; margin: 14px 0; }311.flash-ok { background: var(--good-bg); color: var(--good-text); border: 1px solid #cfe8d8; }312.flash-err { background: #fdecec; color: #a03030; border: 1px solid #f2ccc9; }313.comment-list { list-style: none; padding: 0; margin: 8px 0 0; }314.comment {315 background: var(--surface); border: 1px solid var(--grid); border-radius: var(--radius);316 padding: 16px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm);317}318.comment-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }319.comment-name { font-weight: 650; font-size: 14.5px; }320.comment-date { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }321.comment-body { font-size: 14.5px; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: break-word; }322323/* ---------------------------------------------------------------- charts */324.chart-fig { margin: 22px 0 10px; position: relative; }325.chart-fig + .chart-fig { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--grid); }326.chart-title {327 font-family: var(--font-body); font-size: 14.5px; font-weight: 650;328 color: var(--ink); margin-bottom: 6px;329}330.panel-title { fill: var(--ink-2); font-size: 12px; font-weight: 600; font-family: var(--font-body); }331.bar-val { fill: var(--ink-2); font-size: 10.5px; font-family: var(--font-mono); }332.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 6px 0 2px; font-size: 12.5px; color: var(--ink-2); }333.lg { display: inline-flex; align-items: center; gap: 6px; }334.lg-swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; flex: 0 0 auto; }335.chart-fig svg { width: 100%; height: auto; }336.chart-fig .grid { stroke: var(--grid); stroke-width: 1; }337.chart-fig .axis { stroke: var(--baseline); stroke-width: 1; }338.chart-fig .tick { fill: var(--muted); font-size: 11px; font-family: var(--font-mono); }339.chart-fig .axis-title { fill: var(--ink-2); font-size: 12px; }340.chart-fig .series-label { font-size: 12px; font-weight: 600; }341.chart-fig .pt { cursor: pointer; }342.chart-fig figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }343.chart-tip {344 position: absolute; pointer-events: none; background: var(--ink); color: #fff;345 font-size: 12.5px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; z-index: 5;346}347348/* ---------------------------------------------------------------- hljs */349.hljs { color: #24292e; }350.hljs-keyword, .hljs-meta .hljs-keyword { color: #d73a49; }351.hljs-string, .hljs-attr { color: #032f62; }352.hljs-comment, .hljs-quote { color: #6a737d; font-style: italic; }353.hljs-number, .hljs-literal { color: #005cc5; }354.hljs-title, .hljs-function .hljs-title { color: #6f42c1; }355.hljs-built_in, .hljs-type { color: #e36209; }356.hljs-section { color: #005cc5; font-weight: 600; }357.hljs-params { color: #24292e; }358.hljs-variable, .hljs-template-variable { color: #e36209; }359360/* ---------------------------------------------------------------- footer */361.site-footer {362 border-top: 1px solid var(--grid); margin-top: 64px; padding: 44px 0 28px;363 background: var(--surface); font-size: 14px; color: var(--ink-2);364}365.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }366.footer-col { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }367.footer-col h4 {368 margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;369 color: var(--muted); font-family: var(--font-body); font-weight: 650;370}371.footer-col a { color: var(--ink-2); font-size: 13.5px; }372.footer-col a:hover { color: var(--accent-deep); }373.footer-brand p { margin: 6px 0 0; font-size: 13px; color: var(--muted); max-width: 300px; }374.brand-foot {375 font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink);376 display: inline-flex; align-items: center; gap: 8px;377}378.brand-foot .logo { width: 22px; height: 22px; }379.footer-meta { color: var(--muted); font-size: 12px; font-family: var(--font-mono); }380.footer-bottom {381 margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--grid);382 font-size: 12.5px; color: var(--muted);383}384385/* ============================================================ responsive */386@media (max-width: 980px) {387 .tiles { grid-template-columns: repeat(2, 1fr); }388 .split { grid-template-columns: 1fr; }389 .footer-grid { grid-template-columns: 1fr 1fr; }390}391392@media (max-width: 880px) {393 .nav-toggle { display: flex; }394 .site-nav {395 display: none;396 position: absolute; top: 62px; left: 0; right: 0;397 flex-direction: column; gap: 2px;398 background: var(--surface);399 border-bottom: 1px solid var(--grid);400 box-shadow: var(--shadow-md);401 padding: 10px 16px 16px;402 }403 .site-nav.open { display: flex; }404 .site-nav a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }405 .site-nav a + a { border-top: 1px solid var(--surface-2); border-radius: 0 0 10px 10px; }406}407408@media (max-width: 560px) {409 body { font-size: 15.5px; }410 .wrap { padding: 0 18px; }411 .hero { padding: 44px 0 8px; }412 .lede { font-size: 16.5px; }413 .lede-eq code { font-size: 11px; padding: 8px 10px; }414 .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }415 .tile { padding: 16px 18px; }416 .tile-value { font-size: 30px; }417 .card { padding: 20px 18px; border-radius: 12px; }418 .doc-grid { grid-template-columns: 1fr; }419 .page-title { margin: 30px 0 8px; }420 .phase strong { font-size: 13px; }421 .phase .badge { display: none; } /* dot already carries the status */422 .footer-grid { grid-template-columns: 1fr; gap: 24px; }423 .results-table, .kv-table { display: block; overflow-x: auto; }424 .md h2 { font-size: 20px; }425 .codeblock, .md pre { padding: 12px 12px; font-size: 12px; }426 .comment { padding: 14px 16px; }427}428