#signup {
  box-sizing: border-box;
  width: min(440px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 36px clamp(22px, 6vw, 40px) 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: #161916;
  background: #fff;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 20px 70px #0d1b1738;
  text-align: center;
}
#signup::backdrop { background: rgb(20 24 22 / 52%); }
body:has(#signup[open]) { overflow: hidden; }
#signup h2 { font-size: clamp(1.4rem, 4vw, 1.65rem); line-height: 1.25; font-weight: 600; margin: 0 12px; letter-spacing: -.025em; }
#signup h2:focus { outline: none; }
#signup-intro, .signup-address { color: #535953; font-size: .94rem; margin: 10px 0 24px; }
#signup-close { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; }
#signup-close, #signup-edit, #signup-login { border: 0; background: transparent; color: inherit; }
#signup-close { font-size: 1.4rem; line-height: 1; }
.signup-providers, #signup form { display: grid; gap: 10px; }
.signup-providers button, #signup .signup-primary, #signup input:not(.signup-hidden) {
  width: 100%; min-height: 48px; border-radius: 30px; font-size: 1rem;
}
.signup-providers button { display: flex; align-items: center; justify-content: center; gap: 9px; background: white; color: #161916; border: 1px solid #939793; font-weight: 600; }
.signup-providers button:disabled { opacity: 1; color: #676c67; border-color: #cbd0cb; cursor: not-allowed; }
.signup-providers button:not(:disabled):hover { background: #f2f5f2; }
.signup-providers svg, .signup-providers img { width: 18px; height: 18px; object-fit: contain; }
.signup-or { display: flex; align-items: center; gap: 14px; margin: 16px 0; color: #656a65; font-size: .85rem; }
.signup-or::before, .signup-or::after { content: ''; flex: 1; height: 1px; background: #d9ddda; }
#signup input { background: #fafbf9; padding-inline: 18px; }
#signup .signup-primary { background: #131713; color: #fff; border: 1px solid #131713; font-weight: 650; }
#signup .signup-primary:hover { background: #2b332e; }
#signup-login { margin-top: 8px; font-size: .9rem; }
#signup-login strong, #signup-edit { text-decoration: underline; text-underline-offset: 3px; }
#signup .signup-address { overflow-wrap: anywhere; margin-bottom: 12px; }
#signup-edit { min-height: 44px; }
#signup label { display: flex; justify-content: space-between; align-items: baseline; }
#signup label small { font-weight: 400; }
.signup-hidden { display: none; }
#signup .signup-note { font-size: .85rem; color: #525952; }
#signup-error { margin: 12px 0 0; color: #942f1c; font-size: .9rem; }
#signup-error:empty { display: none; }
#signup :is(button,input):focus-visible { outline: 3px solid #327652; outline-offset: 2px; }

body.employee-entry {
  min-height: 100vh; display: flow-root; background: #111613; color: #f3f5ed;
}
.employee-entry > header { background: #111613; border-bottom: 1px solid #363e37; }
#nav > a { font-size: .94rem; font-weight: 500; padding-block: .65rem; }
.employee-entry main {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,390px); gap: 1.5rem; align-items: center;
  width: min(95%,1440px); min-height: clamp(510px,75vh,820px); margin: 1.4rem auto;
  padding: clamp(24px,5vw,80px); border-radius: 20px;
  background: linear-gradient(0deg,#08110fdf,transparent 70%), url('/ui/studio-city.webp') center / cover;
}
.entry-art { align-self: end; text-shadow: 0 2px 12px #08100e; }
.entry-art span { font-size: 1.05rem; }
.entry-art h1 { font-size: clamp(2.7rem,6vw,6rem); line-height: 1.05; font-weight: 600; letter-spacing: -.045em; margin: .45rem 0 0; }
.employee-entry .entry-card {
  background: #142019f5; color: #f1f5ee; border: 1px solid #647166; border-radius: 18px;
  padding: clamp(20px,3vw,36px); margin: 0; box-shadow: 0 14px 40px #07130b44;
}
.entry-card h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.employee-entry .entry-card input, body.employee-entry #signup input {
  background: #101713; color: #f4f6f0; border-color: #738174;
}
.employee-entry .entry-card form button, .employee-entry #signup .signup-primary {
  background: #d9efb8; color: #19251b; border: 1px solid #d9efb8; border-radius: 25px;
}
.entry-register { border-top: 1px solid #465349; margin-top: 1.25rem; padding-top: 1rem; }
.entry-register button { width: 100%; border-radius: 25px; background: transparent; border-color: #7b8b7d; color: #eef4e9; }
.entry-org { display: block; padding: .75rem 0; }.employee-entry .entry-org { color: #d9efb8; }
body.employee-entry #signup { background: #17201a; color: #f2f5ef; border: 1px solid #67776b; }
.employee-entry #signup::backdrop { background: #08100ebf; }
.employee-entry #signup :is(#signup-intro,.signup-note,.signup-address,.signup-or,label small) { color: #c1cdc3; }
.employee-entry #signup .signup-providers button { background: #243027; color: #f4f6ef; border-color: #879589; }
.employee-entry #signup .signup-providers button:disabled { color: #a9b2a9; background: #1d271f; border-color: #49564b; }
.employee-entry #signup input::placeholder { color: #aeb9b0; }
.employee-entry #signup-error { color: #ffc2ae; }
.admin-tools { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr)); gap: 1rem; }
.admin-tools a { display: grid; align-content: start; gap: .6rem; padding: 1.5rem; border: 1px solid #bdcabb; background: #fff; border-radius: 14px; color: #21372a; text-decoration: none; }
.admin-tools strong { font-size: 1.2rem; }.admin-tools a:hover { border-color: #386145; }
@media(max-width: 720px) {
  .employee-entry main { width: 100%; grid-template-columns: 1fr; align-content: start; min-height: calc(100vh - 75px); gap: 24px; margin: 0; border-radius: 0; padding: 24px 16px; }
  .entry-art { padding: 32px 8px 8px; }
}
