/* Baseline for Android 5 / older Chromium, where Tailwind 4 cascade layers
   and its OKLCH colors are not understood. */
@supports not (color: oklch(0 0 0)) {
  * { box-sizing: border-box; }
  html { font-size: 16px; -webkit-text-size-adjust: 100%; color: #292524; background: #fafaf9; }
  html.dark { color: #e7e5e4; background: #0a0a0a; }
  body { display: block; margin: 0 auto; padding: 12px; max-width: 1024px; min-height: 100vh; font: 15px/1.65 Arial, sans-serif; background: #fafaf9; color: #292524; }
  html.dark body { background: #0a0a0a; color: #e7e5e4; }
  a { color: #2563eb; text-decoration: none; }
  html.dark a { color: #60a5fa; }
  a:hover { text-decoration: underline; }
  h1 { font-size: 1.85em; line-height: 1.25; margin: 0 0 16px; font-weight: 600; }
  h2 { font-size: 1.5em; margin: 0 0 12px; }
  h3 { font-size: 1.25em; margin: 0 0 12px; }
  p { margin: 4px 0 8px; }
  img { max-width: 100%; height: auto; }
  button, input, textarea { font: inherit; }
  .flex, .inline-flex { display: -webkit-box; display: -webkit-flex; display: flex; }
  .inline-flex { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; }
  .flex-col { -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
  .flex-wrap { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .items-center { -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
  .items-start { -webkit-align-items: flex-start; align-items: flex-start; }
  .items-baseline { -webkit-align-items: baseline; align-items: baseline; }
  .justify-center { -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; }
  .justify-between { -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; }
  .text-center { text-align: center; }
  .text-right { text-align: right; }
  .text-left { text-align: left; }
  .w-full { width: 100%; }
  .w-8 { width: 32px; }
  .w-9 { width: 36px; }
  .w-10 { width: 40px; }
  .w-5 { width: 20px; }
  .w-52 { width: 13rem; }
  .h-5 { height: 20px; }
  .h-full { height: 100%; }
  .h-1 { height: 4px; }
  .h-1\.5 { height: 6px; }
  .h-8 { height: 32px; }
  .h-9 { height: 36px; }
  .h-10 { height: 40px; }
  .min-w-0 { min-width: 0; }
  .max-w-none { max-width: none; }
  .max-w-5xl { max-width: 1024px; }
  .max-w-2xl { max-width: 672px; }
  .max-w-3xl { max-width: 768px; }
  .max-w-prose { max-width: 65ch; }
  .m-auto { margin-left: auto; margin-right: auto; }
  .p-1 { padding: 4px; }
  .p-1\.5 { padding: 6px; }
  .p-2 { padding: 8px; }
  .p-3 { padding: 12px; }
  .p-4 { padding: 16px; }
  .p-6 { padding: 24px; }
  .px-1 { padding-left: 4px; padding-right: 4px; }
  .px-1\.5 { padding-left: 6px; padding-right: 6px; }
  .px-2 { padding-left: 8px; padding-right: 8px; }
  .px-2\.5 { padding-left: 10px; padding-right: 10px; }
  .px-3 { padding-left: 12px; padding-right: 12px; }
  .px-4 { padding-left: 16px; padding-right: 16px; }
  .py-0\.5 { padding-top: 2px; padding-bottom: 2px; }
  .py-1 { padding-top: 4px; padding-bottom: 4px; }
  .py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
  .py-6 { padding-top: 24px; padding-bottom: 24px; }
  .py-2 { padding-top: 8px; padding-bottom: 8px; }
  .py-2\.5 { padding-top: 10px; padding-bottom: 10px; }
  .mt-2 { margin-top: 8px; }
  .mt-0 { margin-top: 0; }
  .mt-1 { margin-top: 4px; }
  .mt-4 { margin-top: 16px; }
  .mt-6 { margin-top: 24px; }
  .ml-1 { margin-left: 4px; }
  .ml-2 { margin-left: 8px; }
  .ml-3 { margin-left: 12px; }
  .ml-4 { margin-left: 16px; }
  .ml-auto { margin-left: auto; }
  .mb-1 { margin-bottom: 4px; }
  .mb-0 { margin-bottom: 0; }
  .mb-3 { margin-bottom: 12px; }
  .mb-2 { margin-bottom: 8px; }
  .mb-4 { margin-bottom: 16px; }
  .mb-6 { margin-bottom: 24px; }
  .mr-2 { margin-right: 8px; }
  .mr-2\.5 { margin-right: 10px; }
  .my-3 { margin-top: 12px; margin-bottom: 12px; }
  .my-4 { margin-top: 16px; margin-bottom: 16px; }
  .my-6 { margin-top: 24px; margin-bottom: 24px; }
  .pt-4 { padding-top: 16px; }
  .pt-8 { padding-top: 32px; }
  .pb-4 { padding-bottom: 16px; }
  .my-0 { margin-top: 0; margin-bottom: 0; }
  .py-4 { padding-top: 16px; padding-bottom: 16px; }
  .mx-auto { margin-left: auto; margin-right: auto; }
  .relative { position: relative; }
  .absolute { position: absolute; }
  .fixed { position: fixed; }
  .top-0 { top: 0; }
  .top-3 { top: 12px; }
  .right-3 { right: 12px; }
  .bottom-6 { bottom: 24px; }
  .right-6 { right: 24px; }
  .left-0 { left: 0; }
  .z-50 { z-index: 50; }
  .z-10 { z-index: 10; }
  .block { display: block; }
  .inline-block { display: inline-block; }
  .hidden { display: none; }
  .flex-1 { -webkit-box-flex: 1; -webkit-flex: 1 1 0%; flex: 1 1 0%; }
  .flex-none { -webkit-flex: none; flex: none; }
  .flex-row { -webkit-box-orient: horizontal; -webkit-flex-direction: row; flex-direction: row; }
  .justify-start { -webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; }
  .justify-end { -webkit-box-pack: end; -webkit-justify-content: flex-end; justify-content: flex-end; }
  .self-start { -webkit-align-self: flex-start; align-self: flex-start; }
  .text-xs { font-size: .75rem; }
  .text-sm { font-size: .875rem; }
  .text-base { font-size: 1rem; }
  .text-lg { font-size: 1.125rem; }
  .text-xl { font-size: 1.25rem; }
  .text-2xl { font-size: 1.5rem; }
  .text-3xl { font-size: 1.875rem; }
  .text-\[10px\] { font-size: 10px; }
  .text-\[11px\] { font-size: 11px; }
  .font-normal { font-weight: 400; }
  .font-bold { font-weight: 700; }
  .font-italic { font-style: italic; }
  .leading-none { line-height: 1; }
  .leading-tight { line-height: 1.25; }
  .leading-relaxed { line-height: 1.625; }
  .leading-snug { line-height: 1.375; }
  .text-white { color: #fff; }
  .text-blue-600 { color: #2563eb; }
  .text-emerald-800 { color: #065f46; }
  .text-emerald-400 { color: #34d399; }
  .bg-stone-200 { background-color: #e7e5e4; }
  .bg-stone-300 { background-color: #d6d3d1; }
  .bg-blue-600 { background-color: #2563eb; }
  .bg-emerald-100 { background-color: #d1fae5; }
  .bg-neutral-800 { background-color: #262626; }
  .border-stone-100 { border-color: #f5f5f4; }
  .border-stone-200 { border-color: #e7e5e4; }
  .border-stone-300 { border-color: #d6d3d1; }
  .border-neutral-700, .border-neutral-800 { border-color: #404040; }
  .border-l { border-left: 1px solid #e7e5e4; }
  .border-t { border-top: 1px solid #e7e5e4; }
  .rounded-xl { border-radius: 12px; }
  .rounded-md { border-radius: 6px; }
  .rounded-lg { border-radius: 8px; }
  .shadow-sm { -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.08); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
  .cursor-pointer { cursor: pointer; }
  .cursor-default { cursor: default; }
  .pointer-events-none { pointer-events: none; }
  .text-left { text-align: left; }
  .no-underline { text-decoration: none; }
  .opacity-50 { opacity: .5; }
  .opacity-60 { opacity: .6; }
  .opacity-\[0\.6\] { opacity: .6; }
  .select-none { -webkit-user-select: none; user-select: none; }
  .object-contain { object-fit: contain; }
  .nav { color: #44403c; font-size: .875rem; font-weight: 500; }
  html.dark .nav { color: #d6d3d1; }
  .nav-menu-item { display: inline-block; padding: 6px 12px; border-radius: 5px; }
  .categories, .tags { display: inline-block; padding: 2px 8px; margin: 2px; border: 1px solid #d6d3d1; border-radius: 4px; font-size: .75rem; }
  .categories { color: #065f46; background: #d1fae5; }
  .tags { color: #44403c; background: #e7e5e4; }
  html.dark .categories { color: #6ee7b7; background: #064e3b; border-color: #065f46; }
  html.dark .tags { color: #d6d3d1; background: #292524; border-color: #44403c; }
  html.dark .bg-white, html.dark .bg-stone-50 { background-color: #171717; }
  html.dark .bg-stone-100 { background-color: #262626; }
  html.dark .bg-stone-200 { background-color: #292524; }
  html.dark .bg-neutral-800 { background-color: #262626; }
  html.dark .text-blue-600 { color: #60a5fa; }
  html.dark .text-emerald-800 { color: #34d399; }
  html.dark .border-stone-100, html.dark .border-stone-200, html.dark .border-stone-300,
  html.dark .border-neutral-700, html.dark .border-neutral-800 { border-color: #292524; }
  html.dark .border-l, html.dark .border-t { border-color: #292524; }
  .skill-bar { transition: width .8s ease; }
  .role-bubble { position: absolute; left: 50%; top: 100%; width: 13rem; z-index: 10; text-align: center; font-size: 11px; }
  .role-bubble > div:last-child { padding: 8px 12px; border: 1px solid #e7e5e4; border-radius: 12px; background: #f5f5f4; color: #57534e; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
  html.dark .role-bubble > div:last-child { border-color: #404040; background: #262626; color: #d6d3d1; }
  .role-bubble > div:first-child { height: 10px; }
  .role-bubble > div:first-child span { display: inline-block; width: 4px; height: 4px; margin: 2px; border-radius: 50%; background: #a8a29e; }
  .panel a { cursor: pointer; }
  .panel .flex-wrap { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .panel .flex-wrap > a { display: -webkit-inline-box; display: -webkit-inline-flex; display: inline-flex; width: 36px; height: 36px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; margin: 4px; border: 1px solid #e7e5e4; border-radius: 6px; background: #fafaf9; }
  html.dark .panel .flex-wrap > a { border-color: #404040; background: #262626; }
  .panel .flex-wrap > a img { display: block; width: 20px; height: 20px; max-width: 20px; }
  .skill-item > div:last-child { display: block; width: 100%; height: 6px; overflow: hidden; border-radius: 999px; background: #e7e5e4; }
  html.dark .skill-item > div:last-child { background: #262626; }
  .skill-item .skill-bar { display: block; height: 100%; min-height: 6px; border-radius: 999px; background: #a8a29e; }
  html.dark .skill-item .skill-bar { background: #78716c; }
  .panel .accordion, .panel a, .nav a, .email-copy { -webkit-tap-highlight-color: rgba(37,99,235,.18); }
  .tech-stack img { display: block; width: 20px; height: 20px; max-width: 20px; }
  .theme-toggle, #home-back-to-top, #back-to-top { min-width: 36px; min-height: 36px; }
  .email-copy { display: inline-block; padding: 6px; }
  .role-bubble { left: 50%; margin-top: 8px; }
  .nav a, .pagination-links a, .social-links a { position: relative; z-index: 1; }
  .terminal-cursor { font-weight: bold; }
  .top-h1 { margin-top: 0; }
  .pagination-links li.active { color: #fff; background: #2563eb; }
  html.dark .pagination-links li.active { background: #3b82f6; }
  .grid { display: block; }
  .grid > div { min-width: 0; }
  .gap-1, .gap-1\.5, .gap-2, .gap-2\.5, .gap-3, .gap-4, .gap-6 { margin-left: -4px; }
  .gap-1 > *, .gap-1\.5 > *, .gap-2 > *, .gap-2\.5 > *, .gap-3 > *, .gap-4 > *, .gap-6 > * { margin: 4px; }
  .gap-6 > * { margin: 12px; }
  .gap-0\.5 > * { margin: 2px; }
  .gap-2 > * { margin: 4px; }
  .gap-2\.5 > * { margin: 5px; }
  .gap-3 > * { margin: 6px; }
  .gap-4 > * { margin: 8px; }
  .space-y-2 > * { margin-top: 8px; }
  .rounded, .rounded-md, .rounded-lg, .rounded-full { border-radius: 6px; }
  .rounded-full { border-radius: 999px; }
  .border { border: 1px solid #e7e5e4; }
  html.dark .border { border-color: #292524; }
  .border-b { border-bottom: 1px solid #e7e5e4; }
  html.dark .border-b { border-color: #292524; }
  .bg-white, .bg-stone-50 { background-color: #fafaf9; }
  .bg-stone-100 { background-color: #f5f5f4; }
  .bg-neutral-900 { background-color: #171717; }
  html.dark .dark\:bg-neutral-950, html.dark .dark\:bg-neutral-950\/90 { background-color: #0a0a0a; }
  html.dark .dark\:bg-neutral-900 { background-color: #171717; }
  .text-stone-400 { color: #a8a29e; }
  .text-stone-500 { color: #78716c; }
  .text-stone-600 { color: #57534e; }
  .text-stone-700 { color: #44403c; }
  .text-stone-800 { color: #292524; }
  html.dark .text-stone-400 { color: #a8a29e; }
  html.dark .text-stone-500 { color: #a8a29e; }
  html.dark .text-stone-600 { color: #d6d3d1; }
  html.dark .text-stone-700 { color: #e7e5e4; }
  html.dark .text-stone-800 { color: #e7e5e4; }
  .font-semibold { font-weight: 600; }
  .font-medium { font-weight: 500; }
  .overflow-hidden { overflow: hidden; }
  .overflow-x-auto { overflow-x: auto; }
  .panel { overflow: hidden; }
  .panel-reveal > *, .reveal, .blog-entry { opacity: 1; transform: none; }
  .accordion > p { cursor: pointer; padding: 10px 6px; }
  .profile-photo-container img { display: block; width: 160px; height: auto; margin: 0 auto; border-radius: 50%; }
  .prose { max-width: 70ch; line-height: 1.7; }
  .prose img { display: block; margin: 16px auto; }
  .prose pre { overflow-x: auto; padding: 12px; background: #f5f5f4; }
  html.dark .prose pre { background: #171717; }
  .prose code { font-family: monospace; }
  ul { padding-left: 1.5em; }
  .pagination-links ul { display: flex; padding: 0; list-style: none; }
  .pagination-links li { margin: 0 3px; padding: 2px 8px; border: 1px solid #d6d3d1; }
  .contrib-scroller { overflow-x: auto; }
  .contrib-canvas { min-width: 600px; }
  .contrib-wd { float: left; width: 24px; }
  .contrib-grid { overflow: hidden; }
  .contrib-cell { float: left; margin: 1px; }
  .toast { position: fixed; bottom: 24px; left: 50%; padding: 8px 16px; color: #fff; background: #44403c; opacity: 0; }
  .toast.show { opacity: 1; }
  @media (min-width: 768px) {
    body { padding: 16px 24px; }
    .grid { display: -webkit-box; display: -webkit-flex; display: flex; }
    .grid > div:first-child { width: 40%; }
    .grid > div:last-child { width: 60%; }
    .md\:sticky { position: static; }
  }
  @media (max-width: 767px) {
    .grid > div { width: 100%; }
    .md\:sticky { position: static; }
  }
}
