:root { font: 15px/1.5 system-ui, sans-serif; color: #292929; background: #f3f3f3; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.rail { position: fixed; inset: 0 auto 0 0; width: 72px; padding: 24px 0; text-align: center; background: #2d2d2d; color: white; font-size: 24px; font-weight: 700; }
.rail span { color: #d68a40; }
main { margin-left: 72px; max-width: 990px; padding: 0 26px 24px; }
header { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 20px 0; }
header > div { flex: 1; }
h1, h2, h3, p { margin: 0 0 10px; }
.caption { color: #8b4619; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.panel { background: white; border: 1px solid #dcdcdc; border-radius: 8px; padding: 22px; margin-bottom: 16px; }
form, label { display: grid; gap: 8px; }
form { gap: 14px; }
#auth { max-width: 480px; }
button, input, select { font: inherit; color: inherit; padding: 9px 12px; background: white; border: 1px solid #bdbdbd; border-radius: 5px; }
button { width: fit-content; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
.primary { background: #d68a40; border-color: #d68a40; font-weight: 650; }
.primary:hover { background: #cb7d37; }
:focus-visible { outline: 3px solid #8b4619; outline-offset: 2px; }
#entryHelp { color: #555; font-size: 13px; }
#message:empty { display: none; }
#message { padding: 9px 12px; border-left: 3px solid #d68a40; background: #fbefe3; }
#preview, #invitationLabel { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { text-align: left; border-bottom: 1px solid #e0e0e0; padding: 8px; }
th { background: #fbefe3; }
th:last-child, td:last-child { text-align: right; }
.entryTable { table-layout: fixed; margin: 0; }
.entryTable th { text-align: left; }
.entryTable td { padding: 0; border: 1px solid #dcdcdc; }
.entryTable input { display: block; width: 100%; min-width: 0; border: 0; border-radius: 0; padding: 8px 10px; }
.entryTable input:focus-visible { position: relative; z-index: 1; outline-offset: -2px; }
.entryTable tbody td:last-child input { text-align: right; font-variant-numeric: tabular-nums; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 540px) { .rail { width: 42px; font-size: 18px; } main { margin-left: 42px; padding: 0 12px 16px; } .panel { padding: 12px; } header { flex-wrap: wrap; } }
