:root { --auth-bronze: #d5b27a; --auth-border: #baa16b2b; }
[hidden] { display: none !important; }
.auth-shell { min-height: 100svh; width: 100%; padding: 55px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.auth-brand { display: flex; align-items: center; gap: 13px; font-family: Georgia, 'Times New Roman', serif; font-size: 22px; letter-spacing: .25em; color: #ded6c4; }
.auth-brand span { font-size: 28px; color: #b49a68; }
.auth-card { position: relative; width: min(440px, 100%); padding: 36px; border: 1px solid var(--auth-border); border-radius: 8px; background: linear-gradient(145deg, #23271fe8, #161c17ed); box-shadow: 0 24px 90px #0003; }
.auth-card::before { content: ''; position: absolute; width: 38px; height: 1px; background: #c4a166; top: -1px; left: 36px; }
.kicker { margin: 0 0 12px; font-size: 9px; letter-spacing: .19em; text-transform: uppercase; color: #b49768; }
.auth-card h1 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 33px; font-weight: 400; letter-spacing: -.025em; line-height: 1.2; color: #eee5d3; }
.lead { margin: 15px 0 27px; color: #939d8b; font-size: 13px; line-height: 1.65; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
label { display: block; color: #c4c8b7; font-size: 11px; margin: 20px 0 9px; }
fieldset label:first-child { margin-top: 0; }
input { display: block; width: 100%; min-height: 45px; padding: 12px 13px; border: 1px solid #9a9e7c36; border-radius: 4px; background: #1117128c; color: #e5e6da; font: inherit; font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus { border-color: #bc9b6099; box-shadow: 0 0 0 3px #bc9b6010; }
input:disabled { opacity: .6; }
input:autofill { box-shadow: inset 0 0 0 100px #20291f; }
.primary-button, .secondary-button, .quiet-button { font: inherit; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.primary-button { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 45px; margin-top: 25px; padding: 13px 17px; border: 1px solid #c4a3686b; border-radius: 4px; background: linear-gradient(160deg, #a4854330, #8268341b); color: #e2c592; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .035em; }
.primary-button:not(:disabled):hover { background: #b5973e31; border-color: #c4a368ad; }
.primary-button:disabled, .secondary-button:disabled { cursor: wait; opacity: .55; }
.secondary-button { border: 1px solid #b395604d; border-radius: 4px; background: #b59b5120; color: #d4bc8a; padding: 11px 14px; font-size: 11px; }
.secondary-button:not(:disabled):hover { background: #b59b5135; }
.quiet-button { padding: 0; border: 0; background: none; color: #989f90; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.quiet-button:hover { color: #d4c6a6; }
.quiet-button:disabled { opacity: .45; cursor: wait; }
a:focus-visible, button:focus-visible { outline: 2px solid #d4b478; outline-offset: 5px; }
.text-link { color: #baa57c; font-size: 11px; text-decoration: none; text-underline-offset: 4px; line-height: 1.5; }
.text-link:hover { color: #e4ca94; text-decoration: underline; }
.bottom-link { display: block; margin-top: 25px; text-align: center; }
.admin-link { display: block; text-align: center; margin: 20px 0; }
.form-note, .input-help { font-size: 10px; line-height: 1.6; color: #7d8a77; }
.form-note { text-align: center; margin: 17px 0 0; }
.input-help { margin: 7px 0 0; }
.form-status { margin: 18px 0 0; color: #a7b197; font-size: 11px; line-height: 1.7; }
.form-status:empty { display: none; }
.form-error { margin: 18px 0 0; padding: 11px 13px; border: 1px solid #ae765336; border-radius: 4px; background: #a0543410; color: #d7a58c; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.session-name { font-size: 13px; color: #9ea691; line-height: 1.65; overflow-wrap: anywhere; }
.session-name strong, .account-footer strong { color: #d5c9ac; font-weight: 400; }
#session-view > .quiet-button { display: block; margin: 23px auto 0; }
.invites-shell { padding-top: 45px; padding-bottom: 45px; }
.invites-card { width: min(700px, 100%); }
.invite-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.invite-heading > .text-link { white-space: nowrap; }
.create-button { width: auto; margin: 0; }
.fresh-invite { margin-top: 27px; padding: 19px; background: #baa26608; border: 1px solid #baa26630; border-radius: 5px; }
.auth-card h2 { font-size: 12px; font-weight: 600; color: #d3ceb8; margin: 0; }
.fresh-invite > p { color: #8c9984; font-size: 11px; line-height: 1.6; }
.copy-row { display: flex; gap: 8px; margin-top: 15px; }
.copy-row input { min-width: 0; font-family: ui-monospace, monospace; font-size: 11px; color: #c9c4ab; }
.copy-row button { flex: 0 0 auto; }
.list-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 32px 0 7px; }
#invite-count { color: #727f6d; font-size: 10px; }
.invite-list { list-style: none; padding: 0; margin: 0; }
.invite-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 17px 0; border-bottom: 1px solid #baa26617; }
.invite-state { display: flex; align-items: center; gap: 9px; font-size: 11px; color: #d4c8ac; }
.invite-state::before { content: ''; width: 5px; height: 5px; border-radius: 50%; flex: 0 0 auto; background: #b5a168; }
.invite-row[data-state='used'] .invite-state::before { background: #91a77b; }
.invite-row[data-state='expired'] .invite-state::before, .invite-row[data-state='revoked'] .invite-state::before { background: #646e60; }
.invite-row[data-state='expired'] .invite-state, .invite-row[data-state='revoked'] .invite-state { color: #8c9585; }
.invite-date { margin: 6px 0 0 14px; color: #74816e; font-size: 10px; line-height: 1.65; }
.revoke-button { flex: 0 0 auto; color: #a6967d; }
.empty-list { margin: 22px 0; color: #82907b; font-size: 12px; line-height: 1.7; }
.account-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; border-top: 1px solid #baa26622; margin-top: 29px; padding-top: 20px; color: #7b8873; font-size: 10px; }
.account-footer > span { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .auth-shell { padding: 32px 18px; gap: 25px; }
  .auth-card { padding: 27px 24px; }
  .auth-card h1 { font-size: 29px; }
  .auth-card::before { left: 24px; }
  .invite-heading { align-items: flex-start; }
  .invite-heading > .text-link { margin-top: 2px; }
  .copy-row { flex-direction: column; }
  .create-button { width: 100%; }
  .fresh-invite { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
