body {
    font:
        16px -apple-system,
        Avenir,
        Helvetica,
        Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #f7f7f7;
    margin: 0;
    padding: 20px;
}

#app {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left; /* ← stop centering everything */
}

/* Code block */
#app pre {
    width: 100%; /* ← fill container */
    box-sizing: border-box; /* include padding in width */
    margin: 0 0 16px 0; /* align with button */
    background: #000; /* black bg */
    color: #fff; /* white text */
    padding: 16px 20px;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap; /* wrap lines instead of scrolling */
    word-break: break-word; /* break very long tokens */
    overflow: hidden; /* no horizontal scrollbar */
    text-align: left; /* ensure left-aligned text */
}

/* Button – same width & alignment as code block */
#app button {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #111;
    border-radius: 8px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font: inherit;
}

#app button:hover {
    background: #000;
    color: #fff;
}

#app pre {
    white-space: pre-wrap;
    margin-left: 0;
}
