:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17263c;
  background: #f3f0e9;
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; min-height: 100svh; display: flex; flex-direction: column; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a { color: inherit; }
:focus-visible { outline: 3px solid #b84631; outline-offset: 4px; }
.signin-header { padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 32px; font-weight: 780; letter-spacing: -1.3px; }
.brand-mark { display: flex; align-items: center; gap: 3px; height: 26px; }
.brand-mark i { display: block; width: 5px; border-radius: 5px; background: #ee684f; animation: mark-in .6s both; }
.brand-mark i:nth-child(1) { height: 13px; }
.brand-mark i:nth-child(2) { height: 26px; animation-delay: .08s; }
.brand-mark i:nth-child(3) { height: 18px; animation-delay: .16s; }
.workspace-label { font-size: 12px; color: #6e756f; }
main { flex: 1; display: grid; place-items: center; padding: 36px 24px 72px; }
.signin-content { width: 100%; max-width: 410px; animation: arrive .45s ease-out both; }
.eyebrow { margin: 0 0 17px; color: #737b85; font-size: 10px; letter-spacing: .17em; font-weight: 750; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 6vw, 48px); font-weight: 400; letter-spacing: -1.6px; line-height: 1.12; margin: 0 0 15px; }
.intro { margin: 0 0 34px; color: #6e756f; font-size: 14px; line-height: 1.7; }
.field { margin-bottom: 22px; }
label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 650; }
input { display: block; width: 100%; min-height: 52px; padding: 12px 15px; border: 1px solid #cdcac1; border-radius: 7px; background: #fffdf8; color: #17263c; font-size: 16px; transition: border-color .16s, box-shadow .16s; }
input:focus { outline: none; border-color: #c45740; box-shadow: 0 0 0 3px #ee684f21; }
input[aria-invalid="true"] { border-color: #b44331; }
.password-field { position: relative; }
.password-field input { padding-right: 77px; }
.password-field button { position: absolute; inset: 4px 4px 4px auto; padding: 0 14px; min-width: 60px; border: 0; border-radius: 4px; color: #59636e; background: transparent; font-size: 12px; cursor: pointer; }
.password-field button:hover { color: #17263c; background: #f3f0e9; }
.signin-button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 52px; margin-top: 29px; padding: 14px 18px; border: 0; border-radius: 7px; background: #ee684f; color: #18253a; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .18s, transform .18s; }
.signin-button:hover:not(:disabled) { background: #f07a64; transform: translateY(-1px); }
.signin-button:active:not(:disabled) { transform: translateY(0); }
.signin-button:disabled { cursor: wait; opacity: .65; }
.button-arrow { font-size: 21px; line-height: 1; transition: transform .18s; }
.signin-button:hover:not(:disabled) .button-arrow { transform: translateX(3px); }
.signin-button[aria-busy="true"] .button-arrow { width: 16px; height: 16px; font-size: 0; border: 2px solid #17263c40; border-top-color: #17263c; border-radius: 50%; animation: spin .7s linear infinite; }
.help { margin: 26px 0 0; font-size: 12px; line-height: 1.8; color: #6e756f; text-align: center; }
.notice { margin: -12px 0 25px; padding-left: 12px; border-left: 2px solid #ee684f; font-size: 13px; line-height: 1.6; color: #59636e; }
.form-error { margin: 0; color: #ae3827; font-size: 13px; line-height: 1.6; }
.local-link { display: inline-block; margin: 10px 0; font-size: 14px; text-underline-offset: 4px; }
footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px 24px 28px; color: #747a75; font-size: 11px; line-height: 1.6; text-align: center; }
.footer-dot { height: 5px; width: 5px; flex-shrink: 0; border-radius: 50%; background: #ee684f; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mark-in { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 540px) {
  .signin-header { padding: 25px 24px; }
  .workspace-label { display: none; }
  main { padding-top: 32px; padding-bottom: 42px; }
  footer { font-size: 10px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
