/* Login-only styles: keep unrelated public and admin modules off the entry path. */
:root { --ink:#090908; --gold:#d7ad59; --gold-bright:#ebca83; }
* { box-sizing:border-box; }
html { background:#090908; }
body { margin:0; font-family:var(--font-geist-sans),Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { touch-action:manipulation; }
img { display:block; max-width:100%; }

.staff-login-page { min-height: 100svh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); background: #f4f1e9; color: #11110f; }
.staff-login-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; padding: clamp(30px, 5vw, 76px); overflow: hidden; background: radial-gradient(circle at 73% 18%, rgba(211,161,68,.2), transparent 28%), linear-gradient(145deg, #171611, #050505 74%); color: #fff; }
.staff-login-brand::after { content: ""; position: absolute; inset: auto -18% -28% 12%; aspect-ratio: 1; border: 1px solid rgba(216,174,91,.18); border-radius: 50%; box-shadow: 0 0 0 52px rgba(216,174,91,.025), 0 0 0 104px rgba(216,174,91,.018); }
.staff-login-brand > * { position: relative; z-index: 1; }
.staff-login-brand > a { width: fit-content; }
.staff-login-brand img { width: clamp(118px, 14vw, 188px); height: auto; }
.staff-login-brand div { max-width: 520px; }
.staff-login-brand p { margin: 0 0 14px; color: #d8ae5b; font-size: 9px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.staff-login-brand h1 { margin: 0 0 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(43px, 5.3vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: .94; }
.staff-login-brand div > span { display: block; max-width: 410px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.7; }
.staff-login-brand > small { color: rgba(255,255,255,.42); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.staff-login-panel { display: grid; align-content: center; justify-items: center; gap: 28px; padding: 36px; }
.staff-login-panel > form { display: grid; gap: 20px; width: min(440px, 100%); padding: clamp(30px, 5vw, 54px); border: 1px solid rgba(9,9,8,.11); border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(43,32,14,.09); }
.staff-login-panel header span { color: #a8782a; font-size: 8px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.staff-login-panel header h2 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; letter-spacing: -.03em; }
.staff-login-panel header p { margin: 0; color: #777168; font-size: 10px; line-height: 1.6; }
.staff-login-panel label { display: grid; gap: 8px; }
.staff-login-panel label > span { color: #6f6a61; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.staff-login-panel input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid rgba(9,9,8,.16); border-radius: 10px; outline: 0; background: #faf9f6; color: #11110f; font: inherit; font-size: 11px; }
.staff-login-panel input:focus { border-color: #a8782a; box-shadow: 0 0 0 3px rgba(168,120,42,.1); }
.staff-password-input { position: relative; }
.staff-password-input input { padding-right: 70px; }
.staff-password-input button { position: absolute; top: 5px; right: 5px; height: 39px; padding: 0 12px; border: 0; border-radius: 7px; background: #ece7dd; color: #5e584f; cursor: pointer; font-size: 8px; font-weight: 800; }
.staff-login-submit { height: 50px; border: 1px solid #161511; border-radius: 999px; background: #161511; color: #e0b65e; cursor: pointer; font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.staff-login-submit:disabled { cursor: wait; opacity: .55; }
.staff-login-panel form > small { color: #969087; font-size: 8px; line-height: 1.5; text-align: center; }
.staff-login-panel > a { color: #6c665d; font-size: 9px; text-decoration: none; }
.staff-login-error { margin: -4px 0 0; padding: 11px 13px; border-left: 3px solid #b94242; border-radius: 5px; background: #fff0f0; color: #8b2c2c; font-size: 9px; line-height: 1.5; }

@media (max-width: 820px) {
  .staff-login-page { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .staff-login-brand { min-height: 340px; padding: 28px; }
}

@media (max-width: 820px) {
  .staff-login-brand h1 { font-size: 44px; }
}

@media (max-width: 820px) {
  .staff-login-brand > small { display: none; }
}

@media (max-width: 820px) {
  .staff-login-panel { padding: 26px 16px 46px; }
}

@media (max-width: 520px) {
  .staff-login-brand { min-height: 300px; }
}

@media (max-width: 520px) {
  .staff-login-brand div > span { display: none; }
}

@media (max-width: 520px) {
  .staff-login-panel > form { padding: 28px 20px; border-radius: 18px; }
}

.staff-login-brand img {
  transition: filter .42s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
}

.staff-login-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.staff-login-submit::after {
  position: absolute;
  z-index: 0;
  inset: -50% auto -50% -42%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 214, .62), transparent);
  content: "";
  pointer-events: none;
  transform: translate3d(-160%, 0, 0) skewX(-18deg);
  transition: transform .78s cubic-bezier(.16, 1, .3, 1);
}

.staff-login-submit > * { position: relative; z-index: 1; }

.staff-login-panel > form {
  transition:
    border-color .32s ease,
    box-shadow .42s cubic-bezier(.16, 1, .3, 1),
    transform .42s cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-reduced-motion: reduce) {

  .staff-login-submit::after { display: none; }
}
.staff-login-brand p,
.staff-login-panel header span,
.staff-login-panel header p,
.staff-login-shortcut strong,
.staff-login-shortcut span,
.staff-shortcut-tip strong,
.staff-shortcut-tip span,
.staff-login-panel > a {
  font-size: 12px !important;
  line-height: 1.5;
}
.staff-shortcut-tip { display:grid; gap:5px; padding:13px 14px; border:1px solid rgba(20,17,11,.12); border-radius:12px; background:#f6f2e9; }
.staff-shortcut-tip strong { color:#2c271f; font-size:12px; }
.staff-shortcut-tip span { color:#696157; font-size:12px; line-height:1.55; }
.staff-login-panel input { min-height:48px; font-size:16px; }
.staff-login-panel label > span, .staff-password-input button { font-size:12px; }
.staff-login-submit { font-size:14px; }
.staff-login-panel :where(a,button,input):focus-visible { outline:3px solid #b4822a; outline-offset:3px; }
.staff-login-panel form > small { font-size:12px; line-height:1.5; }
.staff-login-brand > small { font-size:12px; }
.staff-login-error { min-height:44px; padding:12px 14px; border:1px solid rgba(143,55,46,.24); border-left:3px solid #8f372e; border-radius:12px; color:#762b24; font-size:12px; line-height:1.5; }
@media (max-width:820px) { .staff-login-page { min-width:0; } .staff-login-panel { min-width:0; } .staff-login-panel > form { min-width:0; } }
