.personal-showcase { height: auto; padding-top: 48px; padding-bottom: 44px; }
.personal-showcase .workspace-inner { width: min(100%, 1280px); max-width: 1280px; margin-inline: auto; }
.personal-showcase .workspace-heading { display: block; margin-bottom: 28px; }
.personal-showcase .workspace-heading .eyebrow { margin-bottom: 14px; color: #69706f; }
.personal-showcase .workspace-heading h2 { font-size: 36px; line-height: 1.2; font-weight: 650; }
.personal-showcase h2 strong { color: var(--red); font-weight: 700; }
.workspace-description { max-width: 680px; margin: 18px 0 0; font-size: 15px; line-height: 1.75; color: #646871; }
.workspace-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.personal-showcase .theme-switcher { padding: 3px; border: 0; background: #eeeae6; border-radius: 7px; }
.personal-showcase .theme-switcher button { min-width: 76px; min-height: 34px; justify-content: center; padding: 0 12px; gap: 8px; font-size: 12px; }
.personal-showcase .theme-switcher button.is-active { background: #fff; box-shadow: 0 1px 4px #20232b15; }
.preview-expand, .preview-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ddd7d1; border-radius: 6px; background: transparent; }
.preview-expand:hover { background: #eeeae6; }
.workspace-figure { margin: 0; }
.workspace-caption { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 11px; line-height: 1.6; color: #69706f; }
.workspace-caption > span:last-child { font: 10px/1.6 monospace; white-space: nowrap; color: #7a807d; }
.preview-dialog { width: min(96vw, 1920px); max-width: none; max-height: 96dvh; padding: 0 16px 16px; border: 1px solid #ffffff26; border-radius: 8px; background: #242528; color: #fff; box-shadow: 0 24px 80px #0005; }
.preview-dialog::backdrop { background: #17191cdb; }
.preview-dialog-bar { height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; }
.preview-close { border-color: #ffffff30; flex-shrink: 0; }
.preview-close img { filter: invert(1); }
.preview-close:hover { background: #ffffff18; }
.preview-dialog > img { display: block; width: 100%; height: auto; max-height: calc(96dvh - 74px); object-fit: contain; }
html:has(.preview-dialog[open]) { overflow: hidden; }
@media (max-width: 1000px) {
  .personal-showcase { min-height: 0; padding: 38px 32px 30px; }
  .personal-showcase .workspace-heading h2 { font-size: 30px; }
  body:has(.personal-showcase) > .paper-companion { position: absolute; }
}
@media (max-width: 600px) {
  .personal-showcase { padding-inline: 20px; }
  .personal-showcase .workspace-heading { margin-bottom: 22px; }
  .personal-showcase .workspace-heading h2 { font-size: 29px; }
  .personal-showcase h2 strong { display: inline; }
  .personal-showcase h2 > span:first-child::after { content: ""; display: block; }
  .workspace-description { margin-top: 16px; font-size: 13px; }
  .workspace-caption { display: block; font-size: 10px; }
  .workspace-caption > span:last-child { display: block; margin-top: 6px; }
  .preview-dialog { width: calc(100vw - 16px); padding: 0 8px 8px; }
}
