/* Console Sheet: a daylight developer workspace */
:root {
  --ground: #F3F3EF;
  --panel: #FFFFFF;
  --raised: #FAFAF7;
  --seam: #DCDCD5;
  --seam-2: #C8C8C0;
  --ink: #141518;
  --ink-2: #3A3C42;
  --muted: #5E6067;

  --cloud: #1D5FD1;   /* keyword */
  --games: #7C3AB4;   /* number */
  --prod: #17784C;    /* string / live */
  --warn: #9A5B00;
  --danger: #C0281B;
  --cloud-wash: #EAF0FC;

  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --cond: "IBM Plex Sans Condensed", "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --bar-h: 52px;
  --sbar-h: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 15px/1.6 var(--sans);
  font-feature-settings: "ss02";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--cloud); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--cloud) 40%, transparent); }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: #CFDDF8; color: var(--ink); }
:focus-visible { outline: 2px solid var(--cloud); outline-offset: 2px; border-radius: 2px; }
html { scrollbar-color: var(--seam-2) var(--ground); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--seam-2); border: 3px solid var(--ground); border-radius: 6px; }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .86em; letter-spacing: 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cap {
  font: 600 12px/1.2 var(--cond);
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.dot--cloud { background: var(--cloud); }
.dot--games { background: var(--games); }
.dot--prod { background: var(--prod); }
.dot--ink { background: var(--ink-2); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--prod); flex: none; display: inline-block; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 12px; }
.skip:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--seam-2); border-radius: 4px;
  background: var(--panel); color: var(--ink);
  font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--raised); border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cloud); border-color: var(--cloud); color: #fff; }
.btn--primary:hover { background: #174FB0; border-color: #174FB0; }
.link { color: var(--cloud); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--cloud) 40%, transparent); }
.link:hover { text-decoration-color: currentColor; }

/* Top bar */
.bar {
  position: sticky; top: 0; z-index: 20;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 16px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--seam);
}
.bar__ws { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.bar__mark { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 4px; font: 600 12px/1 var(--cond); letter-spacing: .04em; }
.bar__path { font: 500 14px/1 var(--sans); color: var(--ink-2); }
.bar__sep { color: var(--seam-2); margin: 0 2px; }
.tabs { display: flex; align-self: stretch; margin-right: auto; overflow-x: auto; scrollbar-width: none; }
@media (max-width: 760px) { .tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  position: relative; display: flex; align-items: center; gap: 6px;
  padding: 0 14px; color: var(--muted); text-decoration: none;
  font: 500 14px/1 var(--sans); white-space: nowrap;
  border-left: 1px solid transparent; border-right: 1px solid transparent;
  transition: color .2s var(--ease);
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="true"] { color: var(--ink); background: var(--ground); border-color: var(--seam); }
.tabs a[aria-current="true"]::after { content: ""; position: absolute; left: -1px; right: -1px; top: 0; height: 2px; background: var(--cloud); }
.tabs a .flag { width: 14px; height: 14px; color: var(--warn); }

/* Workspace grid */
.ws {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 300px;
  min-height: calc(100vh - var(--bar-h));
}
.explorer, .status {
  position: sticky; top: var(--bar-h);
  height: calc(100vh - var(--bar-h) - var(--sbar-h));
  overflow-y: auto;
  padding: 20px 0;
}
.explorer { border-right: 1px solid var(--seam); background: var(--raised); }
.status { border-left: 1px solid var(--seam); background: var(--raised); padding: 0; }
.explorer .cap { padding: 0 16px; margin: 20px 0 8px; }
.explorer .cap:first-child { margin-top: 0; }
.tree a {
  display: flex; align-items: center; gap: 10px;
  height: 30px; padding: 0 16px;
  color: var(--ink-2); text-decoration: none; font-size: 14px;
}
.tree a:hover { background: color-mix(in srgb, var(--seam) 40%, transparent); color: var(--ink); }
.tree a[aria-current="true"] { background: var(--cloud-wash); color: var(--ink); font-weight: 600; }
.tree a[aria-current="true"] .ic { color: var(--cloud); }
.tree .ic { color: var(--muted); }
.tree__n { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--muted); }
.tree--out a { font-size: 13px; }
.tree--out .ic { margin-left: auto; width: 13px; height: 13px; }
.tree--worlds .dot { margin: 0 4px; }

.main { padding: 16px; display: grid; gap: 16px; align-content: start; min-width: 0; padding-bottom: calc(var(--sbar-h) + 32px); }
.panel { background: var(--panel); border: 1px solid var(--seam); border-radius: 6px; min-width: 0; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  min-height: 44px; padding: 8px 16px;
  border-bottom: 1px solid var(--seam);
  background: var(--raised);
  border-radius: 6px 6px 0 0;
}
.panel__head--sub { border-top: 1px solid var(--seam); border-radius: 0; }
.panel__head .mono { font-size: 12px; }
.sect { scroll-margin-top: calc(var(--bar-h) + 16px); }
#overview { display: grid; gap: 16px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); overflow: hidden; }
.hero__text { padding: 48px 40px 40px; display: flex; flex-direction: column; gap: 20px; container-type: inline-size; }
.hero__name {
  font: 600 clamp(2.2rem, 10.6cqi, 4.75rem)/.98 var(--sans);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero__role { font: 500 18px/1.4 var(--sans); color: var(--ink-2); }
.hero__role-sep { color: var(--seam-2); margin: 0 4px; }
.hero__role-alt { color: var(--cloud); }
.hero__lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.hero__facts { display: grid; border-top: 1px solid var(--seam); }
.hero__facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--seam); font-size: 14px; }
.hero__facts dt { font: 600 12px/1.6 var(--cond); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.hero__act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.field { position: relative; border-left: 1px solid var(--seam); background: #FBFBF9; min-height: 420px; }
.field__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.field__photo {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--panel); border: 1px solid var(--seam-2); border-radius: 4px; padding: 6px;
}
.field__photo img { width: 220px; height: 220px; border-radius: 2px; object-fit: cover; }

/* Pipeline */
.pipe__meta { color: var(--muted); }
.pipe__stages {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0; padding: 20px 16px 22px; overflow-x: auto;
}
.pipe__stages li { position: relative; padding-right: 14px; }
.pipe__stages li:last-child { padding-right: 0; }
.pipe__stages li:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 2px;
  background: linear-gradient(90deg, var(--cloud) 50%, var(--seam-2) 50%) right / 200% 100%;
  transition: background-position .5s var(--ease);
}
.pipe__stages li.is-passed::after { background-position: left; }
.stage {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left; padding: 10px 10px 11px;
  border: 1px solid var(--seam-2); border-radius: 4px; background: var(--panel);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.stage:hover { background: var(--raised); transform: translateY(-2px); }
.stage__ic { color: var(--seam-2); transition: color .35s var(--ease); }
.stage__name { font: 500 13px/1.25 var(--sans); flex: 1; }
.stage__t { color: var(--muted); font-size: 12px; }
.is-passed .stage { border-color: var(--prod); }
.is-passed .stage__ic { color: var(--prod); }
.stage--live { border-color: var(--seam-2); }
.is-running .stage--live { border: 2px solid var(--cloud); padding: 9px 9px 10px; background: var(--cloud-wash); }
.is-running .stage--live .stage__t { color: var(--cloud); font-weight: 500; }
.is-running .stage--live .stage__ic { color: var(--cloud); animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* README */
.panel__head--tabs { padding: 0; min-height: 0; align-items: stretch; }
.ftabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.ftabs [role="tab"] {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px; font: 400 13px/1 var(--mono); color: var(--muted);
  border-right: 1px solid var(--seam); white-space: nowrap;
}
.ftabs [role="tab"]:hover { color: var(--ink); }
.ftabs [aria-selected="true"] { color: var(--ink); background: var(--panel); }
.ftabs [aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--panel); }
.ftabs [aria-selected="true"]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--cloud); }
.doc { padding: 32px 40px 36px; animation: docin .5s var(--ease); }
@keyframes docin { from { opacity: 0; transform: translateY(6px); } }
.doc__lede { font-size: 19px; line-height: 1.55; max-width: 62ch; color: var(--ink); margin-bottom: 28px; }
.worlds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--seam); border-left: 1px solid var(--seam); }
.world { padding: 20px 24px 24px; border-right: 1px solid var(--seam); border-bottom: 1px solid var(--seam); }
.world h3 { display: flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--sans); margin-bottom: 8px; }
.world p { color: var(--ink-2); max-width: 60ch; }
.doc__quote { font: 600 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--sans); letter-spacing: -.02em; max-width: 26ch; margin-bottom: 28px; text-wrap: balance; }
.doc__quote--sm { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 14px; }
.doc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.doc__cols h3 { font: 600 15px/1.3 var(--sans); margin: 22px 0 6px; }
.doc__cols h3:first-child { margin-top: 0; }
.doc__cols p { color: var(--ink-2); max-width: 64ch; }
.doc__cols p + p { margin-top: 10px; }
.doc__sig { font-style: italic; color: var(--muted) !important; }
.doc__prod { display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; max-width: 760px; }
.doc__prod p:not(.doc__quote) { color: var(--ink-2); margin-bottom: 18px; }

/* Experience log */
.log { display: grid; }
.log__row + .log__row { border-top: 1px solid var(--seam); }
.log__sum {
  width: 100%; display: grid; align-items: center;
  grid-template-columns: 120px minmax(0, 1.3fr) minmax(0, 1fr) 96px 16px; gap: 16px;
  padding: 14px 16px; text-align: left;
  transition: background .2s var(--ease);
}
button.log__sum:hover { background: var(--raised); }
.log__sum--static { grid-template-columns: 120px minmax(0, 1.3fr) minmax(0, 1fr) 96px 16px; }
.log__t { color: var(--muted); font-size: 13px; }
.log__role { font-weight: 600; }
.log__co { color: var(--ink-2); }
.log__st { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--prod); }
.log__st--live { color: var(--cloud); }
.log__st--live .pulse { background: var(--cloud); }
.log__chev { color: var(--muted); transition: transform .35s var(--ease); }
.log__sum[aria-expanded="true"] .log__chev { transform: rotate(90deg); }
.log__row.is-live { background: linear-gradient(90deg, var(--cloud-wash), transparent 60%); }
.log__det { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.log__det > div { overflow: hidden; }
.log__sum[aria-expanded="true"] + .log__det { grid-template-rows: 1fr; }
.log__det ul { padding: 0 16px 18px calc(16px + 120px + 16px); display: grid; gap: 6px; max-width: calc(120px + 32px + 72ch); }
.log__det li { position: relative; padding-left: 18px; color: var(--ink-2); }
.log__det li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 1px; background: var(--seam-2); }
.log__row.is-flash { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 30% { background-color: var(--cloud-wash); } }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 4px; }
.filters button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 10px; border: 1px solid transparent; border-radius: 4px;
  font-size: 13px; color: var(--muted);
}
.filters button:hover { color: var(--ink); background: var(--panel); border-color: var(--seam); }
.filters button[aria-pressed="true"] { color: var(--ink); background: var(--panel); border-color: var(--seam-2); }
.filters .mono { font-size: 11px; color: var(--muted); }

/* Credentials table */
.creds, .pkg { width: 100%; border-collapse: collapse; font-size: 14px; }
.creds thead th, .pkg thead th { font: 600 11px/1 var(--cond); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); text-align: left; padding: 12px 12px 10px; border-bottom: 1px solid var(--seam); }
.creds td, .creds tbody th, .pkg td, .pkg tbody th { padding: 10px 12px; border-bottom: 1px solid var(--seam); text-align: left; vertical-align: middle; }
.creds tbody tr:last-child > *, .pkg tbody tr:last-child > * { border-bottom: 0; }
.creds tbody th, .pkg tbody th { font-weight: 600; }
.creds td:first-child { width: 64px; padding-left: 16px; }
.creds img { width: 40px; height: 40px; object-fit: contain; }
.creds td:nth-child(3) { color: var(--ink-2); }
.creds td:nth-child(4), .creds td:nth-child(5) { font-size: 12.5px; white-space: nowrap; }
.creds td:last-child, .pkg td:last-child { text-align: right; padding-right: 16px; white-space: nowrap; }
.creds a, .pkg a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.creds a .ic, .pkg a .ic { width: 13px; height: 13px; }
.creds tbody tr, .pkg tbody tr { transition: background .2s var(--ease); }
.creds tbody tr:hover, .pkg tbody tr:hover { background: var(--raised); }
.creds tr[data-g="expert"] th::after { content: "Expert"; margin-left: 8px; font: 500 10.5px/1 var(--mono); color: var(--cloud); border: 1px solid color-mix(in srgb, var(--cloud) 45%, transparent); border-radius: 3px; padding: 2px 5px; vertical-align: 2px; }
.pkg td.mono { font-size: 12.5px; color: var(--ink-2); }
.pkg tbody th { padding-left: 16px; }
.pkg thead th:first-child { padding-left: 16px; }

/* Work shelf */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 16px; }
.item {
  position: relative; display: grid; grid-template-rows: auto auto auto;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--seam); border-radius: 4px; background: var(--panel); overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s var(--ease);
}
.item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-bottom: 1px solid var(--seam); transition: filter .45s var(--ease); }
.item__name { padding: 10px 12px 2px; font-weight: 600; font-size: 14.5px; }
.item__meta { display: flex; align-items: center; gap: 8px; padding: 0 12px 12px; font-size: 12.5px; color: var(--muted); }
.item__meta .ic { margin-left: auto; width: 13px; height: 13px; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.item:hover, .item:focus-visible { transform: translateY(-8px); border-color: var(--ink); }
.item:hover .item__meta .ic, .item:focus-visible .item__meta .ic { opacity: 1; transform: none; color: var(--ink); }
.pkgs { border-top: 1px solid var(--seam); }
.pkgs .panel__head--sub { border-top: 0; }
.empty { padding: 32px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--seam-2); margin: 16px; border-radius: 4px; }
[data-g].is-out { display: none; }

/* Status column */
.spanel { padding: 20px; border-bottom: 1px solid var(--seam); }
.spanel .cap { margin-bottom: 12px; }
.status__now { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--seam); font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { text-align: right; }
.recent { display: grid; gap: 2px; }
.recent li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; line-height: 1.3; }
.recent img { width: 28px; height: 28px; object-fit: contain; }
.recent .mono { font-size: 11px; color: var(--muted); }
.recent .desc { font-size: 12px; color: var(--muted); }
.small { font-size: 13px; }
.recent--prod li { grid-template-columns: 8px 1fr auto; }
.recent--prod .link, .recent--prod a { text-align: left; font-size: 13px; }
.spanel__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; }
.spanel__more .ic { width: 13px; height: 13px; }

/* Status bar */
.sbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: var(--sbar-h); display: flex; align-items: center; gap: 16px; padding: 0 16px;
  background: var(--raised); border-top: 1px solid var(--seam);
  font: 400 12px/1 var(--sans); color: var(--muted);
}
.sbar__l { display: flex; align-items: center; gap: 8px; }
.sbar__l .pulse { width: 6px; height: 6px; }
.sbar__m { display: flex; align-items: center; }
.sbar__m a { display: inline-flex; align-items: center; gap: 6px; color: var(--warn); text-decoration: none; }
.sbar__m a:hover { text-decoration: underline; }
.sbar__m .ic { width: 13px; height: 13px; }
.sbar__r { margin-left: auto; }

/* Responsive: drop the status column, then the explorer */
@media (max-width: 1280px) {
  .ws { grid-template-columns: 216px minmax(0, 1fr); }
  .status { display: none; }
}
@media (max-width: 1020px) {
  .ws { grid-template-columns: minmax(0, 1fr); }
  .explorer { display: none; }
  .hero { grid-template-columns: 1fr; }
  .field { border-left: 0; border-top: 1px solid var(--seam); min-height: 300px; }
  .doc__cols { grid-template-columns: 1fr; gap: 0; }
  .doc__cols > div + div { margin-top: 22px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .bar { gap: 8px; padding: 0 8px 0 12px; }
  .bar__path { display: none; }
  .bar .btn { height: 32px; padding: 0 10px; font-size: 13px; }
  .tabs a { padding: 0 9px; font-size: 13px; }
  .main { padding: 8px; gap: 8px; }
  .hero__text { padding: 28px 20px 24px; gap: 16px; }
  .hero__facts > div { grid-template-columns: 76px 1fr; }
  .field { min-height: 180px; }
  .field__photo { left: 16px; bottom: 16px; }
  .field__photo img { width: 132px; height: 132px; }
  .doc { padding: 22px 20px 26px; }
  .worlds { grid-template-columns: 1fr; }
  .world { padding: 16px 18px 20px; }
  .doc__prod { grid-template-columns: 1fr; gap: 14px; }
  .doc__prod img { width: 56px; height: auto; }
  .pipe__stages { grid-template-columns: repeat(7, 150px); padding: 16px 12px; }
  .log__sum, .log__sum--static { grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; gap: 2px 12px; padding: 12px 14px; }
  .log__t { grid-column: 1; grid-row: 1; }
  .log__role { grid-column: 1; grid-row: 2; }
  .log__co { grid-column: 1; grid-row: 3; font-size: 14px; }
  .log__st { grid-column: 2; grid-row: 1; justify-self: end; }
  .log__chev { grid-column: 2; grid-row: 2 / 4; justify-self: end; }
  .log__det ul { padding: 0 14px 16px; }
  .creds thead { display: none; }
  .creds tbody tr { display: grid; grid-template-columns: 52px 1fr auto; grid-template-areas: "b n v" "b i d"; column-gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--seam); }
  .creds tbody tr:last-child { border-bottom: 0; }
  .creds tbody tr > * { padding: 0; border: 0; }
  .creds td:first-child { grid-area: b; width: auto; padding: 0; }
  .creds tbody th { grid-area: n; }
  .creds td:nth-child(3) { display: none; }
  .creds td:nth-child(4) { grid-area: i; font-size: 11.5px; color: var(--muted); }
  .creds td:nth-child(5) { grid-area: d; font-size: 11.5px; color: var(--muted); text-align: right; }
  .creds td:last-child { grid-area: v; padding: 0; }
  .creds tr[data-g="expert"] th::after { display: none; }
  .pkg td.mono { display: none; }
  .pkg thead th:nth-child(2) { display: none; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; }
  .item__name { font-size: 13.5px; padding: 8px 10px 2px; }
  .item__meta { padding: 0 10px 10px; font-size: 12px; }
  .item__meta .dot { display: none; }
  .sbar__l, .sbar__r { display: none; }
  .sbar__m { margin: 0 auto; }
  .sbar:has(.sbar__m[hidden]) { display: none; }
}
@media (max-width: 420px) {
  .bar__mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Panel display titles */
.ptitle { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font: 600 clamp(1.5rem, 2.4vw, 1.95rem)/1.1 var(--cond); letter-spacing: -.01em; color: var(--ink); padding: 6px 0; }
.ptitle__file { font: 400 13px/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.panel__head:has(.ptitle) { padding-top: 14px; padding-bottom: 14px; }
.panel__head--tabs { flex-direction: column; align-items: stretch; gap: 0; }
.ptitle--tabs { padding: 18px 16px 12px; }
.panel__head--tabs .ftabs { border-top: 1px solid var(--seam); }

/* Slide half out before expanding */
.is-pull { animation: pull .7s var(--ease); }
@keyframes pull { 0% { transform: none; } 35% { transform: translateX(28px); } 100% { transform: none; } }

/* Logo-only work tiles and product doc headers */
.item--logo img { object-fit: contain; padding: 18% 30%; background: var(--raised); }
.doc__prod--head { margin-bottom: 28px; align-items: center; }
.doc__prod--head .doc__quote { margin-bottom: 0; }
.doc__link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.doc__link .ic { width: 14px; height: 14px; }

/* About file tabs: never widen the page */
.panel__head--tabs, .ftabs { min-width: 0; }
@media (max-width: 760px) {
  .ftabs [role="tab"] { padding: 0 10px; gap: 6px; font-size: 12px; }
  .ftabs [role="tab"] .ic { width: 14px; height: 14px; }
}
