* { box-sizing: border-box; }
body { margin: 0; background: #f9f9f6; color: #21251d; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", system-ui, sans-serif; }
main { margin: clamp(38px, 12vh, 144px) auto; width: min(440px, calc(100% - 32px)); }
a { color: inherit; text-underline-offset: 3px; }
.back { display: inline-block; margin: 0 0 16px 4px; font-size: 14px; color: #575d52; text-decoration: none; }
section { padding: clamp(22px, 5vw, 32px); background: #fff; border: 1px solid #deded5; border-radius: 18px; }
.brand { display:block; }
h1 { font-size: 25px; margin: 16px 0 24px; }
h2 { font-size: 17px; margin: 0; }
.summary,.method,.method span { display: flex; align-items: center; gap: 8px; }
.summary,.method { justify-content: space-between; }
.summary { flex-wrap: wrap; }
.summary p,.status,footer { font-size: 13px; color: #61665b; }
.summary p { margin: 5px 0 0; }
.summary strong { font-size: 24px; }
#recipient-row:not([hidden]), .pending-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
#recipient { margin: 14px 0 0; overflow-wrap: anywhere; font-size: 14px; }
#recipient-row form { flex: none; margin-top: 14px; }
button.switch-account { width: auto; padding: 4px 0; font-size: 13px; white-space: nowrap; }
button.switch-account:enabled { background: transparent; color: #35402f; text-decoration: underline; text-underline-offset: 3px; }
button.switch-account:enabled:hover { background: transparent; color: #575d52; }
.method { margin: 23px 0 16px; padding: 13px 15px; border: 1px solid #d5d7cd; border-radius: 9px; font-weight: 600; }
.radio { width: 15px; height: 15px; border: 4px solid #35402f; border-radius: 50%; }
button { width: 100%; padding: 12px; font: inherit; border-radius: 8px; border: 0; background: #e7e8e2; color: #606459; }
button:enabled { background: #292e25; color: white; cursor: pointer; }
button:enabled:hover { background: #444b3e; }
.status,footer { text-align:center; }
.status { margin: 9px 0 0; }
footer { margin: 20px 0; }
dialog { width: min(390px, calc(100% - 32px)); padding: 24px; border: 1px solid #deded5; border-radius: 16px; color: inherit; }
dialog::backdrop { background: rgb(33 37 29 / 42%); }
dialog p { margin: 12px 0; }
#pending-status { font-size: 13px; color: #61665b; }
#pending-status:empty { display: none; }
.pending-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pending-actions form, .pending-actions > button { flex: 1; min-width: 110px; }
.pending-actions .danger:enabled { background: #a62e28; }
.pending-actions .danger:enabled:hover { background: #85221d; }
