:root {
    color-scheme: dark;
    font: 16px/1.55 system-ui, sans-serif;
    color: #f2f5f9;
    background: #101720;
    --surface: #182331;
    --edge: #3d5065;
    --muted: #bac8d7;
    --action: #9be6d3;
}

* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 2rem, 42rem); margin: clamp(2rem, 9vw, 5rem) auto; }
header { margin-bottom: 1.5rem; }
.brand, dt { color: var(--muted); font-size: .875rem; }
.brand { font-weight: 650; }
h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.15; }
h2 { font-size: 1.15rem; }
h1, h2, p { margin: 0 0 .8rem; }
section {
    background: var(--surface);
    border: 1px solid var(--edge);
    border-radius: .75rem;
    padding: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 1rem;
}
a, summary { color: var(--action); }
label, input { display: block; }
label { margin-bottom: .8rem; }
label input { margin-top: .3rem; }
input, button {
    border: 1px solid var(--edge);
    border-radius: .4rem;
    font: inherit;
    padding: .55rem .7rem;
    min-height: 2.75rem;
}
input { width: 100%; min-width: 0; background: #101720; color: inherit; }
button { cursor: pointer; background: var(--action); color: #142623; font-weight: 650; }
button.quiet { background: transparent; color: inherit; }
:focus-visible { outline: 2px solid #f3d494; outline-offset: 2px; }
.account, .copy { display: flex; gap: .5rem; align-items: center; }
.account { justify-content: space-between; margin-bottom: .8rem; }
.account p { margin: 0; overflow-wrap: anywhere; }
.copy-result { color: var(--muted); min-height: 1.5rem; }
.entry-link, details label { margin-top: 1rem; }
.notice { color: #ffcfaa; }
dl { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 0; }
dd { margin: 0; font-weight: 600; }
