* { box-sizing: border-box }
:root { color-scheme: dark; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #10101a; color: #f3f2ff; line-height: 1.5 }
body { margin: 0 }
main { width: min(100% - 32px, 1000px); margin: 0 auto; padding: 28px 0 64px }
header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #38374a; padding-bottom: 16px; margin-bottom: 28px }
.brand { color: #b6a4ff; font-weight: 750; letter-spacing: .14em; font-size: .94rem }
h1, h2, p { margin: 0 }
h1 { font-size: clamp(1.9rem, 5vw, 2.45rem); line-height: 1.18; letter-spacing: -.035em }
h2 { font-size: 1.13rem; letter-spacing: -.015em }
.account, .sub, .empty, .periods p, .signin p { color: #b8b8cb }
.account { margin-top: 6px }
.account strong { color: #eeeaff; margin-left: .35em }
.periods { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,165px),1fr)); gap: 12px; margin: 24px 0 }
section, article { background: #1b1b2a; border: 1px solid #38374a; border-radius: 12px; padding: 20px; margin: 14px 0 }
article { margin: 0; min-width: 0 }
article h2 { font-size: .9rem; color: #c0b9e8; font-weight: 600 }
article strong { display: inline-block; font-size: clamp(1.2rem,4vw,1.65rem); margin: 8px 0 2px; overflow-wrap: anywhere }
article span, article p { font-size: .84rem }
article strong, td { font-variant-numeric: tabular-nums }
.sub, .empty { font-size: .88rem; margin-top: 6px }
.scroll { overflow-x: auto; margin-top: 12px }
table { width: 100%; border-collapse: collapse; font-size: .9rem }
th, td { padding: 8px; border-bottom: 1px solid #38374a; white-space: nowrap; text-align: right }
th { color: #b8b8cb; font-size: .79rem; font-weight: 600 }
th:first-child, td:first-child { text-align: left; padding-left: 0 }
details { border-top: 1px solid #38374a; margin-top: 10px; padding-top: 10px }
summary { cursor: pointer; font-weight: 560 }
button, input { font: inherit }
button { cursor: pointer; border: 0; border-radius: 7px; background: #c8baff; color: #1c1433; font-weight: 650; padding: 10px 15px }
.secondary { background: #272638; color: #eeeaff; font-size: .86rem; border: 1px solid #46445a }
button:hover { filter: brightness(1.12) }
:focus-visible { outline: 2px solid #b6a4ff; outline-offset: 3px }
.entry main { max-width: 440px; padding-top: clamp(40px, 15vh, 170px) }
.signin { padding: clamp(21px, 5vw, 32px) }
.signin h1 { margin-top: 22px }
.signin p { margin: 11px 0 20px }
.signin label { display: block; font-size: .9rem; font-weight: 600 }
.signin input { display: block; width: 100%; margin: 7px 0 16px; border: 1px solid #605c77; background: #12121e; color: white; border-radius: 7px; padding: 11px }
.signin button { width: 100% }
.signin .error { color: #ffafb7 }
@media (max-width: 490px) { main { width: calc(100% - 24px); padding-top: 16px } .periods { grid-template-columns: 1fr 1fr; gap: 8px } section, article { padding: 14px } }

