/* pi-book custom styles */

/* Better CJK typography */
:root {
    --content-max-width: 820px;
}

.content main {
    font-size: 1.05rem;
    line-height: 1.85;
}

/* Mermaid diagram sizing */
.content main .mermaid {
    text-align: center;
    margin: 1.5em 0;
}

/* Blockquote positioning anchor styling */
.content main blockquote {
    border-left: 4px solid #4a9eff;
    background: #f0f7ff;
    padding: 0.8em 1.2em;
    margin: 1em 0;
}

/* Trade-off section emphasis */
.content main h3:has(+ p strong) {
    margin-top: 2em;
}

/* Code block with file reference */
.content main pre code {
    font-size: 0.88em;
    line-height: 1.5;
}

/* Version evolution note */
.content main blockquote:last-of-type {
    border-left-color: #9e9e9e;
    background: #f5f5f5;
    font-size: 0.92em;
}
