:root { color-scheme: dark; font: 16px/1.5 system-ui,sans-serif; background: #181210; color: #fff0db; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.page-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding: 1rem max(1rem,calc((100vw - 62rem)/2)); border-bottom: 1px solid #583d2a; }
a { color: #ffca82; }
.brand { color: #fff0db; text-decoration: none; font-weight: 800; }
.brand span { color: #ffca82; }
main { max-width: 64rem; margin: auto; padding: 1.5rem 1rem 3rem; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.65rem); letter-spacing: -.04em; }
h2 { margin-top: 0; }
.panel { border: 1px solid #6d5138; background: #261b15; padding: clamp(.9rem,3vw,1.4rem); border-radius: .9rem; min-width: 0; }
.account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.narrow { max-width: 36rem; margin-bottom: 1rem; }
form { display: grid; gap: .45rem; }
label { display: block; font-weight: 650; margin: .25rem 0; }
input,select,button,.actions a { min-height: 44px; border-radius: .45rem; padding: .45rem .65rem; font: inherit; }
input, select { width: 100%; border: 1px solid #a07a55; background: #181210; color: inherit; }
button { width: fit-content; margin-top: .45rem; font-weight: 750; color: #241712; background: #ffca82; cursor: pointer; border: 0; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 3px solid #ffca82; outline-offset: 2px; }
.create-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.create-form button { align-self: end; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.actions a { border: 1px solid #a07a55; }
.account-list { list-style: none; padding: 0; }
.account-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .7rem; padding: .55rem 0; border-top: 1px solid #6d5138; }
.account-list li span { overflow-wrap: anywhere; }
[role="status"] { color: #f6d7ad; }
[role="status"]:empty { margin: 0; }
@media (max-width: 610px) {
  .account-grid,.create-form { grid-template-columns: minmax(0,1fr); }
}
