* { box-sizing: border-box; }
body { margin: 0; background: #f4f6fa; color: #18263b; font: 15px/1.55 system-ui, sans-serif; }
header { background: #14263e; color: #fff; padding: 14px max(20px, 5vw); display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
header a { color: #fff; }
nav { display: flex; flex: 1; gap: 18px; flex-wrap: wrap; }
.brand { font-size: 19px; font-weight: 750; text-decoration: none; }
.brand span { margin-left: 12px; color: #c3d7ec; font-size: 13px; }
main { max-width: 1400px; margin: 32px auto; padding: 0 20px; }
.card { background: #fff; border: 1px solid #dce4ed; border-radius: 14px; padding: clamp(16px, 3vw, 32px); }
.login { max-width: 420px; margin: 60px auto; }
h1 { margin: 0 0 20px; line-height: 1.25; font-size: 26px; }
h2 { font-size: 19px; margin-top: 22px; }
a { color: #174d8b; text-underline-offset: 3px; }
.inline { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.stack { display: grid; gap: 12px; max-width: 680px; }
label { display: grid; gap: 5px; }
input, select, textarea, button, .secondary { border-radius: 7px; padding: 8px 12px; font: inherit; }
input, select, textarea { border: 1px solid #a4b6c8; color: inherit; background: #fff; min-width: 0; }
textarea { resize: vertical; width: 100%; }
button { cursor: pointer; background: #1b5192; border: 1px solid #1b5192; color: #fff; }
.stack button { justify-self: start; }
.secondary { display: inline-block; background: #eaf0f7; border: 1px solid #d8e1eb; color: #163659; text-decoration: none; }
.hint { color: #475b70; margin: 0; }
.message { padding: 12px 16px; margin-bottom: 14px; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ok { background: #e0f4e9; color: #155537; }
.error { background: #fce7e9; color: #8a232b; }
.table-wrap { overflow-x: auto; margin: 20px 0 12px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 10px 12px; border-bottom: 1px solid #dce4ed; white-space: nowrap; }
th { background: #eef3f8; }
.note { white-space: normal; min-width: 120px; overflow-wrap: anywhere; }
.status { background: #edf1f8; color: #26496f; padding: 3px 8px; border-radius: 5px; }
.status.refunded { background: #e0f4e9; color: #155537; }
.status.rejected { background: #fce7e9; color: #8a232b; }
.status.processing { background: #fff2d9; color: #765208; }
.history { padding-left: 20px; }

