:root {
  color-scheme: dark;
  --paper: #171918;
  --surface: #202321;
  --surface-hover: #2c2f2b;
  --ink: #f5efe4;
  --muted: #c6c7bd;
  --accent: #f3b17b;
  --accent-hover: #fac8a2;
  --on-accent: #241810;
  --rule: #62635b;
  --feature-paper: #32271f;
  --guide-grid: #f5efe410;
  --search-backdrop: #171918bf;
  --image-backdrop: #171918eb;
  --page-heading-space: clamp(1rem, 2.6vw, 2.5rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
}
:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f5f2eb;
  --surface: #e8e5dc;
  --surface-hover: #ded8cb;
  --ink: #211f1a;
  --muted: #504e46;
  --accent: #994117;
  --accent-hover: #793410;
  --on-accent: #fff9ee;
  --rule: #a5a091;
  --feature-paper: #eaddce;
  --guide-grid: #504e4619;
}
* { box-sizing: border-box; }
/* Reserve scrollbar space so the header doesn't shift between short and long pages. */
html { scrollbar-gutter: stable; }
/* Crossfade between pages; the header stays put. Browsers without support just navigate normally. */
@view-transition { navigation: auto; }
.mast { view-transition-name: masthead; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
body, figure, h1, h2, h3, p { margin: 0; }
body { line-height: 1.55; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(83rem, 89%); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-150%); z-index: 2; background: var(--surface); padding: .7rem; }
.skip:focus { transform: translateY(0); }
.mast { border-bottom: 1px solid var(--rule); }
.mast-inner, .mast-actions, .foot, .actions, .section-title { display: flex; align-items: center; }
.mast-inner { min-height: 4.9rem; gap: 2.5rem; }
.mast-actions { gap: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 680; font-size: 1.12rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.mark { display: inline-grid; place-items: center; height: 2.15rem; width: 2.15rem; background: var(--accent); color: var(--on-accent); font: italic bold 1.65rem/.9 var(--serif); letter-spacing: -.12em; padding-right: .15em; padding-bottom: .1em; }
nav { margin-left: auto; display: flex; gap: 2rem; }
nav a, .contact { font-size: .94rem; font-weight: 550; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; }
.contact { border: 1px solid var(--ink); padding: .42rem .95rem; white-space: nowrap; }
.contact:hover { border-color: var(--accent); }
.theme-toggle, .search-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font: 1.4rem/1 "Segoe UI Symbol", sans-serif;
  cursor: pointer;
}
.theme-toggle:hover, .search-toggle:hover { background: var(--surface-hover); border-color: var(--accent); }
:root:not(.js) .theme-toggle, :root:not(.js) .search-toggle, .theme-moon, [data-theme="light"] .theme-sun { display: none; }
[data-theme="light"] .theme-moon { display: inline; }
.search-icon { position: relative; width: .8rem; height: .8rem; border: 1.6px solid currentColor; border-radius: 50%; transform: translate(-2px, -2px); }
.search-icon::after { content: ""; width: .4rem; border-top: 1.6px solid currentColor; position: absolute; top: 85%; left: 85%; transform: rotate(45deg); transform-origin: left; }
.site-search {
  width: min(38rem, calc(100vw - 2rem));
  max-height: 85dvh;
  padding: clamp(1rem, 4vw, 1.8rem);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.site-search::backdrop { background: var(--search-backdrop); }
.search-heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.search-heading h2 { font-size: clamp(1.7rem, 5vw, 2.45rem); }
.search-close { width: 2.75rem; height: 2.75rem; font-size: 1.5rem; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); cursor: pointer; }
.site-search label { display: block; margin-bottom: .3rem; font-size: .9rem; }
.site-search input { width: 100%; padding: .65rem .8rem; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); font: inherit; }
.site-search input::placeholder { color: var(--muted); }
.search-status { margin-top: .7rem; color: var(--muted); font-size: .9rem; }
.search-results { list-style: none; margin: .7rem 0 0; padding: 0; }
.search-results li { border-top: 1px solid var(--rule); }
.search-results a { display: grid; gap: .2rem; padding: .7rem .2rem; text-decoration: none; }
.search-results small { color: var(--accent); }
.search-results a span { color: var(--muted); }
.search-results a:hover strong { text-decoration: underline; }
.label, figcaption, .row small { font: .8rem/1.5 var(--mono); }
.label { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .075em; font-weight: 600; }
.hero { display: grid; grid-template-columns: 1.25fr .82fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); padding-block: clamp(2.8rem, 4.3vw, 4.65rem); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6.5vw, 6.75rem); line-height: 1.06; letter-spacing: -.032em; }
.hero h1 { font-size: clamp(5.6rem, 8.7vw, 9rem); line-height: .85; margin: 1.55rem 0 1.6rem; }
h1 em { font-style: normal; font-weight: inherit; }
.hero h1 span { color: var(--accent); }
.intro { max-width: 37rem; color: var(--muted); font-size: clamp(1.11rem, 1.58vw, 1.43rem); line-height: 1.48; }
.actions { flex-wrap: wrap; gap: 1.7rem; margin-top: 1.6rem; }
.button, .line, .light-link { font-size: .98rem; font-weight: 630; }
.button { display: inline-block; padding: .72rem 1.35rem; background: var(--accent); color: var(--on-accent); text-decoration: none; }
.button:hover { background: var(--accent-hover); color: var(--on-accent); }
.line, .light-link { text-decoration-thickness: 1px; text-underline-offset: .28em; }
.portrait { position: relative; min-width: 0; }
.photo { position: relative; background: var(--surface); overflow: hidden; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; object-position: 50% 47%; }
.headshot { filter: grayscale(1); }
.portrait figcaption { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: .25rem; padding: .76rem 0 .1rem; border-bottom: 0; color: var(--muted); font-size: .78rem; }
.portrait figcaption span:first-child { color: var(--ink); font-weight: 700; }
.proof { background: var(--surface); border-block: 1px solid var(--rule); }
.proof-inner { display: grid; grid-template-columns: 1fr 1.15fr 1.15fr; padding-block: 1.35rem; }
.proof-inner div { display: flex; align-items: center; gap: 1.1rem; padding: .25rem 1.7rem; border-left: 1px solid var(--rule); }
.proof-inner div:first-child { padding-left: 0; border: 0; }
.proof-inner div:last-child { padding-right: 0; }
.proof strong { font: 400 clamp(2rem, 3vw, 3rem)/1 var(--serif); letter-spacing: -.03em; color: var(--accent); white-space: nowrap; }
.proof span { max-width: 10.5rem; line-height: 1.35; font-size: .97rem; }
.section { padding-block: clamp(2.65rem, 4.4vw, 4.8rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section-title { justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
h2 { font-size: clamp(2.1rem, 3.35vw, 3.7rem); line-height: 1.14; letter-spacing: -.022em; }
h3 { font-size: clamp(1.55rem, 2.05vw, 2.25rem); line-height: 1.2; letter-spacing: -.015em; }
.featured, .duo { display: grid; gap: clamp(1.4rem, 3vw, 3rem); }
.featured p, .duo p, .row p, .guide-bio p { color: var(--muted); }
.featured { grid-template-columns: 1.2fr 1fr; margin-top: 1.7rem; }
.feature-main { border-inline-start: 2px solid var(--accent); background: var(--feature-paper); padding: clamp(1.4rem, 3.2vw, 3.5rem); display:flex; align-items:flex-start; flex-direction:column; justify-content:flex-end; }
.feature-main h3 { font-size: clamp(2.5rem, 4.3vw, 4.8rem); margin: 1.3rem 0 .8rem; }
.featured .line, .duo .line, .row .line { display: inline-block; margin-top: .9rem; }
.feature-side article { border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.feature-side h3 { margin: .4rem 0; }
.band { background: var(--surface); border-block: 1px solid var(--rule); }
.strip, .duo { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2.8rem; }
.strip { padding-block: 3rem; }
.strip h2,.duo h2 { margin-top:.65rem; }
.strip p { margin-bottom: 1rem; font-size: 1.1rem; }
.foot { justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; min-height: 6rem; padding-block: 1rem; }
footer { border-top: 1px solid var(--rule); }
.foot > div { display: flex; gap: 1.25rem; font-size: .94rem; }
.lead { padding-block: var(--page-heading-space) clamp(3rem,6vw,6.3rem); }
.lead h1 { margin: 1rem 0 1.5rem; overflow-wrap: anywhere; }
.lead > h1:first-child { margin-block-start: 0; }
.lead .intro { max-width: 45rem; }
.readable p { max-width: 50rem; font-size: 1.15rem; margin: 1rem 0; }
.row { display: grid; grid-template-columns: minmax(12rem,.42fr) 1fr; gap: 2rem; padding: 1.45rem 0; border-bottom: 1px solid var(--rule); }
.row:first-of-type, .details { margin-top:1.65rem; border-top: 1px solid var(--rule); }
.row small, .details small { display: block; margin-top: .25rem; color:var(--muted); }
.row h3 a { text-decoration-thickness: 1px; text-decoration-color: var(--muted); }
.row ul { margin: .7rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.row p, .duo p { margin-top: .65rem; }
.details { list-style:none; padding:0; }
.details li { display:flex; gap:1rem; align-items:baseline; justify-content:space-between; border-bottom:1px solid var(--rule); padding:.8rem 0; }
.lead.compact { padding-block-end: 0; }
.lead.compact > .line { display: inline-block; margin-bottom: 1.125rem; }
.lead.compact + .section { padding-block-start: clamp(1.5rem, 3vw, 2.75rem); }
.guide-cover { background: var(--surface); border-bottom: 1px solid var(--rule); }
.guide-grid { display:grid; grid-template-columns:1.15fr .88fr; gap:clamp(2rem,6vw,6rem); align-items:center; padding-block: var(--page-heading-space) clamp(3rem,5.7vw,6.25rem); }
.guide-cover h1 { margin:1.05rem 0 1.4rem; font-size:clamp(3.25rem,7.2vw,7rem); }
.guide-cover h1 em { color: var(--accent); }
.evidence { padding:1.4rem 2rem 1.8rem; border:1px solid var(--rule); background-color:var(--paper); background-image:linear-gradient(var(--guide-grid) 1px,transparent 1px),linear-gradient(90deg,var(--guide-grid) 1px,transparent 1px); background-size:1.2rem 1.2rem; }
.evidence figcaption { color:var(--muted); margin-bottom:1.5rem; border-bottom:1px solid var(--rule); padding-bottom:1rem; }
.flow-step { position:relative; display:flex; gap:1.2rem; align-items:center; padding:.75rem 0; }
.flow-step b { font:400 1.85rem/1.2 var(--serif); }
.flow-step small { display:block; color:var(--muted); font: .82rem/1.5 var(--mono); margin-top:.2rem; }
.node { width:1rem; height:1rem; border-radius:50%; border:2px solid var(--accent); background:var(--paper); position:relative; z-index:1; flex:none; }
.flow-step:not(:last-child)::before { content:""; position:absolute; left:calc(.5rem - 1px); top:50%; height:100%; border-left:1px dashed var(--accent); }
.guide-bio { padding-block:2rem; display:flex; align-items:center; gap:1.5rem; border-block:1px solid var(--rule); }
.guide-bio img { border-radius:50%; object-fit:cover; object-position:center 15%; }
.guide-bio h2 { font-size:2rem; margin:.2rem 0; }
.guide-bio .line { margin-left:auto; white-space:nowrap; }
.archive { border-top: 1px solid var(--rule); }
.archive > p { margin-top: .75rem; color: var(--muted); }
.archive h3 a { text-decoration-thickness: 1px; }
.external-post { margin-top: .6rem; }
.media-lead { padding-bottom: 2.5rem; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
  padding-top: 0;
}
.platform-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.platform-story h2:not(:first-child) { margin-top: 2rem; }
:is(.platform-gallery, .tool-gallery) .post-figure img { max-width: 100%; height: auto; }
.tool-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  align-items: start;
  gap: 1.5rem clamp(1rem, 2vw, 2rem);
}
.tool-gallery h2 { grid-column: 1 / -1; }
.tool-gallery .post-figure { margin-block: 0; }
main a[aria-haspopup="dialog"] > img { cursor: zoom-in; }
.screenshot-viewer {
  padding: 0;
  border: 0;
  background: var(--surface);
  min-width: 3rem;
  min-height: 3rem;
}
.screenshot-viewer::backdrop { background: var(--image-backdrop); }
.screenshot-viewer img {
  display: block;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
}
.screenshot-viewer button {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--muted);
  background: var(--surface);
  color: var(--ink);
  font: 1.5rem/1 sans-serif;
  cursor: pointer;
}
.screenshot-viewer button:hover { background: var(--surface-hover); }
.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: clamp(1.2rem, 2.3vw, 1.85rem);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--accent);
  background: var(--surface);
}
.media-card:hover, .media-card:focus-within { background: var(--surface-hover); }
.media-card:target { outline: 2px solid var(--accent); scroll-margin-top: 1rem; }
.media-card h2 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); line-height: 1.17; }
.media-title-link { text-decoration: none; }
.media-title-link::after { content: ""; position: absolute; inset: 0; }
.media-meta, .media-summary { color: var(--muted); }
.media-meta { font-size: .9rem; }
.media-card blockquote { margin: 0; padding-left: .8rem; border-left: 2px solid var(--rule); color: var(--muted); }
.media-card blockquote::before { content: open-quote; }
.media-card blockquote::after { content: close-quote; }
.media-action { margin-top: auto; padding-top: .45rem; color: var(--accent); font-weight: 630; }
.post { max-width: 68rem; padding-block: var(--page-heading-space) clamp(2.5rem, 6vw, 5rem); }
.post .intro { max-width: 54rem; }
.post h1 { margin: 1.5rem 0 1rem; font-size: clamp(2.8rem, 5vw, 5.4rem); overflow-wrap: anywhere; }
.byline { font: .9rem/1.5 var(--mono); color: var(--muted); margin: 1.4rem 0 2rem; }
.post-body { border-top: 1px solid var(--rule); padding-top: .8rem; font-size: 1.13rem; overflow-wrap: anywhere; }
.post-body p, .post-body ul, .post-body ol { margin-block: 1rem; }
.post-body h2, .post-body h3 { margin-top: 2rem; }
.post-body h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.post-body img { max-width: 100%; height: auto; }
.post-figure { width: fit-content; max-width: 100%; margin: 1.75rem auto; }
.post-figure img { display: block; margin-inline: auto; }
.post-figure figcaption {
  margin-top: .55rem;
  color: var(--muted);
  font: .95rem/1.45 var(--sans);
  text-align: center;
}
.post-body pre, .post-body table { display: block; overflow-x: auto; }
.post-body pre { padding: 1rem; background: var(--surface); }
.post-body th, .post-body td { border-bottom: 1px solid var(--rule); padding: .3rem .6rem; }
@media (max-width: 800px) {
  .wrap { width:91%; } .mast-inner { gap:1.4rem; } nav { gap:1.25rem; }
  .hero { grid-template-columns:1.05fr .8fr; gap:1.7rem; }
  .hero h1 { font-size:clamp(4.6rem,10vw,6.2rem); }
  .proof-inner div { flex-direction:column; align-items:flex-start; gap:.4rem; }
  .portrait figcaption { flex-direction:column; }
  .guide-grid { grid-template-columns:1.1fr .9fr; gap:1.5rem; } .evidence { padding:1rem; }
}
@media (max-width: 1100px) {
  .mast-inner { gap: 1.4rem; }
  nav { gap: 1rem; }
}
@media (max-width: 960px) {
  .mast-inner { display:grid; grid-template-columns:1fr auto; gap:0; padding-top:.8rem; }
  .mast-actions { grid-column:2; grid-row:1; gap:.4rem; }
  .mast-actions .contact { padding-inline: .55rem; }
  nav { grid-row:2; grid-column:1/-1; margin:0; justify-content:space-between; flex-wrap:wrap; gap:.5rem .8rem; padding:.75rem 0; }
}
@media (max-width: 780px) {
  .wrap { width:90%; }
}
@media (max-width: 390px) {
  .mast-actions .contact { display: none; }
}
@media (max-width: 620px) {
  nav { justify-content:flex-start; }
  .hero,.guide-grid,.strip,.duo,.featured { grid-template-columns:1fr; }
  .hero { padding-block:2.1rem; gap:1.8rem; }
  .hero h1 { font-size:clamp(4.8rem,18vw,7rem); margin:1.15rem 0; }
  .hero .photo img { aspect-ratio:1.48; object-position:50% 42%; }
  .portrait figcaption { flex-direction:row; }
  .actions { gap:.9rem 1.3rem; }
  .proof-inner { grid-template-columns:1fr 1fr 1.08fr; padding-block:1rem; }
  .proof-inner div { padding:0 .65rem; } .proof strong { font-size:1.85rem; } .proof span { font-size:.84rem; }
  .feature-main { min-height:16rem; } .strip,.duo { gap:1.3rem; }
  .row { grid-template-columns:1fr; gap:.5rem; }
  .details li,.guide-bio { flex-wrap:wrap; } .details li { gap:.25rem .75rem; }
  .guide-bio img { width:4rem; height:4rem; } .guide-bio .line { margin:0; }
  .guide-grid { padding-block-end:2.5rem; } .guide-cover h1 { font-size:clamp(2.8rem,12.5vw,6rem); }
  .evidence { padding:1rem 1.4rem; }
}

.home-front, .about-page .editorial-masthead { margin-block-start: var(--page-heading-space); }
.home-front { margin-block-end: clamp(1.5rem, 3vw, 2.5rem); }
.editorial-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: .85rem clamp(1.3rem, 3vw, 3rem);
  padding-block-end: 1.6rem;
  border-bottom: 3px double var(--rule);
}
.home-front .editorial-masthead { width: 100%; }
.editorial-masthead h1 { margin-top: .45rem; font-size: clamp(3.25rem, 6.5vw, 6.65rem); line-height: 1; }
.editorial-masthead h1 span { color: var(--accent); }
.editorial-intro { display: grid; grid-template-columns: minmax(0, 1fr) clamp(7.75rem, 11.25vw, 9rem); align-items: center; gap: .8rem clamp(.75rem, 1.8vw, 1.45rem); }
.editorial-intro .intro { font-size: clamp(1rem, 1.4vw, 1.18rem); }
.editorial-intro .actions { gap: .6rem 1.25rem; margin-top: .75rem; }
.editorial-intro .photo img { aspect-ratio: 10 / 11; object-position: center 24%; }
.editorial-intro figcaption { display: grid; gap: .15rem; padding-top: .3rem; }
.home-front > .section { width: 100%; padding: 1rem 0 0; }
.home-front .section-title { margin-bottom: .7rem; }
.home-front .section-title h2 { font-size: clamp(2.15rem, 3.1vw, 3.1rem); }
.home-front .featured { grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr); margin-top: 0; gap: .85rem clamp(1rem, 3vw, 2.5rem); }
.home-front .feature-main { justify-content: center; min-height: 0; padding: clamp(1rem, 2.15vw, 1.9rem); }
.home-front .feature-main h3 { max-width: 27ch; margin: .4rem 0 .55rem; font-size: clamp(1.8rem, 3.05vw, 3.1rem); }
.home-front .feature-side h3 { margin: .22rem 0 .26rem; font-size: clamp(1.3rem, 1.7vw, 1.65rem); }
.home-front .feature-side article { padding-block: .5rem; }
.home-front .feature-side p { font-size: .94rem; line-height: 1.4; }
.home-front .feature-side article:last-child { border-bottom: 1px solid var(--rule); }
.home-front .featured p { max-width: 53ch; }
.home-front .featured .line { margin-top: .38rem; }
.homepage .proof-inner { padding-block: .9rem; }
.homepage #main > .section { padding-block: clamp(2rem, 3.7vw, 3.5rem); }
.about-page .professional-bio { padding-block-start: clamp(1.5rem, 3.2vw, 2.75rem); }
.professional-bio p:last-of-type { margin-bottom: 0; }
.experience-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.65rem clamp(1.75rem, 4vw, 4rem); margin-top: 1.45rem; }
.experience-facts > section + section { margin-top: 1.5rem; }
.career-roles { margin: .65rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.career-roles li { display: grid; gap: .18rem; padding-block: .58rem; border-bottom: 1px solid var(--rule); }
.career-roles span { color: var(--muted); font-size: .88rem; }
.experience-overview .details { margin-top: .65rem; }
.experience-overview .details li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .13rem; padding-block: .55rem; }
.experience-overview .details small { margin: 0; }
.experience-lead { padding-block-end: 0; }
.experience-lead h1 { margin: 0; }
.experience-lead + .section { padding-block-start: clamp(1.4rem, 3vw, 2.6rem); }

@media (max-width: 46rem) {
  .editorial-masthead, .home-front .featured, .experience-columns { grid-template-columns: 1fr; }
  .editorial-masthead h1 { font-size: clamp(2.75rem, 9vw, 4.4rem); }
  .editorial-intro { grid-template-columns: minmax(0, 1fr) clamp(6.75rem, 29vw, 8.5rem); }
}

.table-controls {
  display: grid;
  grid-template-columns: minmax(0, 24rem) minmax(9rem, 13rem) 1fr;
  gap: .8rem 1rem;
  align-items: end;
  margin: 1.25rem 0 1rem;
}
.table-controls[hidden] { display: none; }
.table-controls label { min-width: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.table-controls input, .table-controls select {
  display: block;
  width: 100%;
  min-height: 2.6rem;
  margin-top: .3rem;
  padding: .5rem .7rem;
  border: 1px solid var(--rule);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.table-controls output { justify-self: end; align-self: end; padding-bottom: .56rem; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.repository-table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  border-block-start: 2px solid var(--accent);
  font-size: 1rem;
}
.repository-table th, .repository-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.repository-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  vertical-align: middle;
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
}
.repository-table thead button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.repository-table thead button:hover, .repository-table thead [aria-sort] button { color: var(--accent); }
.sort-icon {
  display: inline-block;
  width: .48rem;
  height: .68rem;
  flex: none;
  background: currentColor;
  opacity: .65;
  clip-path: polygon(50% 0, 100% 38%, 0 38%, 0 62%, 100% 62%, 50% 100%, 0 62%, 0 38%);
}
[aria-sort="ascending"] .sort-icon { clip-path: polygon(50% 0, 100% 65%, 0 65%); opacity: 1; }
[aria-sort="descending"] .sort-icon { clip-path: polygon(0 35%, 100% 35%, 50% 100%); opacity: 1; }
.repository-table .project-cell { width: 24%; }
.repository-table .format-cell { width: 18%; }
.repository-table .repo-cell { width: 11%; }
.repository-table tbody tr:hover, .repository-table tbody tr:focus-within { background: var(--surface); }
.repository-table tbody .project-cell > a { font-weight: 650; text-decoration-thickness: 1px; }
.repository-table tbody .summary-cell, .repository-table tbody .format-cell { color: var(--muted); }
.repository-table tbody .format-cell { color: var(--accent); font: .89rem/1.72 var(--mono); }
.repository-table .repo-link { color: var(--accent); }
.repository-table .repo-link:hover { color: var(--ink); }
.repository-table .empty-link { color: var(--muted); }
.stacked-meta { display: none; }
#tool-empty { padding: 2rem 1rem; border-bottom: 1px solid var(--rule); color: var(--muted); }

@media (max-width: 48rem) {
  .table-controls { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .table-controls output { grid-column: 1 / -1; justify-self: start; padding-bottom: 0; }
  .repository-table .project-cell { width: 42%; }
  .repository-table .format-cell, .repository-table .repo-cell { display: none; }
  .repository-table th, .repository-table td { padding: .75rem .52rem; }
  .stacked-meta { display: flex; flex-wrap: wrap; gap: .2rem .6rem; margin-top: .26rem; color: var(--muted); font-size: .84rem; font-weight: 400; }
}
