/* The login pages: design/whatsapp.html#flow-3 on a phone (paper, safety orange), design/desk.html#masuk-pabrik on a
   desk (orange and graphite, side by side). Tokens from factory.css. */
.lg-body { min-height: 100vh; }
.lg-body [hidden] { display: none !important; }
.lg { display: grid; min-height: 100vh; align-content: start; }
.lg-l { background: var(--orange); color: var(--ink); padding: 20px 18px 22px; position: relative; overflow: hidden; }
.lg-kicker { font-family: var(--f-u); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600 }
.lg-l h1 { font-family: var(--f-d); font-weight: 800; font-size: 30px; line-height: .95; letter-spacing: -.02em; margin-top: 8px; }
.lg-l p { font-size: 13.5px; margin-top: 8px; max-width: 34ch; }
.lg-foot, .lg-gear { display: none; }
.lg-r { padding: 18px 16px; }
.lg-form { display: grid; gap: 12px; }
.lg-form label { font-size: 13px; font-weight: 600; }
.lg-form input[type=tel], .lg-form input[type=text], .lg-shown { height: 46px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--panel); padding: 0 12px; font-family: var(--f-m); font-size: 16px; color: var(--ink); width: 100%; display: flex; align-items: center; }
.lg-form input#code { font-size: 22px; letter-spacing: .4em; text-align: center; font-weight: 700; }
.lg-shown { border-color: var(--rule); color: var(--ink-2); }
.lg-btn { height: 46px; border-radius: 12px; border: 0; background: var(--orange); color: var(--ink); font-weight: 800; font-family: var(--f-d); font-size: 14px; display: grid; place-items: center; cursor: pointer; text-decoration: none; width: 100%; }
.lg-btn-ink { background: var(--ink); color: var(--paper); }
.lg-btn:disabled { opacity: .6; }
.lg-link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--ink-2); text-decoration: underline; cursor: pointer; }
.lg-link:disabled { text-decoration: none; cursor: default; }
.lg-resend { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.lg-small { font-size: 12.5px; color: var(--ink-2); }
.lg-rule { border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 12px; }
.lg-note { font-size: 13.5px; background: var(--wait-2); color: var(--wait); border-radius: 10px; padding: 8px 10px; }
.lg-err { font-size: 13.5px; color: var(--bug); font-weight: 600; }
.lg-codes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.lg-codes input { height: 52px; min-width: 0; border-radius: 10px; border: 1px solid var(--g4); background: var(--g2); color: var(--tx); text-align: center; font-family: var(--f-m); font-size: 22px; font-weight: 700; }
.lg-codes input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,90,31,.2); }
.lg-home { padding: 18px 16px; gap: 14px; }

@media (min-width: 1024px) {
  .lg-body { background: var(--g0); display: grid; place-items: center; padding: 40px; }
  .lg { grid-template-columns: 1.05fr 1fr; align-content: stretch; width: min(960px, 100%); min-height: 560px; border-radius: 18px; overflow: hidden; border: 1px solid var(--g3); }
  .lg-l { padding: 34px 30px; display: grid; align-content: space-between; }
  .lg-kicker { font-size: 12px; }
  .lg-l h1 { font-size: 40px; line-height: .95; letter-spacing: -.03em; margin-top: 14px; }
  .lg-l p { font-size: 13.5px; max-width: 30ch; margin-top: 12px; }
  .lg-foot { display: block; font-family: var(--f-m); font-size: 12px; }
  .lg-gear { display: block; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; opacity: .18; }
  .lg-r { background: var(--g1); color: var(--tx); padding: 34px 30px; display: grid; align-content: center; }
  .lg-form { gap: 16px; }
  .lg-form label { color: var(--tx-2); }
  .lg-form input[type=tel], .lg-form input[type=text], .lg-shown { height: 44px; border-radius: 10px; border: 1px solid var(--g4); background: var(--g2); color: var(--tx); font-size: 15px; }
  .lg-shown { color: var(--tx-2); }
  .lg-small, .lg-link, .lg-resend { color: var(--tx-3); }
  .lg-rule { border-top-color: var(--g3); }
  .lg-err { color: #ff7d9c; }
  .lg-home { max-width: 480px; }
}
/* Akses berakhir: the hero in ink, not orange (design/whatsapp.html#flow-3-5). */
.lg-ended .lg-l { background: var(--ink); color: var(--paper); }
.lg-ended .lg-l p, .lg-ended .lg-kicker, .lg-ended .lg-foot { color: #b7b1a3; }
/* Readability (W13): the footer is words. */
.lg-foot { font-family: var(--f-u); }
