/* Base rules mirror LoginView and are scoped to the anonymous login surface. */

#stitch-login{
  min-height:100vh;
  background:#faf8f5;
  color:#1f2421;
  font:16px/1.5 "DM Sans","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased
}

:where(#stitch-login) *,:where(#stitch-login) *::before,:where(#stitch-login) *::after{
  box-sizing:border-box;
  border-width:0;
  border-style:solid;
  border-color:currentColor
}

#stitch-login :where(h1,h2,h3,p){
  margin:0;
  font-size:inherit;
  font-weight:inherit;
  line-height:inherit;
  letter-spacing:inherit
}

#stitch-login :where(button,input){
  padding:0;
  margin:0;
  font:inherit;
  color:inherit;
  background:transparent
}

#stitch-login :where(button){
  cursor:pointer
}

#stitch-login :where(svg){
  display:block;
  vertical-align:middle
}

#stitch-login [hidden]{
  display:none!important
}

#stitch-login .bg-stitch-pattern{
  background-color:#132a1f;
  background-image:radial-gradient(circle at 1px 1px,rgba(255,255,255,.08) 1px,transparent 0),linear-gradient(to right,rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size:28px 28px,56px 56px,56px 56px
}

#stitch-login .shadow-xs{
  box-shadow:0 1px 2px 0 rgb(0 0 0 / .05)
}

#stitch-login input[type=checkbox]{
  -webkit-appearance:auto;
     -moz-appearance:auto;
          appearance:auto;
  accent-color:#1a382b
}

#stitch-login button:disabled{
  opacity:.65;
  cursor:wait
}

#stitch-login :is(button,input):focus-visible{
  outline:2px solid #3e7b62;
  outline-offset:3px
}

#stitch-login #auth-status{
  margin-top:10px;
  font-size:12px;
  line-height:1.5;
  color:#824321
}

#stitch-login dialog.login-guide{
  padding:24px;
  width:min(448px,calc(100vw - 32px));
  margin:auto;
  border:1px solid #e2e8f0;
  border-radius:12px;
  color:#0f172a;
  background:white;
  box-shadow:0 25px 50px -12px #0004
}

#stitch-login dialog::backdrop{
  background:rgb(2 6 23 / .4)
}

#stitch-login .login-guide h3{
  font-size:16px;
  font-weight:700
}

#stitch-login .login-guide p{
  margin:16px 0;
  font-size:12px;
  color:#475569;
  line-height:1.625
}

#stitch-login .guide-actions{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding-top:8px
}

#stitch-login .guide-actions button{
  padding:8px 14px;
  font-size:12px;
  font-weight:550;
  border-radius:8px
}

#stitch-login .guide-primary{
  background:#1a382b;
  color:white
}

#stitch-login .guide-secondary{
  color:#475569
}

@media(prefers-reduced-motion:reduce){
  :where(#stitch-login) *{
    transition-duration:0s!important
  }
}

#stitch-login .pointer-events-none{
  pointer-events:none
}

#stitch-login .absolute{
  position:absolute
}

#stitch-login .relative{
  position:relative
}

#stitch-login .inset-0{
  inset:0px
}

#stitch-login .inset-y-0{
  top:0px;
  bottom:0px
}

#stitch-login .left-0{
  left:0px
}

#stitch-login .right-0{
  right:0px
}

#stitch-login .z-10{
  z-index:10
}

#stitch-login .mx-auto{
  margin-left:auto;
  margin-right:auto
}

#stitch-login .my-auto{
  margin-top:auto;
  margin-bottom:auto
}

#stitch-login .mb-1\.5{
  margin-bottom:0.375rem
}

#stitch-login .mb-2{
  margin-bottom:0.5rem
}

#stitch-login .mb-8{
  margin-bottom:2rem
}

#stitch-login .ml-2{
  margin-left:0.5rem
}

#stitch-login .mt-0\.5{
  margin-top:0.125rem
}

#stitch-login .mt-2{
  margin-top:0.5rem
}

#stitch-login .mt-4{
  margin-top:1rem
}

#stitch-login .mt-8{
  margin-top:2rem
}

#stitch-login .block{
  display:block
}

#stitch-login .flex{
  display:flex
}

#stitch-login .inline-flex{
  display:inline-flex
}

#stitch-login .hidden{
  display:none
}

#stitch-login .h-3\.5{
  height:0.875rem
}

#stitch-login .h-4{
  height:1rem
}

#stitch-login .h-9{
  height:2.25rem
}

#stitch-login .h-\[21px\]{
  height:21px
}

#stitch-login .h-full{
  height:100%
}

#stitch-login .min-h-screen{
  min-height:100vh
}

#stitch-login .w-3\.5{
  width:0.875rem
}

#stitch-login .w-4{
  width:1rem
}

#stitch-login .w-9{
  width:2.25rem
}

#stitch-login .w-\[21px\]{
  width:21px
}

#stitch-login .w-full{
  width:100%
}

#stitch-login .max-w-lg{
  max-width:32rem
}

#stitch-login .max-w-md{
  max-width:28rem
}

#stitch-login .shrink-0{
  flex-shrink:0
}

#stitch-login .select-none{
  -webkit-user-select:none;
     -moz-user-select:none;
          user-select:none
}

#stitch-login .flex-col{
  flex-direction:column
}

#stitch-login .items-center{
  align-items:center
}

#stitch-login .justify-center{
  justify-content:center
}

#stitch-login .justify-between{
  justify-content:space-between
}

#stitch-login .gap-1{
  gap:0.25rem
}

#stitch-login .gap-1\.5{
  gap:0.375rem
}

#stitch-login .gap-3{
  gap:0.75rem
}

#stitch-login .gap-4{
  gap:1rem
}

#stitch-login :is(.space-x-1\.5 > :not([hidden]) ~ :not([hidden])){
  --tw-space-x-reverse:0;
  margin-right:calc(0.375rem * var(--tw-space-x-reverse));
  margin-left:calc(0.375rem * calc(1 - var(--tw-space-x-reverse)))
}

#stitch-login :is(.space-x-2 > :not([hidden]) ~ :not([hidden])){
  --tw-space-x-reverse:0;
  margin-right:calc(0.5rem * var(--tw-space-x-reverse));
  margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))
}

#stitch-login :is(.space-x-3 > :not([hidden]) ~ :not([hidden])){
  --tw-space-x-reverse:0;
  margin-right:calc(0.75rem * var(--tw-space-x-reverse));
  margin-left:calc(0.75rem * calc(1 - var(--tw-space-x-reverse)))
}

#stitch-login :is(.space-x-4 > :not([hidden]) ~ :not([hidden])){
  --tw-space-x-reverse:0;
  margin-right:calc(1rem * var(--tw-space-x-reverse));
  margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))
}

#stitch-login :is(.space-y-3 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse:0;
  margin-top:calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(0.75rem * var(--tw-space-y-reverse))
}

#stitch-login :is(.space-y-4 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse:0;
  margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(1rem * var(--tw-space-y-reverse))
}

#stitch-login :is(.space-y-7 > :not([hidden]) ~ :not([hidden])){
  --tw-space-y-reverse:0;
  margin-top:calc(1.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(1.75rem * var(--tw-space-y-reverse))
}

#stitch-login .overflow-hidden{
  overflow:hidden
}

#stitch-login .whitespace-nowrap{
  white-space:nowrap
}

#stitch-login .rounded{
  border-radius:0.25rem
}

#stitch-login .rounded-lg{
  border-radius:0.5rem
}

#stitch-login .rounded-xl{
  border-radius:0.75rem
}

#stitch-login .border{
  border-width:1px
}

#stitch-login .border-b{
  border-bottom-width:1px
}

#stitch-login .border-r{
  border-right-width:1px
}

#stitch-login .border-t{
  border-top-width:1px
}

#stitch-login .border-\[\#1A382B\]{
  --tw-border-opacity:1;
  border-color:rgb(26 56 43 / var(--tw-border-opacity, 1))
}

#stitch-login .border-\[\#1A382B\]\/40{
  border-color:rgb(26 56 43 / 0.4)
}

#stitch-login .border-\[\#EAE4DC\]{
  --tw-border-opacity:1;
  border-color:rgb(234 228 220 / var(--tw-border-opacity, 1))
}

#stitch-login .border-emerald-500\/20{
  border-color:rgb(16 185 129 / 0.2)
}

#stitch-login .border-stone-300{
  --tw-border-opacity:1;
  border-color:rgb(214 211 209 / var(--tw-border-opacity, 1))
}

#stitch-login .bg-\[\#132A1F\]{
  --tw-bg-opacity:1;
  background-color:rgb(19 42 31 / var(--tw-bg-opacity, 1))
}

#stitch-login .bg-\[\#1A382B\]{
  --tw-bg-opacity:1;
  background-color:rgb(26 56 43 / var(--tw-bg-opacity, 1))
}

#stitch-login .bg-\[\#1A382B\]\/65{
  background-color:rgb(26 56 43 / 0.65)
}

#stitch-login .bg-\[\#C8EAD7\]{
  --tw-bg-opacity:1;
  background-color:rgb(200 234 215 / var(--tw-bg-opacity, 1))
}

#stitch-login .bg-\[\#FAF8F5\]{
  --tw-bg-opacity:1;
  background-color:rgb(250 248 245 / var(--tw-bg-opacity, 1))
}

#stitch-login .bg-white{
  --tw-bg-opacity:1;
  background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))
}

#stitch-login .p-3\.5{
  padding:0.875rem
}

#stitch-login .p-6{
  padding:1.5rem
}

#stitch-login .p-8{
  padding:2rem
}

#stitch-login .px-3{
  padding-left:0.75rem;
  padding-right:0.75rem
}

#stitch-login .px-3\.5{
  padding-left:0.875rem;
  padding-right:0.875rem
}

#stitch-login .px-5{
  padding-left:1.25rem;
  padding-right:1.25rem
}

#stitch-login .py-10{
  padding-top:2.5rem;
  padding-bottom:2.5rem
}

#stitch-login .py-2{
  padding-top:0.5rem;
  padding-bottom:0.5rem
}

#stitch-login .py-2\.5{
  padding-top:0.625rem;
  padding-bottom:0.625rem
}

#stitch-login .py-3{
  padding-top:0.75rem;
  padding-bottom:0.75rem
}

#stitch-login .py-8{
  padding-top:2rem;
  padding-bottom:2rem
}

#stitch-login .pb-5{
  padding-bottom:1.25rem
}

#stitch-login .pl-3{
  padding-left:0.75rem
}

#stitch-login .pl-9{
  padding-left:2.25rem
}

#stitch-login .pr-10{
  padding-right:2.5rem
}

#stitch-login .pr-3{
  padding-right:0.75rem
}

#stitch-login .pt-1{
  padding-top:0.25rem
}

#stitch-login .pt-2{
  padding-top:0.5rem
}

#stitch-login .pt-5{
  padding-top:1.25rem
}

#stitch-login .text-center{
  text-align:center
}

#stitch-login .font-mono{
  font-family:JetBrains Mono, ui-monospace, SFMono-Regular, Menlo, monospace
}

#stitch-login .text-2xl{
  font-size:1.5rem;
  line-height:2rem
}

#stitch-login .text-3xl{
  font-size:1.875rem;
  line-height:2.25rem
}

#stitch-login .text-\[11px\]{
  font-size:11px
}

#stitch-login .text-sm{
  font-size:0.875rem;
  line-height:1.25rem
}

#stitch-login .text-xl{
  font-size:1.25rem;
  line-height:1.75rem
}

#stitch-login .text-xs{
  font-size:0.75rem;
  line-height:1rem
}

#stitch-login .font-bold{
  font-weight:700
}

#stitch-login .font-medium{
  font-weight:500
}

#stitch-login .font-semibold{
  font-weight:600
}

#stitch-login .uppercase{
  text-transform:uppercase
}

#stitch-login .leading-relaxed{
  line-height:1.625
}

#stitch-login .leading-snug{
  line-height:1.375
}

#stitch-login .tracking-tight{
  letter-spacing:-0.025em
}

#stitch-login .tracking-wide{
  letter-spacing:0.025em
}

#stitch-login .tracking-wider{
  letter-spacing:0.05em
}

#stitch-login .tracking-widest{
  letter-spacing:0.1em
}

#stitch-login .text-\[\#032217\]{
  --tw-text-opacity:1;
  color:rgb(3 34 23 / var(--tw-text-opacity, 1))
}

#stitch-login .text-\[\#1A382B\]{
  --tw-text-opacity:1;
  color:rgb(26 56 43 / var(--tw-text-opacity, 1))
}

#stitch-login .text-\[\#1F2421\]{
  --tw-text-opacity:1;
  color:rgb(31 36 33 / var(--tw-text-opacity, 1))
}

#stitch-login .text-\[\#ADCEBC\]{
  --tw-text-opacity:1;
  color:rgb(173 206 188 / var(--tw-text-opacity, 1))
}

#stitch-login .text-\[\#C8EAD7\]{
  --tw-text-opacity:1;
  color:rgb(200 234 215 / var(--tw-text-opacity, 1))
}

#stitch-login .text-emerald-100\/75{
  color:rgb(209 250 229 / 0.75)
}

#stitch-login .text-emerald-200\/70{
  color:rgb(167 243 208 / 0.7)
}

#stitch-login .text-emerald-200\/75{
  color:rgb(167 243 208 / 0.75)
}

#stitch-login .text-emerald-200\/80{
  color:rgb(167 243 208 / 0.8)
}

#stitch-login .text-emerald-200\/90{
  color:rgb(167 243 208 / 0.9)
}

#stitch-login .text-emerald-300{
  --tw-text-opacity:1;
  color:rgb(110 231 183 / var(--tw-text-opacity, 1))
}

#stitch-login .text-emerald-300\/60{
  color:rgb(110 231 183 / 0.6)
}

#stitch-login .text-emerald-400{
  --tw-text-opacity:1;
  color:rgb(52 211 153 / var(--tw-text-opacity, 1))
}

#stitch-login .text-emerald-700{
  --tw-text-opacity:1;
  color:rgb(4 120 87 / var(--tw-text-opacity, 1))
}

#stitch-login .text-emerald-800\/80{
  color:rgb(6 95 70 / 0.8)
}

#stitch-login .text-emerald-900{
  --tw-text-opacity:1;
  color:rgb(6 78 59 / var(--tw-text-opacity, 1))
}

#stitch-login .text-stone-300{
  --tw-text-opacity:1;
  color:rgb(214 211 209 / var(--tw-text-opacity, 1))
}

#stitch-login .text-stone-400{
  --tw-text-opacity:1;
  color:rgb(168 162 158 / var(--tw-text-opacity, 1))
}

#stitch-login .text-stone-500{
  --tw-text-opacity:1;
  color:rgb(120 113 108 / var(--tw-text-opacity, 1))
}

#stitch-login .text-stone-600{
  --tw-text-opacity:1;
  color:rgb(87 83 78 / var(--tw-text-opacity, 1))
}

#stitch-login .text-stone-700{
  --tw-text-opacity:1;
  color:rgb(68 64 60 / var(--tw-text-opacity, 1))
}

#stitch-login .text-white{
  --tw-text-opacity:1;
  color:rgb(255 255 255 / var(--tw-text-opacity, 1))
}

#stitch-login .underline-offset-2{
  text-underline-offset:2px
}

#stitch-login .placeholder-stone-400::-moz-placeholder{
  --tw-placeholder-opacity:1;
  color:rgb(168 162 158 / var(--tw-placeholder-opacity, 1))
}

#stitch-login .placeholder-stone-400::placeholder{
  --tw-placeholder-opacity:1;
  color:rgb(168 162 158 / var(--tw-placeholder-opacity, 1))
}

#stitch-login .accent-\[\#1A382B\]{
  accent-color:#1A382B
}

#stitch-login .opacity-25{
  opacity:0.25
}

#stitch-login .shadow-sm{
  --tw-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);
  box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}

#stitch-login .backdrop-blur-sm{
  --tw-backdrop-blur:blur(4px);
  -webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}

#stitch-login .transition{
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration:150ms
}

#stitch-login .transition-transform{
  transition-property:transform;
  transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration:150ms
}

#stitch-login .\[text-wrap\:balance\]{
  text-wrap:balance
}

#stitch-login .hover\:bg-\[\#132A1F\]:hover{
  --tw-bg-opacity:1;
  background-color:rgb(19 42 31 / var(--tw-bg-opacity, 1))
}

#stitch-login .hover\:bg-stone-50:hover{
  --tw-bg-opacity:1;
  background-color:rgb(250 250 249 / var(--tw-bg-opacity, 1))
}

#stitch-login .hover\:text-\[\#1A382B\]:hover{
  --tw-text-opacity:1;
  color:rgb(26 56 43 / var(--tw-text-opacity, 1))
}

#stitch-login .hover\:text-stone-600:hover{
  --tw-text-opacity:1;
  color:rgb(87 83 78 / var(--tw-text-opacity, 1))
}

#stitch-login .hover\:text-stone-700:hover{
  --tw-text-opacity:1;
  color:rgb(68 64 60 / var(--tw-text-opacity, 1))
}

#stitch-login .hover\:underline:hover{
  text-decoration-line:underline
}

#stitch-login .focus\:border-\[\#1A382B\]:focus{
  --tw-border-opacity:1;
  border-color:rgb(26 56 43 / var(--tw-border-opacity, 1))
}

#stitch-login .focus\:outline-none:focus{
  outline:2px solid transparent;
  outline-offset:2px
}

#stitch-login .focus\:ring-2:focus{
  --tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)
}

#stitch-login .focus\:ring-\[\#1A382B\]:focus{
  --tw-ring-opacity:1;
  --tw-ring-color:rgb(26 56 43 / var(--tw-ring-opacity, 1))
}

#stitch-login .focus\:ring-offset-2:focus{
  --tw-ring-offset-width:2px
}

#stitch-login :is(.group:hover .group-hover\:translate-x-1){
  --tw-translate-x:0.25rem;
  transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

@media (min-width: 640px){
  #stitch-login .sm\:flex-row{
    flex-direction:row
  }

  #stitch-login .sm\:p-10{
    padding:2.5rem
  }

  #stitch-login .sm\:p-12{
    padding:3rem
  }

  #stitch-login .sm\:py-10{
    padding-top:2.5rem;
    padding-bottom:2.5rem
  }

  #stitch-login .sm\:text-3xl{
    font-size:1.875rem;
    line-height:2.25rem
  }

  #stitch-login .sm\:text-4xl{
    font-size:2.25rem;
    line-height:2.5rem
  }

  #stitch-login .sm\:text-sm{
    font-size:0.875rem;
    line-height:1.25rem
  }
}

@media (min-width: 1024px){
  #stitch-login .lg\:w-5\/12{
    width:41.666667%
  }

  #stitch-login .lg\:w-7\/12{
    width:58.333333%
  }

  #stitch-login .lg\:flex-row{
    flex-direction:row
  }

  #stitch-login .lg\:p-14{
    padding:3.5rem
  }
}

@media (min-width: 1280px){
  #stitch-login .xl\:w-\[45\%\]{
    width:45%
  }

  #stitch-login .xl\:w-\[55\%\]{
    width:55%
  }

  #stitch-login .xl\:p-16{
    padding:4rem
  }
}
