:root{color-scheme:dark;--bg:#0c1020;--panel:#151a2c;--line:#34374a;--paper:#ffe9bc;--text:#fff4e3;--muted:#c8bfbe;--accent:#ffb66c;--ink:#1d1324;font-family:system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0}a{color:var(--accent)}main{margin:auto;max-width:65rem;padding:clamp(1rem,4vw,3rem)}.invitation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:clamp(1.5rem,5vw,4.5rem)}.invite-art{display:block;width:100%;height:auto;border-radius:1rem;box-shadow:0 1rem 4rem #050812b9}.event h1,.door h1{font-size:clamp(2.5rem,5.5vw,4.75rem);line-height:.95;color:var(--paper);margin:0 0 1rem;letter-spacing:-.06em}.event strong{display:block;font-size:1.125rem}.event p,.door p{color:var(--muted);line-height:1.55}.event .when{color:var(--text);font-weight:650}.event .location{margin:.2rem 0 1.6rem}.panel{background:var(--panel);border:1px solid var(--line);border-radius:1rem;padding:clamp(1rem,3vw,1.6rem)}h2{margin:0 0 .8rem;font-size:1.35rem}.form{display:grid;gap:.65rem}label{font-size:1rem;font-weight:620}input{width:100%;min-height:2.8rem;border:1px solid #777b94;background:#0c1020;color:var(--text);padding:.65rem .8rem;border-radius:.5rem;font:inherit}button,.button-link{min-height:2.75rem;display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:.5rem;background:var(--accent);color:var(--ink);padding:.65rem 1rem;font:inherit;font-weight:750;cursor:pointer;text-decoration:none}button.secondary,.button-link.secondary{background:transparent;border:1px solid var(--line);color:var(--text)}:focus-visible{outline:3px solid #ffcb89;outline-offset:3px}.notice{padding:.65rem .8rem;border-left:3px solid var(--accent);background:#2a2331}.staff{display:inline-block;margin-top:1.5rem}.door{max-width:52rem}.door-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.door-header h1{font-size:clamp(2.3rem,6vw,3.25rem)}.door .status{margin:.5rem 0 1rem}.toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin:1.5rem 0}.toolbar input{flex:1;min-width:12rem}.records{list-style:none;padding:0;margin:0}.record{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:.8rem 0}.record strong{font-size:1.05rem}.record span{color:#ace3c2}.record form{margin:0}.access{max-width:27rem}.return{display:inline-block;margin-bottom:1rem}.empty{color:var(--muted)}@media(max-width:43rem){.invitation{grid-template-columns:1fr}.event{order:-1}.event h1{margin-top:1rem}.invite-art{max-width:31rem;margin:auto}.door-header{flex-wrap:wrap}}@media print{body{background:white;color:black}.door{padding:0}.toolbar,.door-header form,.record form,.return{display:none}.record span{color:#222}}

[hidden]{display:none!important}
.door section+section{margin-top:2.2rem}.record{flex-wrap:wrap}.person{display:grid;gap:.2rem}.person small{color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}.row-actions{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.settings{margin-top:1.5rem}.settings summary{cursor:pointer;margin-bottom:.8rem}.result{max-width:37rem}.result h1{font-size:clamp(2.2rem,6vw,3.2rem)}.result .button-link{width:max-content;max-width:100%}.result input{margin-top:.45rem}.result .form{margin-top:1.5rem}.result .notice{margin:1rem 0}.same-origin{margin-top:1rem}.settings form{max-width:25rem}.pill{display:inline-block;color:var(--muted)}

.party-reminder strong {
  color: var(--accent);
}

.party-reminder .party-phrase {
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0;
}
