:root {
    color-scheme: light;
    --paper: #f0f5f4;
    --white: #fff;
    --ink: #132e34;
    --muted: #425c63;
    --line: #cfdddc;
    --accent: #006550;
    --light: #e3f4ed;
    font: 16px/1.55 "DM Sans", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #0059a3; outline-offset: 3px; }
.wrap { width: min(74rem, calc(100% - 2rem)); margin-inline: auto; }
.topbar { background: var(--ink); color: white; }
.bar, .account, .heading { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.bar { min-height: 4.5rem; }
.brand { color: white; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.brand span { color: #9be4cb; }
.account span { overflow-wrap: anywhere; font-size: .875rem; }
main { padding-block: 2.5rem 4rem; }
.heading { margin-bottom: 1.4rem; }
.heading p, .hint { color: var(--muted); margin: .25rem 0 0; }
h1, h2, p, dl, ul { margin: 0; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.055em; line-height: 1.04; }
h2 { font-size: 1.18rem; letter-spacing: -.025em; }
.metrics, .operations { display: grid; gap: 1rem; margin-bottom: 1rem; }
.metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics > div { background: var(--light); border-top: 3px solid var(--accent); padding: 1rem 1.25rem; }
dt, .hint, small { font-size: .88rem; color: var(--muted); }
dd { margin: 0; }
.metrics dd { font-size: clamp(1.2rem, 2.7vw, 2rem); font-weight: 750; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.operations { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: .65rem; padding: 1.25rem; margin-bottom: 1rem; }
.operations .panel { margin-bottom: 0; }
.stack { display: grid; align-content: start; gap: .8rem; }
label { font-weight: 650; display: grid; gap: .3rem; }
input { color: inherit; background: white; width: 100%; padding: .55rem .65rem; border: 1px solid #889fa0; border-radius: .35rem; font: inherit; }
button, .button { width: fit-content; border: 1px solid var(--accent); background: var(--accent); color: white; border-radius: .35rem; padding: .52rem .85rem; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.secondary { color: var(--accent); background: white; }
button:disabled { opacity: .55; cursor: default; }
.notice { padding: .75rem 1rem; margin-bottom: 1rem; border-radius: .4rem; }
.error { color: #78251b; background: #ffe9e3; }
.success { background: var(--light); color: #09573e; }
.scroll { overflow-x: auto; margin-top: .8rem; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .92rem; }
th, td { border-bottom: 1px solid var(--line); padding: .62rem .75rem; vertical-align: top; }
th { background: var(--paper); white-space: nowrap; }
td small { display: block; }
.amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.facts { display: grid; gap: .75rem; margin-top: .65rem; }
.code, pre { font: .82rem/1.6 "IBM Plex Mono", Consolas, monospace; overflow-wrap: anywhere; }
.taxes { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; margin-bottom: .6rem; }
pre { white-space: pre-wrap; min-width: 12rem; max-width: 24rem; }
summary { color: var(--accent); cursor: pointer; white-space: nowrap; }
.branches { padding-left: 1.2rem; margin-top: .5rem; }
.branches small { margin-left: .45rem; }
.back { display: inline-block; margin-bottom: 1rem; }
.entry { max-width: 60rem; }
.login { display: grid; grid-template-columns: 1.1fr 1fr; }
.login-intro { display: grid; align-content: center; gap: 1rem; background: var(--light); border-left: 5px solid var(--accent); padding: clamp(1.25rem, 5vw, 3rem); }
.login .panel { margin: 0; padding: clamp(1.25rem, 4vw, 2.75rem); }
.route { color: var(--accent); font-weight: 700; }
@media (max-width: 42rem) {
    main { padding-top: 1.5rem; }
    .metrics, .operations, .login { grid-template-columns: 1fr; }
    .heading { align-items: flex-start; flex-direction: column; }
    .account span { display: none; }
    .bar { min-height: 3.5rem; }
}
