/* Supplied monochrome design reference, with white light surfaces. */
:root { color-scheme:light; --bg:#ffffff; --panel:#ffffff; --border:#e2e2e2; --text:#000000; --muted:#5e5e5e; --mint:#000000; --font:Inter,"Helvetica Neue",Arial,system-ui,sans-serif; }
body { background:#ffffff; font:400 16px/24px var(--font); }
aside { width:232px; padding:32px 24px; background:#ffffff; }
.brand { font-weight:700; letter-spacing:normal; margin-bottom:56px; }
.brand>span:first-child { border-radius:50%; background:#000000; color:#ffffff; }
.dot { color:#000000; }
.eyebrow { font-size:12px; line-height:20px; letter-spacing:normal; font-weight:500; }
nav { gap:8px; margin-top:24px; }
nav a { min-height:48px; padding:12px 16px; border-radius:999px; color:#4b4b4b; font-size:14px; font-weight:500; }
nav a:hover { color:#000000; background:#efefef; }
nav .selected { color:#ffffff; background:#000000; }
.aside-bottom { color:#000000; }
.aside-bottom small { display:block; margin-top:8px; }
main { width:calc(100% - 232px); max-width:1264px; margin-left:232px; padding:48px 32px; }
header { gap:24px; margin-bottom:40px; }
h1 { font-size:36px; line-height:44px; letter-spacing:normal; margin:8px 0 12px; }
h2 { letter-spacing:normal; }
button,.button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border:1px solid transparent; border-radius:999px; padding:12px 24px; background:#000000; color:#ffffff; font:500 16px/24px var(--font); }
button:hover,.button:hover { background:#282828; filter:none; }
button:active,.button:active { background:#4b4b4b; }
.secondary { background:#efefef; color:#000000; border-color:#e2e2e2; }
.secondary:hover { background:#e2e2e2; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:2px solid #000000; outline-offset:4px; }
.stats { grid-template-columns:1.5fr 1fr 1fr; gap:16px; margin-bottom:40px; }
.stats article { padding:28px 24px; background:#ffffff; border-color:#e2e2e2; border-radius:16px; }
.stats article:first-child { color:#ffffff; background:#000000; border-color:#000000; }
.stats article:first-child .eyebrow,.stats article:first-child .sub { color:#afafaf; }
.stats strong { margin:12px 0 8px; font-size:clamp(24px,2.6vw,36px); line-height:1.25; letter-spacing:normal; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.sub,small { font-size:12px; line-height:20px; }
.gold { color:#000000; }
.toolbar { gap:12px; margin-bottom:24px; }
.toolbar input { max-width:380px; border-radius:999px; padding-inline:24px; }
.toolbar select { max-width:224px; border-radius:999px; padding-inline:20px; }
.toolbar span { font-size:14px; }
.grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.debt { min-width:0; padding:24px; background:#ffffff; border-radius:16px; }
.debt:before { content:none; }
.card-top { gap:12px; margin-bottom:28px; }
.avatar { flex:0 0 44px; width:44px; height:44px; border-radius:50%; background:#efefef; color:#000000; font-size:18px; font-weight:500; }
.card-top h2 { font-size:20px; line-height:28px; overflow-wrap:anywhere; }
.pill { padding:6px 12px; border:1px solid #e2e2e2; border-radius:999px; background:transparent; color:#5e5e5e; font-size:12px; line-height:20px; white-space:nowrap; }
.details { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; }
label { font-size:14px; line-height:20px; }
.details label { font-size:12px; line-height:20px; letter-spacing:normal; text-transform:lowercase; }
.details label::first-letter,.total span::first-letter { text-transform:uppercase; }
.details b { font-size:18px; line-height:24px; font-weight:500; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.total { flex-wrap:wrap; gap:8px 12px; margin-top:24px; padding:20px 0 0; border:0; border-top:1px solid #e2e2e2; border-radius:0; background:transparent; color:#000000; }
.total span { color:#5e5e5e; font-size:12px; line-height:20px; letter-spacing:normal; font-weight:400; text-transform:lowercase; }
.total strong { font-size:24px; line-height:32px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
details { margin-top:20px; }
summary { min-height:44px; padding:12px 0; color:#282828; font-size:14px; line-height:20px; }
details p { font-size:14px; }
.inline { gap:8px; margin:8px 0 16px; }
.inline button { min-height:48px; padding:12px 16px; font-size:14px; }
input,select { min-height:48px; padding:12px 16px; border-color:#e2e2e2; background:#efefef; color:#000000; font:400 16px/24px var(--font); }
input::placeholder { color:#5e5e5e; opacity:1; }
input:focus,select:focus { outline-color:#000000; }
.panel { padding:32px; margin-top:32px; }
.panel h2 { margin:0 0 16px; font-size:24px; line-height:32px; }
.add-form { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.panel label input { margin:8px 0 16px; }
.login { max-width:520px; }
.login button { width:100%; margin-top:8px; }
.alert,.notice { padding:16px 20px; margin-bottom:24px; border:1px solid #e2e2e2; border-radius:16px; color:#000000; background:#efefef; }
.alert::before { content:"! "; font-weight:700; }
.notice::before { content:"✓ "; font-weight:700; }
.log { gap:16px; padding:16px 0; }
.log b { font-weight:500; }
code { padding:16px; border-radius:8px; color:#000000; background:#efefef; }
footer { margin-top:48px; padding-top:24px; border-top:1px solid #e2e2e2; font-size:12px; line-height:20px; letter-spacing:normal; }
@media(min-width:1496px) { main { margin-inline:auto; transform:translateX(116px); } }
@media(max-width:1119px) {
 aside { position:static; width:100%; height:auto; padding:20px 32px; border-right:0; border-bottom:1px solid #e2e2e2; }
 .brand { margin:0; }
 aside>.eyebrow,.aside-bottom { display:none; }
 nav { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
 nav a { min-height:44px; padding:10px 20px; }
 main { width:100%; max-width:1200px; margin:0 auto; padding:32px; }
 .stats strong { font-size:28px; }
}
@media(max-width:767px) {
 aside { padding:20px 16px; }
 nav { flex-wrap:nowrap; overflow-x:auto; }
 nav a { flex-shrink:0; }
 main { padding:32px 16px; }
 header { align-items:flex-start; gap:12px; margin-bottom:32px; }
 h1 { font-size:32px; line-height:40px; }
 header .button,header button { min-height:44px; padding:10px 16px; font-size:14px; white-space:nowrap; }
 .stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:32px; }
 .stats article { padding:24px 20px; }
 .stats article:first-child { grid-column:span 2; }
 .stats article:first-child strong { font-size:36px; }
 .stats strong { font-size:24px; }
 .grid { grid-template-columns:1fr; }
 .toolbar { flex-wrap:wrap; }
 .toolbar input { max-width:none; }
 .toolbar select { max-width:calc(100% - 80px); }
 .panel { padding:24px; }
 .add-form { grid-template-columns:1fr; }
 .inline { flex-direction:column; }
 .inline button { width:100%; }
}
@media(max-width:420px) {
 header { flex-wrap:wrap; }
 h1 { font-size:28px; line-height:36px; }
 .debt { padding:24px 20px; }
 .pill { padding:4px 8px; font-size:11px; }
 .details b { font-size:16px; }
 .stats article:first-child strong { font-size:32px; }
}
