* { box-sizing: border-box; }
body { font-family: system-ui, "Segoe UI", Tahoma, sans-serif; max-width: 820px; margin: 0 auto; padding: 1rem; color: #1f2328; background: #f6f8fa; }
header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
h1 { font-size: 1.5rem; margin: .5rem 0; }
h2 { font-size: 1.15rem; margin-top: 0; }
section { background: #fff; border: 1px solid #d0d7de; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
label { display: block; margin-top: .75rem; font-weight: 600; }
input, select, button { font: inherit; padding: .55rem .7rem; border-radius: 6px; }
input, select { width: 100%; border: 1px solid #8c959f; background: #fff; }
input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid #0969da; outline-offset: 1px; }
button { margin-top: .75rem; border: 1px solid #0969da; background: #0969da; color: #fff; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
button.link { background: none; border: none; color: #0969da; text-decoration: underline; padding: .25rem; margin: 0; }
button.small, a.btn.small { margin: 0 .25rem 0 0; padding: .3rem .6rem; font-size: .9rem; }
a.btn { display: inline-block; border: 1px solid #0969da; background: #0969da; color: #fff; border-radius: 6px; text-decoration: none; }
a.btn:focus-visible { outline: 3px solid #0969da; outline-offset: 1px; }
button.danger { background: #cf222e; border-color: #cf222e; }
.tabs { display: flex; gap: .5rem; }
.tabs button { margin-top: 0; background: #fff; color: #0969da; }
.tabs button[aria-selected="true"] { background: #0969da; color: #fff; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .45rem; border-bottom: 1px solid #eaeef2; vertical-align: middle; word-break: break-word; }
.badge { padding: .1rem .5rem; border-radius: 1rem; font-size: .85rem; background: #eaeef2; }
.badge.approved { background: #dafbe1; color: #116329; }
.badge.pending { background: #fff8c5; color: #7d4e00; }
.badge.rejected { background: #ffebe9; color: #a40e26; }
.empty { color: #57606a; font-style: italic; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#msg { min-height: 1.6rem; margin: .5rem 0; font-weight: 600; }
#msg.err { color: #a40e26; }
#msg.ok { color: #116329; }
