@lettercamp/cli 0.1.9 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,4 @@
1
1
  :root {
2
- color-scheme: light;
3
2
  --font-family: 'Inter', Arial, Helvetica, sans-serif;
4
3
  font-size: 100%;
5
4
  --type-scale: 1;
@@ -15,29 +14,30 @@
15
14
  --text-label: calc(var(--text-base) * .8125);
16
15
  --text-meta: calc(var(--text-base) * .75);
17
16
  font-family: var(--font-family);
18
- color: #111;
17
+ color: var(--site-foreground);
19
18
  background: var(--site-background, #ffffff);
20
19
  font-synthesis: weight style;
21
20
  -webkit-font-smoothing: antialiased;
22
- --muted: #666;
23
- --text-secondary: #6f6e77;
24
- --text-tertiary: #86848d;
25
- --line: #f0f0f0;
26
- --site-width: min(1280px, calc(100% - 64px));
21
+ --muted: var(--site-text-secondary);
22
+ --text-secondary: var(--site-text-secondary);
23
+ --text-tertiary: var(--site-text-muted);
24
+ --line: var(--site-border);
25
+ --site-gutter: 32px;
26
+ --site-width: min(1280px, calc(100% - 2 * var(--site-gutter)));
27
27
  }
28
28
  * { box-sizing: border-box; }
29
29
  [hidden] { display: none !important; }
30
30
  body { margin: 0; font-size: var(--text-base); line-height: 1.65; }
31
31
  a { color: inherit; text-underline-offset: .22em; }
32
32
  button { font: inherit; color: inherit; cursor: pointer; }
33
- a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #111; outline-offset: 5px; border-radius: 3px; }
33
+ a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--site-foreground); outline-offset: 5px; border-radius: 3px; }
34
34
  img { display: block; max-width: 100%; height: auto; }
35
35
  h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font, var(--font-family)); text-wrap: balance; overflow-wrap: anywhere; }
36
- .site-header-inner, .footer-inner, .blog-home { width: var(--site-width); margin-inline: auto; }
36
+ .footer-inner, .blog-home { width: var(--site-width); margin-inline: auto; }
37
37
  .site-header { position: relative; z-index: 30; border: 0; background: var(--site-background, #ffffff); }
38
38
  .site-header[data-header-position='fixed'] { position: sticky; top: 0; }
39
39
  html:has(.site-header[data-header-position='fixed']) { scroll-padding-top: 80px; }
40
- .site-header-inner { position: relative; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
40
+ .site-header-inner { position: relative; margin-inline: 32px; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
41
41
  @keyframes header-scroll-away { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-6px); } }
42
42
  @media (prefers-reduced-motion: no-preference) {
43
43
  @supports (animation-timeline: scroll()) {
@@ -54,7 +54,7 @@ html:has(.site-header[data-header-position='fixed']) { scroll-padding-top: 80px;
54
54
  .brand img { width: 24px; height: 24px; }
55
55
  .site-header nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: var(--text-small); }
56
56
  .site-header nav a { text-decoration: none; color: var(--muted); }
57
- .site-header nav a[aria-current], .site-header nav a:hover { color: #111; }
57
+ .site-header nav a[aria-current], .site-header nav a:hover { color: var(--site-foreground); }
58
58
  .header-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 28px; margin-left: auto; max-width: 100%; }
59
59
  .header-primary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 20px; border: 0; border-radius: 12px; background: var(--button-color, #111111); color: var(--button-text, #ffffff); font-size: var(--text-label); font-weight: 500; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; max-width: 100%; }
60
60
  .site-header a.header-primary, .site-header a.header-primary:hover { color: var(--button-text, #ffffff); }
@@ -62,7 +62,7 @@ html:has(.site-header[data-header-position='fixed']) { scroll-padding-top: 80px;
62
62
  .mobile-navigation { display: none; }
63
63
  .mobile-menu-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; list-style: none; cursor: pointer; background: transparent; }
64
64
  .mobile-menu-toggle::-webkit-details-marker { display: none; }
65
- .mobile-menu-toggle svg { grid-area: 1 / 1; width: 24px; height: 24px; transition: opacity 180ms ease, transform 180ms ease; }
65
+ .mobile-menu-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: opacity 180ms ease, transform 180ms ease; }
66
66
  .mobile-close-icon { opacity: 0; transform: rotate(-90deg) scale(.75); }
67
67
  .mobile-navigation[open] .mobile-menu-icon { opacity: 0; transform: rotate(90deg) scale(.75); }
68
68
  .mobile-navigation[open] .mobile-close-icon { opacity: 1; transform: rotate(0) scale(1); }
@@ -75,13 +75,13 @@ html:has(.site-header[data-header-position='fixed']) { scroll-padding-top: 80px;
75
75
  .blog-home:not(:has(> .category-selector:not([hidden]))) > .blog-heading { margin-bottom: 64px; }
76
76
  .blog-heading h1 { margin-bottom: 0; }
77
77
  .article-category { margin: 0 0 20px; }
78
- .article-category a, .post-card-category { display: inline-flex; align-items: center; justify-content: center; padding: 4px 15px; border: 0; border-radius: 10px; background: #fafafa; color: var(--muted); font-size: var(--text-meta); font-weight: 500; line-height: 1.333333; text-decoration: none; }
78
+ .article-category a, .post-card-category { display: inline-flex; align-items: center; justify-content: center; padding: 4px 15px; border: 0; border-radius: 10px; background: var(--site-surface); color: var(--muted); font-size: var(--text-meta); font-weight: 500; line-height: 1.333333; text-decoration: none; }
79
79
  h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; margin: 0 0 22px; }
80
80
  .description { color: var(--text-secondary); font-size: var(--text-base); line-height: 1.65; max-width: 660px; margin: 0; }
81
81
  .category-selector { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 0 40px; }
82
82
  .category-selector a { padding-block: 8px; color: var(--muted); font-size: var(--text-small); line-height: 1.5; text-decoration: none; transition: color .15s; }
83
- .category-selector a:hover { color: #111; }
84
- .category-selector a[aria-current='page'] { color: #111; font-weight: 500; }
83
+ .category-selector a:hover { color: var(--site-foreground); }
84
+ .category-selector a[aria-current='page'] { color: var(--site-foreground); font-weight: 500; }
85
85
  .post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 48px; }
86
86
  .post-card { position: relative; isolation: isolate; min-width: 0; }
87
87
  .post-card-link { color: inherit; text-decoration: none; }
@@ -92,28 +92,29 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
92
92
  .post-card-content { display: flex; flex-direction: column; flex: 1; min-width: 0; }
93
93
  .post-card-meta { margin-top: auto; min-width: 0; }
94
94
  .archive-date { display: none; }
95
- .post-card-details { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; color: #8c8b93; font-size: var(--text-label); line-height: 1.4; }
95
+ .post-card-details { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; color: var(--site-text-muted); font-size: var(--text-label); line-height: 1.4; }
96
96
  .post-card-category { min-width: 0; overflow-wrap: anywhere; }
97
97
  .post-card-date { white-space: nowrap; }
98
- .post-card-cover { flex-shrink: 0; overflow: hidden; aspect-ratio: 1200 / 630; background: #f4f4f4; border: 1px solid var(--line); border-radius: calc(var(--image-short-side, 200px) * var(--image-radius, 0.02)); }
98
+ .post-card-cover { flex-shrink: 0; overflow: hidden; aspect-ratio: 1200 / 630; background: var(--site-surface-hover); border: 1px solid var(--line); border-radius: calc(var(--image-short-side, 200px) * var(--image-radius, 0.02)); }
99
99
  .post-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
100
100
  .post-card:has(.post-card-link:hover) .post-card-cover img { transform: scale(1.025); }
101
- .image-placeholder { display: grid; place-items: center; height: 100%; font-size: calc(var(--text-base) * 1.625); letter-spacing: -.05em; color: #777; }
101
+ .image-placeholder { display: grid; place-items: center; height: 100%; font-size: calc(var(--text-base) * 1.625); letter-spacing: -.05em; color: var(--site-text-secondary); }
102
102
  .post-card h3 { font-size: var(--text-card-title); font-weight: 500; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 8px; text-wrap: pretty; }
103
103
  .post-card p { font-size: var(--text-summary); line-height: 1.55; margin: 0; color: var(--text-secondary); }
104
- .post-byline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; padding-top: 24px; color: #8c8b93; font-size: var(--text-label); line-height: 1.4; }
104
+ .post-byline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: auto; padding-top: 24px; color: var(--site-text-muted); font-size: var(--text-label); line-height: 1.4; }
105
105
  .post-authors { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
106
106
  .author-portraits { position: relative; z-index: 2; display: inline-flex; align-items: center; flex-shrink: 0; isolation: isolate; }
107
- .author-portrait { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border: 1px solid #fafafa; border-radius: 50%; background: #f1f1f2; }
107
+ .author-portrait { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border: 1px solid var(--site-surface); border-radius: 50%; background: var(--site-surface-active); }
108
108
  .author-portraits .author-portrait + .author-portrait { margin-left: -8px; }
109
109
  .author-portraits .author-portrait:hover { z-index: 1; }
110
110
  .author-avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
111
- .author-initials { color: #666; font-size: 9px; font-weight: 500; line-height: 1; }
111
+ .author-initials { color: var(--site-text-secondary); font-size: 9px; font-weight: 500; line-height: 1; }
112
112
  .author-names { min-width: 0; overflow-wrap: anywhere; }
113
+ .author-names-mobile { display: none; }
113
114
  .author-more { position: relative; z-index: 2; display: inline; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
114
- .author-more:hover { color: var(--text-primary, #111); }
115
+ .author-more:hover { color: var(--site-foreground); }
115
116
  .author-more:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }
116
- .authors-popover { position: fixed; inset: auto; width: min(240px, calc(100vw - 16px)); max-height: 320px; margin: 0; padding: 10px; overflow: auto; border: 1px solid #ebebeb; border-radius: 9px; background: #fafafa; color: #55545c; box-shadow: 0 4px 18px #00000017; font: 13px/1.4 var(--font-family); outline: none; }
117
+ .authors-popover { position: fixed; inset: auto; width: min(240px, calc(100vw - 16px)); max-height: 320px; margin: 0; padding: 10px; overflow: auto; border: 1px solid var(--site-border); border-radius: 9px; background: var(--site-surface); color: var(--site-text-strong); box-shadow: 0 4px 18px #00000017; font: 13px/1.4 var(--font-family); outline: none; }
117
118
  .authors-popover::backdrop { background: transparent; }
118
119
  .authors-popover-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
119
120
  .authors-popover-author { display: flex; align-items: center; gap: 9px; min-width: 0; overflow-wrap: anywhere; }
@@ -132,13 +133,13 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
132
133
  .archive > h2 { font-size: var(--text-h3); font-weight: 500; letter-spacing: -.025em; margin: 0 0 20px; }
133
134
  .archive-list { display: grid; gap: 4px; }
134
135
  .archive-list .post-card { margin-inline: -12px; padding-inline: 12px; border-radius: 6px; }
135
- .archive-list .post-card:is(:hover, :focus-within) { background: #f7f7f8; }
136
+ .archive-list .post-card:is(:hover, :focus-within) { background: var(--site-surface-hover); }
136
137
  .archive-list .post-card-layout { padding-block: 18px; }
137
138
  .archive-list .post-card-cover, .archive-list .post-card-description { display: none; }
138
139
  .archive-list .post-card-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: center; gap: 16px 32px; }
139
140
  .archive-list .post-card-details { display: none; }
140
141
  .archive-list h3 { grid-area: 1 / 1; font-size: var(--text-base); margin: 0; }
141
- .archive-list .post-card-meta { grid-area: 1 / 2; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: #8c8b93; font-size: var(--text-label); line-height: 1.4; }
142
+ .archive-list .post-card-meta { grid-area: 1 / 2; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--site-text-muted); font-size: var(--text-label); line-height: 1.4; }
142
143
  .archive-list .archive-date { display: block; white-space: nowrap; }
143
144
  .archive-list .post-byline { align-items: flex-end; min-width: 0; margin: 0; padding: 0; text-align: right; }
144
145
  .archive-list .post-authors { justify-content: flex-end; }
@@ -156,16 +157,16 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
156
157
  .byline .post-byline > time, .byline .reading-time { flex-shrink: 0; font-size: inherit; }
157
158
  .byline .reading-time { margin-left: 0; }
158
159
  .cover { margin: 0 0 44px; }
159
- .cover img, .prose img, .article-hero-image img { background-color: #fafafa; }
160
+ .cover img, .prose img, .article-hero-image img { background-color: var(--site-surface); }
160
161
  .cover img, .prose img:not([width]) { width: 100%; border-radius: calc(var(--image-short-side, 200px) * var(--image-radius, 0.02)); }
161
162
  .prose img { display: block; max-width: 100%; height: auto; margin: 32px auto; border-radius: calc(var(--image-short-side, 200px) * var(--image-radius, 0.02)); }
162
163
  .prose img[data-media-sized] { width: 100%; }
163
164
  .prose :is(img, video):not([width][height]) { aspect-ratio: auto 16 / 9; }
164
- .prose video { display: block; max-width: 100%; height: auto; background: #fafafa; }
165
+ .prose video { display: block; max-width: 100%; height: auto; background: var(--site-surface); }
165
166
  .prose video:not([width]) { width: 100%; }
166
167
  .prose audio { width: min(100%, 560px); height: 54px; }
167
168
  .publication-post { width: var(--site-width); }
168
- .article-hero { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
169
+ .article-hero { margin-bottom: 64px; }
169
170
  .article-hero-with-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
170
171
  .article-intro { min-width: 0; }
171
172
  .article-hero .article-intro { max-width: 760px; }
@@ -183,7 +184,7 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
183
184
  .article-toc ol { list-style: none; margin: 0; padding: 0; }
184
185
  .article-toc li + li { margin-top: 14px; }
185
186
  .article-toc a { display: block; font-size: var(--text-label); line-height: 1.6; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
186
- .article-toc a:hover { color: #111; text-decoration: underline; }
187
+ .article-toc a:hover { color: var(--site-foreground); text-decoration: underline; }
187
188
  .article-toc .toc-subheading { padding-left: 16px; }
188
189
  .article-body .prose { min-width: 0; }
189
190
  .prose :is(h2, h3, h4, h5, h6) { scroll-margin-top: 32px; }
@@ -200,16 +201,16 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
200
201
  .prose ul, .prose ol { padding-left: 1.4em; }
201
202
  .prose li { padding-left: .2em; margin: .5em 0; }
202
203
  .prose .task-list-item:has(> input[type="checkbox"]:checked, > p > input[type="checkbox"]:checked) { text-decoration: line-through; }
203
- .prose blockquote { border-left: 2px solid var(--line); padding: 4px 0 4px 26px; margin: 36px 0; color: #555; font-size: calc(var(--text-base) * 1.15); line-height: 1.55; }
204
+ .prose blockquote { border-left: 2px solid var(--line); padding: 4px 0 4px 26px; margin: 36px 0; color: var(--site-text-strong); font-size: calc(var(--text-base) * 1.15); line-height: 1.55; }
204
205
  .prose blockquote p { margin: .3em 0; }
205
206
  .prose hr { border: 0; height: 1px; background: var(--line); margin: 42px 0; }
206
207
  .prose pre { padding: 24px; overflow: auto; border-radius: 5px; font-size: var(--text-small); line-height: 1.8; }
207
208
  .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
208
- .prose :not(pre) > code { padding: .18em .35em; background: #f3f3f3; border-radius: 3px; }
209
+ .prose :not(pre) > code { padding: .18em .35em; background: var(--site-surface-hover); border-radius: 3px; }
209
210
  .prose span[style*="background-color"] code { background-color: inherit; }
210
211
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0; }
211
- .card { display: flex; flex-direction: column; align-items: start; padding: 26px; border-radius: 6px; background: #f6f6f6; text-decoration: none; }
212
- .card:hover { background: #eee; }
212
+ .card { display: flex; flex-direction: column; align-items: start; padding: 26px; border-radius: 6px; background: var(--site-surface-hover); text-decoration: none; }
213
+ .card:hover { background: var(--site-surface-active); }
213
214
  .card-eyebrow { font-size: calc(var(--text-base) * .6875); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
214
215
  .prose .card h3 { font-size: calc(var(--text-base) * 1.375); margin: 12px 0 6px; }
215
216
  .prose .card p { font-size: var(--text-summary); line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
@@ -225,7 +226,7 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
225
226
  .footer-column ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; font-size: var(--text-small); }
226
227
  .footer-column a { display: inline-block; color: var(--muted); font-size: var(--text-small); line-height: 1.7; text-decoration: none; overflow-wrap: anywhere; }
227
228
  .footer-column li { line-height: 1.7; }
228
- .site-footer a:hover { color: #111; }
229
+ .site-footer a:hover { color: var(--site-foreground); }
229
230
  .footer-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 64px; color: var(--muted); font-size: var(--text-small); }
230
231
  .footer-bottom a { text-decoration: none; }
231
232
  .footer-credit { margin-left: auto; opacity: .65; }
@@ -233,11 +234,11 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
233
234
  .footer-socials { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
234
235
  .footer-socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; }
235
236
  .footer-socials svg { width: 18px; height: 18px; }
236
- .skip-link { position: absolute; left: 20px; top: -100px; padding: 10px 15px; background: #111; color: white; z-index: 10; }
237
+ .skip-link { position: absolute; left: 20px; top: -100px; padding: 10px 15px; background: var(--site-foreground); color: var(--site-background); z-index: 10; }
237
238
  .skip-link:focus { top: 15px; }
238
239
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
239
240
  @media (max-width: 900px) {
240
- :root { --site-width: calc(100% - 48px); }
241
+ :root { --site-gutter: 24px; }
241
242
  .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
242
243
  .article-hero-with-image { gap: 32px; }
243
244
  .article-body-with-toc { grid-template-columns: 180px minmax(0, 1fr); gap: 32px; }
@@ -246,18 +247,21 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
246
247
  }
247
248
  @media (max-width: 760px) {
248
249
  .article-hero-with-image, .article-body-with-toc { grid-template-columns: minmax(0, 1fr); }
249
- .article-hero { margin-bottom: 36px; padding-bottom: 36px; }
250
+ .article-hero { margin-bottom: 36px; }
250
251
  .publication-post .article-sidebar { display: none; }
251
252
  }
252
253
  @media (max-width: 600px) {
253
- .site-header-inner { width: auto; margin-inline: 24px 10px; min-height: 64px; padding-block: 10px; gap: 12px; }
254
+ :root { --site-gutter: 16px; }
255
+ .site-header-inner { width: auto; margin-inline: var(--site-gutter); min-height: 64px; padding-block: 10px; gap: 12px; }
254
256
  .site-header .brand { flex: 1; overflow: hidden; }
255
257
  .site-header .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
256
258
  .header-actions { flex: none; flex-wrap: nowrap; gap: 8px; }
257
259
  .site-header .desktop-navigation { display: none; }
258
260
  .header-actions > .header-primary { display: block; max-width: min(42vw, 200px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
259
261
  .mobile-navigation { display: block; position: static; }
260
- .site-header .mobile-menu-panel { position: fixed; inset: var(--mobile-menu-top, 64px) 0 0; z-index: 5; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; width: 100%; margin: 0; padding: 24px 24px max(32px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--site-background, #ffffff); }
262
+ /* Align the visible menu strokes with the gutter, preserving the 44px tap target. */
263
+ .mobile-menu-toggle { margin-inline-end: -14.5px; }
264
+ .site-header .mobile-menu-panel { position: fixed; inset: var(--mobile-menu-top, 64px) 0 0; z-index: 5; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; width: 100%; margin: 0; padding: 24px var(--site-gutter) max(32px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: var(--site-background, #ffffff); }
261
265
  .mobile-menu-panel a { flex: none; padding: 12px 0; font-size: var(--text-base); line-height: 1.4; overflow-wrap: anywhere; }
262
266
  @media (prefers-reduced-motion: no-preference) { .mobile-navigation[open] .mobile-menu-panel { animation: mobile-menu-enter 180ms ease-out; } }
263
267
  .blog-home { padding-block: 46px 64px; }
@@ -267,7 +271,15 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
267
271
  [data-home-layout='rows'] .post-list .post-card-layout { display: flex; align-items: stretch; gap: 20px; }
268
272
  [data-home-layout='rows'] .post-list .post-card h3 { font-size: var(--text-h4); }
269
273
  .archive { margin-top: 72px; }
270
- .publication { margin-top: 36px; }
274
+ .publication { width: var(--site-width); margin-top: 36px; }
275
+ .post-byline { width: 100%; }
276
+ .post-authors { width: 100%; flex-wrap: nowrap; }
277
+ .author-portraits .author-portrait:not(:first-child) { display: none; }
278
+ .author-names { flex: 1; min-width: 0; }
279
+ .author-names-desktop { display: none; }
280
+ .author-names-mobile { display: flex; align-items: center; gap: 6px; min-width: 0; }
281
+ .author-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
282
+ .author-names-mobile .author-more { flex-shrink: 0; }
271
283
  .cards { grid-template-columns: 1fr; }
272
284
  .footer-columns { grid-template-columns: repeat(var(--footer-mobile-columns), minmax(0, 1fr)); gap: 32px 24px; }
273
285
  .footer-inner { padding-block: 40px 56px; }
@@ -300,29 +312,29 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
300
312
  .publication-post[data-post-hero='stacked'] .article-sidebar { position: static; max-height: none; overflow: visible; margin: 0 0 32px; padding: 0; border: 0; }
301
313
  .toc-trigger { display: none; }
302
314
  .publication-post[data-post-hero='stacked'] .article-sidebar[data-floating-toc] { position: fixed; z-index: 20; left: 8px; top: 50%; transform: translateY(-50%); margin: 0; }
303
- .publication-post[data-post-hero='stacked'] .toc-trigger { display: flex; flex-direction: column; align-items: center; gap: 0; max-height: min(60dvh, 320px); overflow: hidden; width: 28px; padding: 8px 6px; border: 0; border-radius: 6px; background: transparent; color: #414146; cursor: pointer; }
315
+ .publication-post[data-post-hero='stacked'] .toc-trigger { display: flex; flex-direction: column; align-items: center; gap: 0; max-height: min(60dvh, 320px); overflow: hidden; width: 28px; padding: 8px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--site-text-strong); cursor: pointer; }
304
316
  .toc-trigger span { position: relative; display: block; flex: none; width: 16px; height: 12px; }
305
317
  .toc-trigger span::after { content: ''; position: absolute; left: 0; top: 5px; width: 100%; height: 2px; border-radius: 2px; background: currentColor; opacity: .3; transform: scaleX(.5); transform-origin: left center; transition: transform 140ms ease-out, opacity 140ms ease-out; }
306
318
  .toc-trigger:is([aria-expanded='true'], :hover, :focus-visible) span::after { opacity: .38; transform: scaleX(.5625); }
307
319
  .toc-trigger span[data-active]::after, .toc-trigger:is([aria-expanded='true'], :hover, :focus-visible) span[data-active]::after { opacity: .5; transform: scaleX(.625); }
308
320
  .toc-trigger:is([aria-expanded='true'], :hover, :focus-visible) span:hover::after { opacity: 1; transform: scaleX(1); }
309
- .toc-trigger:focus-visible { outline: 2px solid #b8b8c0; outline-offset: 1px; }
310
- .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc { visibility: hidden; opacity: 0; position: absolute; left: 100%; top: 50%; transform: translate(-4px, -50%) scale(.98); transform-origin: left center; width: min(240px, calc(100vw - 60px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 5px; margin-left: 6px; border: 0; border-radius: 9px; background: var(--site-background, #fff); box-shadow: 0 6px 18px rgb(0 0 0 / 2%), 0 3px 9px rgb(0 0 0 / 4%), 0 1px 1px rgb(0 0 0 / 4%); transition: opacity 120ms ease-out, transform 140ms ease-out; }
321
+ .toc-trigger:focus-visible { outline: 2px solid var(--site-text-faint); outline-offset: 1px; }
322
+ .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc { visibility: hidden; opacity: 0; position: absolute; left: 100%; top: 50%; transform: translate(-4px, -50%) scale(.98); transform-origin: left center; width: min(240px, calc(100vw - 60px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 5px; margin-left: 6px; border: 0; border-radius: 9px; background: var(--site-background, #fff); box-shadow: 0 0 0 1px var(--site-border), 0 6px 18px rgb(0 0 0 / 2%), 0 3px 9px rgb(0 0 0 / 4%), 0 1px 1px rgb(0 0 0 / 4%); transition: opacity 120ms ease-out, transform 140ms ease-out; }
311
323
  .publication-post[data-post-hero='stacked'] [data-floating-toc]::after { content: ''; position: absolute; left: 100%; top: 0; width: 6px; height: 100%; }
312
324
  .publication-post[data-post-hero='stacked'] [data-toc-open] .article-toc { visibility: visible; opacity: 1; transform: translate(0, -50%) scale(1); }
313
- .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc h2 { margin: 0 0 3px; padding: 6px 8px 4px; color: #87878e; font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
325
+ .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc h2 { margin: 0 0 3px; padding: 6px 8px 4px; color: var(--site-text-muted); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: 0; text-transform: none; }
314
326
  .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc li + li { margin-top: 4px; }
315
- .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a { padding: 5px 8px; border-radius: 5px; color: #414146; font-size: var(--text-label); line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-decoration: none; transition: background-color 120ms ease; }
316
- .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a[aria-current='location'] { color: #303034; font-weight: 500; background: color-mix(in srgb, var(--site-background, #fff), #000 5%); }
317
- .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a:is(:hover, :focus-visible) { background: #fafafa; outline: none; }
327
+ .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a { padding: 5px 8px; border-radius: 5px; color: var(--site-text-strong); font-size: var(--text-label); line-height: 1.4; white-space: normal; overflow-wrap: anywhere; text-decoration: none; transition: background-color 120ms ease; }
328
+ .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a[aria-current='location'] { color: var(--site-text-strong); font-weight: 500; background: var(--site-surface-active); }
329
+ .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a:is(:hover, :focus-visible) { background: var(--site-surface); color: var(--site-accent, var(--site-text-strong)); outline: none; }
318
330
  .publication-post[data-post-hero='stacked'] [data-floating-toc] .toc-label { display: inline; animation: none; }
319
331
  @media (prefers-reduced-motion: reduce) {
320
332
  .toc-trigger span::after, .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc, .publication-post[data-post-hero='stacked'] [data-floating-toc] .article-toc a { transition: none; }
321
333
  }
322
- .article-toc a[aria-current='location'] { color: #111; font-weight: 500; }
323
- @media (min-width: 1200px) {
324
- .publication-post[data-post-hero='split'][data-post-toc='visible'] .article-body-with-toc { grid-template-columns: minmax(180px, 1fr) minmax(0, var(--post-content-width)) minmax(180px, 1fr); max-width: none; }
325
- .publication-post[data-post-hero='split'] .article-sidebar { width: 180px; }
334
+ .article-toc a[aria-current='location'] { color: var(--site-foreground); font-weight: 500; }
335
+ @media (min-width: 761px) {
336
+ .publication-post[data-post-hero='split'][data-post-toc='visible'] .article-body-with-toc { grid-template-columns: minmax(140px, 1fr) minmax(0, var(--post-content-width)) minmax(140px, 1fr); max-width: none; }
337
+ .publication-post[data-post-hero='split'] .article-sidebar { width: min(180px, 100%); }
326
338
  }
327
339
  @media (max-width: 900px) {
328
340
  /* Keep the floating control clear of the reading column on small screens. */
@@ -343,15 +355,12 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
343
355
  .prose figure img, .prose figure > p:has(img) { margin-block: 0; }
344
356
  .prose figure :is(img, video, audio) { display: block; max-width: 100%; }
345
357
  .prose figure > a { display: block; }
346
- .prose figcaption { margin-top: 4px; color: var(--muted, #777); font-size: 13px; line-height: 1.5; text-align: center; }
358
+ .prose figcaption { margin-top: 4px; color: var(--muted, var(--site-text-secondary)); font-size: 13px; line-height: 1.5; text-align: center; }
347
359
  .prose figcaption p { margin: 0; }
348
360
 
349
361
  /* Homepage width and container-responsive layouts. */
350
362
 
351
- .blog-home { container: home-layout / inline-size; width: min(var(--home-content-width, 1280px), calc(100% - 64px)); }
352
- @media (max-width: 900px) {
353
- .blog-home { width: min(var(--home-content-width, 1280px), calc(100% - 48px)); }
354
- }
363
+ .blog-home { container: home-layout / inline-size; width: min(var(--home-content-width, 1280px), calc(100% - 2 * var(--site-gutter))); }
355
364
  @container home-layout (max-width: 852px) {
356
365
  .archive-list .post-card-content { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
357
366
  .archive-list h3 { grid-area: 1 / 1; }
@@ -364,8 +373,14 @@ h1 { font-size: var(--text-title); font-weight: 500; line-height: 1.15; letter-s
364
373
  [data-home-layout='grid'] .archive-list .post-card-content { grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 12px; }
365
374
  [data-home-layout='grid'] .archive-list .post-card-meta { display: none; }
366
375
  [data-home-layout='grid'] .archive-list h3 { min-width: 0; overflow: hidden; white-space: nowrap; text-wrap: nowrap; text-overflow: ellipsis; font-family: var(--font-family); font-size: var(--text-summary); font-weight: 400; letter-spacing: normal; line-height: 1.55; }
367
- [data-home-layout='grid'] .archive-list .post-card-content::after { content: ''; grid-area: 1 / 2; justify-self: center; width: 6px; height: 6px; border-top: 1.5px solid #c5c5ca; border-right: 1.5px solid #c5c5ca; transform: rotate(45deg); pointer-events: none; }
376
+ [data-home-layout='grid'] .archive-list .post-card-content::after { content: ''; grid-area: 1 / 2; justify-self: center; width: 6px; height: 6px; border-top: 1.5px solid var(--site-text-faint); border-right: 1.5px solid var(--site-text-faint); transform: rotate(45deg); pointer-events: none; }
368
377
  [data-home-layout='rows'] .post-list .post-card-layout { display: flex; align-items: stretch; gap: 20px; }
369
378
  [data-home-layout='rows'] .post-list .post-card h3 { font-size: var(--text-h4); }
370
379
 
371
380
  }
381
+
382
+ /* An unset accent leaves native selection and link colors untouched. */
383
+ /* Filled header buttons retain their contrasting label, including on hover. */
384
+ :root[data-site-accent] a[href]:not(.header-primary):is(:hover, :focus-visible) { color: var(--site-accent); }
385
+ :root[data-site-accent]::selection,
386
+ :root[data-site-accent] ::selection { background: var(--site-accent); color: var(--site-accent-text); }