:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 24px 16px 48px;
    background: #f6f4ef;
    color: #23201b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}
.wrap { max-width: 640px; margin: 0 auto; }
h1 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.lede { margin: 0 0 20px; color: #6b6357; font-size: 13.5px; }
.rows {
    background: #fff;
    border: 1px solid #e2ddd3;
    border-radius: 10px;
    overflow: hidden;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    justify-content: space-between;
    align-items: baseline;
    padding: 11px 16px;
    border-top: 1px solid #efebe3;
}
.row:first-child { border-top: 0; }
.label { color: #6b6357; font-size: 13px; flex: 0 0 auto; }
/* min-width:0 + break-all let the 40-char revision wrap inside the card
   instead of pushing the row wider than the viewport on a phone. */
.value { flex: 1 1 auto; min-width: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 500;
    word-break: break-all;
}
.tone-ok { color: #1d7a44; }
.tone-warn { color: #a4551b; }
.tone-muted { color: #8a8072; font-weight: 500; }
.note {
    margin: 16px 0 0;
    padding: 10px 14px;
    border-left: 3px solid #d7b26a;
    background: #fbf5e7;
    font-size: 13.5px;
}
.foot { margin: 20px 0 0; color: #8a8072; font-size: 12px; }
@media (max-width: 640px) {
    .row { flex-direction: column; align-items: flex-start; gap: 2px; }
    .value { text-align: left; }
}
@media (prefers-color-scheme: dark) {
    body { background: #17150f; color: #ece6da; }
    .lede, .label { color: #9a9184; }
    .rows { background: #201d16; border-color: #35301f; }
    .row { border-top-color: #2c281d; }
    .tone-ok { color: #6fce97; }
    .tone-warn { color: #e2a563; }
    .tone-muted { color: #9a9184; }
    .note { background: #241f13; border-left-color: #8a6d2c; }
    .foot { color: #7d7466; }
}
