:root {
  color-scheme: light;
  --ink: #123e46;
  --muted: #60737a;
  --water: #d9edef;
  --paper: #ffffff;
  --line: #cfdddf;
  --focus: #087c89;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.login-layout { min-height: 100svh; display: grid; grid-template-columns: 48% 52%; }
.identity { position: relative; overflow: hidden; padding: 48px 56px 36px; background: var(--ink); color: white; display: flex; flex-direction: column; }
.logo { object-fit: contain; object-position: left; }
.identity-copy { margin: auto 0; padding: 80px 0 180px; position: relative; z-index: 1; }
.product-name { font-size: 16px; margin: 0 0 28px; color: #b9d9dd; }
h1 { font-size: clamp(34px, 3.5vw, 56px); line-height: 1.12; letter-spacing: -2px; font-weight: 500; margin: 0 0 26px; }
.intro { font-size: 16px; line-height: 1.7; color: #c8dfe2; }
.identity-footer { position: relative; z-index: 1; color: #c8dfe2; font-size: 13px; margin: 0; }
.water-pattern { width: 560px; height: 260px; position: absolute; right: -100px; bottom: 0; transform: rotate(-25deg); }
.water-pattern i { display: block; position: absolute; inset: 0; border: 1px solid #57818a; border-radius: 50%; }
.water-pattern i:nth-child(2) { inset: 30px; }
.water-pattern i:nth-child(3) { inset: 60px; }
.water-pattern i:nth-child(4) { inset: 90px; }
.sign-in { display: flex; flex-direction: column; min-width: 0; padding: 48px 64px 32px; }
.form-panel { width: 100%; max-width: 380px; margin: auto; padding: 36px 0 50px; }
.access-icon { width: 48px; height: 48px; background: #edf5f5; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.8px; font-weight: 600; margin: 0 0 10px; }
.form-intro { margin: 0 0 32px; color: var(--muted); font-size: 15px; }
.employee-login { min-height: 87px; }
#google-button { min-height: 44px; display: flex; justify-content: center; }
#google-status { font-size: 13px; color: var(--muted); margin: 6px 0; text-align: center; }
.hint { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.6; margin: 10px 0 0; }
.divider { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 12px; margin: 28px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
label { display: block; font-size: 13px; font-weight: 600; margin: 18px 0 8px; }
input:not([type="hidden"]) { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 7px; color: var(--ink); font-size: 14px; }
input::placeholder { color: #73838a; }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.show-password { position: absolute; inset: 4px 4px 4px auto; border: 0; background: transparent; color: var(--muted); padding: 0 12px; font-size: 12px; border-radius: 4px; }
.submit-button { width: 100%; margin-top: 24px; min-height: 48px; border: 0; border-radius: 7px; background: var(--ink); color: white; font-size: 14px; font-weight: 600; }
.submit-button:hover { background: #1b5660; }
.access-note { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 20px 0 0; }
.error-message { background: #fff1ef; border: 1px solid #ecc4be; color: #942c23; padding: 12px 14px; border-radius: 7px; font-size: 13px; line-height: 1.5; margin: 0 0 20px; }
.sign-in-footer { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 11px; }
@media (max-width: 950px) {
  .identity { padding: 36px 32px 28px; }
  .sign-in { padding: 36px 32px 28px; }
  .desktop-break { display: none; }
}
@media (max-width: 680px) {
  .login-layout { grid-template-columns: 1fr; }
  .identity { padding: 26px 24px; }
  .logo { width: 120px; height: 30px; }
  .identity-copy { padding: 30px 0 8px; margin: 0; }
  .product-name { margin-bottom: 12px; font-size: 13px; }
  h1 { font-size: 32px; letter-spacing: -1px; }
  h1 br { display: none; }
  .intro, .identity-footer, .water-pattern { display: none; }
  .sign-in { padding: 16px 24px 24px; }
  .form-panel { padding: 20px 0 36px; }
  .access-icon { display: none; }
  h2 { font-size: 28px; }
}
