:root { color-scheme: light; --paper: #faf9f6; --ink: #2e2e2e; --gold: #95713b; --line: #e1dbcf; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.7 system-ui, sans-serif; }
.account-shell { max-width: 760px; margin: auto; padding: 32px 24px 80px; }
.account-shell.wide { max-width: 1100px; }
nav { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 44px; }
a { color: var(--gold); text-underline-offset: 4px; }
.eyebrow { color: var(--gold); font-size: 12px; letter-spacing: .18em; margin: 0 0 8px; }
h1 { margin: 0 0 12px; font: 500 32px/1.4 'Noto Serif SC', 'Songti SC', serif; }
h2 { font-size: 19px; margin: 0 0 20px; font-weight: 500; }
p { margin: 8px 0 20px; }
.muted, small { color: #78736a; }
.card { margin-top: 24px; padding: 28px; background: #fffefa; border: 1px solid var(--line); border-radius: 12px; }
.tabs, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tabs { margin: 28px 0 20px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; border-radius: 0; background: transparent; color: #78736a; border-bottom: 2px solid transparent; }
.tabs button[aria-selected=true] { color: var(--gold); border-bottom-color: var(--gold); }
form { display: grid; gap: 18px; }
label { display: grid; gap: 6px; }
input { width: 100%; padding: 11px 12px; border: 1px solid #cec7ba; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; min-width: 0; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
button { cursor: pointer; padding: 10px 18px; border-radius: 6px; border: 1px solid var(--gold); background: var(--gold); color: white; font: inherit; }
button.secondary { background: transparent; color: var(--gold); }
button.danger { color: #943f35; border-color: #c69b93; background: transparent; }
button:disabled { cursor: wait; opacity: .55; }
[hidden] { display: none !important; }
.notice { min-height: 26px; margin: 16px 0; overflow-wrap: anywhere; color: #79602e; }
.notice.error { color: #a23e35; }
.identity { overflow-wrap: anywhere; }
ul { padding-left: 22px; }
li { margin: 12px 0; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: #78736a; font-weight: 500; }
td .actions { gap: 8px; flex-wrap: nowrap; }
td button { padding: 5px 10px; font-size: 13px; }
dialog { width: min(480px, calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); max-height: calc(100dvh - 32px); overflow: auto; }
dialog::backdrop { background: #29251d80; }
.temporary { font-family: monospace; }
@media(max-width: 500px) { .account-shell { padding: 22px 16px 48px; } nav { margin-bottom: 30px; } .card { padding: 20px 16px; } h1 { font-size: 27px; } button { padding: 10px 14px; } }
