:root {
  font-family: Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717; background: #fff; font-synthesis: none;
  --muted: #626262; --line: #dedede; --surface: #f5f5f5; --green: #176a43;
}
* { box-sizing: border-box; }
body { margin: 0 auto; max-width: 1080px; padding: 64px 40px 24px; }
main { min-height: calc(100svh - 190px); }
header { margin-bottom: 36px; }
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 650; letter-spacing: -.065em; line-height: 1.05; margin: 0; }
form { max-width: 560px; }
label { display: block; font-size: .875rem; font-weight: 550; margin-bottom: 10px; }
.form-row { display: flex; gap: 10px; }
input, button { font: inherit; border: 1px solid var(--line); border-radius: 6px; min-height: 48px; padding: 10px 14px; }
input { min-width: 0; flex: 1; background: transparent; color: inherit; }
button { cursor: pointer; background: #171717; color: #fff; font-weight: 600; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
#status { margin: 18px 0 0; min-height: 24px; color: var(--muted); line-height: 1.5; }
#results { margin-top: 36px; }
.result-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-bottom: 20px; }
h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.complete { color: var(--green); }
.download { min-height: 36px; padding: 6px 10px; color: inherit; background: transparent; font-size: .8125rem; font-weight: 500; }
.summary { flex-basis: 100%; color: var(--muted); font-size: .875rem; margin: 0; }
.repository { border-top: 1px solid var(--line); padding: 24px 0; }
h3 { margin: 0 0 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.description { max-width: 72ch; margin: 0 0 20px; color: var(--muted); line-height: 1.6; overflow-wrap: anywhere; }
dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
dt { font-size: .75rem; color: var(--muted); margin-bottom: 5px; }
dd { margin: 0; font-size: .875rem; overflow-wrap: anywhere; line-height: 1.5; }
.default-source { display: block; color: var(--muted); font-size: .75rem; }
.errors { margin: 0 0 24px; padding: 16px 20px; background: var(--surface); border-radius: 6px; }
.errors summary { cursor: pointer; font-weight: 550; }
.errors ul { padding-left: 20px; margin-bottom: 0; }
.errors li { overflow-wrap: anywhere; line-height: 1.6; margin-top: 10px; font-size: .875rem; }
.empty { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
nav { display: flex; gap: 24px; font-size: .8125rem; color: var(--muted); }
.studio-badge { display: inline-flex; }
.studio-badge img { display: block; }
@media (prefers-color-scheme: dark) {
  :root { color: #f2f2f2; background: #111; --muted: #a5a5a5; --line: #343434; --surface: #1b1b1b; --green: #82c59d; }
  button { background: #f2f2f2; color: #111; }
  .download { background: transparent; color: inherit; }
}
@media (max-width: 600px) {
  body { padding: 36px 20px 24px; }
  header { margin-bottom: 30px; }
  dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  #results { margin-top: 28px; }
  footer { margin-top: 32px; }
}
