.lg-root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --panel: #f3f0ea;
  --border: rgba(26, 24, 22, 0.08);
  --border-strong: rgba(26, 24, 22, 0.14);
  --text: #1a1816;
  --text-2: #4a4540;
  --muted: #8a847d;
  --muted-2: #b6b0a8;
  --hover: rgba(26, 24, 22, 0.04);
  --radius: 8px;
  --radius-lg: 12px;
  --accent: #c85a3e;
  --accent-soft: rgba(200, 90, 62, 0.10);
  --font-sans: "Geist", "DM Sans", -apple-system, "Helvetica Neue", sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --lg-deep: #211e1b;
  --lg-deep-text: #f3efe8;
  --lg-deep-2nd: #cabfb1;
  --lg-deep-muted: #98907f;
  --lg-deep-line: rgba(243, 239, 232, 0.12);
  --lg-deep-accent: var(--accent);
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  overflow: hidden; }
  .lg-root *, .lg-root *::before, .lg-root *::after {
    box-sizing: border-box; }

.lg-root.is-panel-left {
  grid-template-columns: 1fr 472px; }

.lg-root.is-panel-right {
  grid-template-columns: 472px 1fr; }

.lg-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 56px 28px;
  min-width: 0; }

.lg-form__inner {
  margin: auto;
  width: 100%;
  max-width: 332px;
  display: flex;
  flex-direction: column; }

.lg-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 40px; }

.lg-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em; }

.lg-brand__mark img {
  max-width: 30px;
  max-height: 30px;
  object-fit: contain; }

.lg-brand__name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2; }

.lg-brand__sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px; }

.lg-head {
  margin-bottom: 26px; }

.lg-title {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  line-height: 1.1; }

.lg-sub {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  text-wrap: pretty; }

.lg-flash {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px; }

.lg-flash__item {
  font-size: 12.5px;
  line-height: 1.45;
  padding: 9px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2); }

.lg-flash__item.is-error,
.lg-flash__item.is-alert,
.lg-flash__item.is-danger {
  border-color: color-mix(in srgb, #c0392b 40%, transparent);
  background: color-mix(in srgb, #c0392b 8%, transparent);
  color: #8c2a20; }

.lg-flash__item.is-notice,
.lg-flash__item.is-success {
  border-color: color-mix(in srgb, #2e7d4f 38%, transparent);
  background: color-mix(in srgb, #2e7d4f 8%, transparent);
  color: #235c3a; }

.lg-fields {
  display: flex;
  flex-direction: column;
  gap: 14px; }

.lg-field {
  display: flex;
  flex-direction: column;
  gap: 7px; }

.lg-field__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: space-between; }

.lg-input {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0 12px;
  height: 42px;
  transition: border-color 0.15s, box-shadow 0.15s; }

.lg-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft); }

.lg-input__icon {
  color: var(--muted);
  display: grid;
  place-items: center;
  flex-shrink: 0; }

.lg-input input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 13.5px;
  color: var(--text);
  min-width: 0;
  height: 100%; }

.lg-input input::placeholder {
  color: var(--muted-2); }

.lg-eye {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 6px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  border: 0;
  background: none; }

.lg-eye:hover {
  color: var(--text);
  background: var(--hover); }

.lg-eye__on,
.lg-eye__off {
  display: inline-flex;
  align-items: center;
  gap: 5px; }

.lg-eye__off {
  display: none; }

.lg-eye.is-on .lg-eye__on {
  display: none; }

.lg-eye.is-on .lg-eye__off {
  display: inline-flex; }

.lg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px; }

.lg-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  user-select: none; }

.lg-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0; }

.lg-check__box {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: transparent;
  transition: background 0.12s, border-color 0.12s, color 0.12s; }

.lg-check.is-on .lg-check__box,
.lg-check:has(input:checked) .lg-check__box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff; }

.lg-link {
  font-size: 12.5px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500; }

.lg-link:hover {
  text-decoration: underline; }

.lg-submit {
  margin-top: 22px;
  height: 44px;
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: opacity 0.15s, transform 0.05s; }

.lg-submit:hover {
  opacity: 0.92; }

.lg-submit:active {
  transform: translateY(0.5px); }

.lg-submit.is-loading {
  opacity: 0.7;
  cursor: default; }

.lg-submit__label {
  display: inline-flex;
  align-items: center;
  gap: 9px; }

.lg-submit.is-loading .lg-submit__label {
  display: none; }

.lg-spin {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lg-spin 0.7s linear infinite; }

.lg-submit.is-loading .lg-spin {
  display: block; }

@keyframes lg-spin {
  to {
    transform: rotate(360deg); } }

.lg-aux {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  text-wrap: pretty; }

.lg-aux a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500; }

.lg-aux a:hover {
  text-decoration: underline; }

.lg-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted-2); }

.lg-foot__mark {
  width: 15px;
  height: 15px;
  background: var(--muted-2);
  border-radius: 4px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: var(--bg); }

.lg-foot strong {
  color: var(--muted);
  font-weight: 600; }

.lg-panel {
  position: relative;
  background: var(--lg-deep);
  color: var(--lg-deep-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(48px, 4.5vw, 96px) clamp(52px, 5vw, 112px); }

.lg-panel__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--lg-deep-accent) 12%, transparent), transparent 55%), radial-gradient(90% 70% at 0% 100%, rgba(243, 239, 232, 0.05), transparent 60%);
  pointer-events: none; }

.lg-panel__quote {
  position: absolute;
  top: -52px;
  left: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 320px;
  line-height: 1;
  color: var(--lg-deep-text);
  opacity: 0.05;
  pointer-events: none;
  user-select: none; }

.lg-panel__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px; }

.lg-greet {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lg-deep-muted);
  line-height: 1.7; }

.lg-greet strong {
  color: var(--lg-deep-2nd);
  font-weight: 500; }

.lg-refresh {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--lg-deep-line);
  background: none;
  cursor: pointer;
  color: var(--lg-deep-2nd);
  display: grid;
  place-items: center;
  transition: background 0.15s, transform 0.4s ease; }

.lg-refresh:hover {
  background: rgba(243, 239, 232, 0.06); }

.lg-refresh:active {
  transform: rotate(-180deg); }

.lg-panel__body {
  position: relative;
  max-width: clamp(30ch, 32vw, 46ch); }

.lg-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lg-deep-accent) 16%, transparent);
  color: var(--lg-deep-accent);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 22px; }

.lg-tag__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lg-deep-accent); }

.lg-verse {
  font-size: clamp(30px, 2.2vw, 46px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  text-wrap: balance;
  transition: opacity 0.3s ease; }

.lg-ref {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--lg-deep-2nd); }

.lg-rule {
  height: 1px;
  width: 44px;
  background: var(--lg-deep-line);
  margin: 24px 0 18px; }

.lg-reflect {
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.6;
  color: var(--lg-deep-muted);
  margin: 0;
  max-width: clamp(42ch, 36vw, 54ch);
  text-wrap: pretty;
  transition: opacity 0.3s ease; }

.lg-fade {
  opacity: 0; }

.lg-panel__sig {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lg-deep-muted);
  display: flex;
  align-items: center;
  gap: 8px; }

.lg-panel__sig .lg-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--lg-deep-muted); }

.lg-panel--photo {
  background: #1c1916; }

.lg-panel__photo {
  position: absolute;
  inset: 0;
  background-color: #2c2620;
  background-size: cover;
  background-position: center;
  pointer-events: none; }

.lg-panel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.55) 0%, rgba(20, 17, 14, 0.2) 38%, rgba(20, 17, 14, 0.82) 100%);
  pointer-events: none; }

.lg-panel--photo .lg-panel__body {
  max-width: clamp(32ch, 34vw, 48ch); }

.lg-panel--brand {
  justify-content: center;
  align-items: flex-start; }

.lg-brandpanel {
  position: relative;
  max-width: clamp(30ch, 32vw, 46ch); }

.lg-brandpanel__logo {
  max-width: clamp(200px, 18vw, 320px);
  max-height: clamp(80px, 8vw, 132px);
  object-fit: contain;
  margin-bottom: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.92; }

.lg-brandpanel__name {
  font-size: clamp(30px, 2.2vw, 46px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px; }

.lg-brandpanel__sub {
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.6;
  color: var(--lg-deep-muted);
  margin: 0;
  max-width: clamp(36ch, 32vw, 50ch); }

.lg-root--mobile {
  display: flex;
  flex-direction: column;
  background: var(--bg); }

.lg-root--mobile .lg-form {
  padding: 26px 24px 22px;
  flex: 1; }

.lg-root--mobile .lg-form__inner {
  max-width: 100%;
  margin: 0; }

.lg-root--mobile .lg-brand {
  margin: 14px 0 22px; }

.lg-mverse {
  position: relative;
  margin: 0 0 24px;
  padding: 16px 16px 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--lg-deep);
  color: var(--lg-deep-text);
  overflow: hidden; }

.lg-mverse__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--lg-deep-accent) 16%, transparent), transparent 60%);
  pointer-events: none; }

.lg-mverse__tag {
  position: relative;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lg-deep-accent);
  margin-bottom: 9px; }

.lg-mverse__text {
  position: relative;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  text-wrap: balance; }

.lg-mverse__ref {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lg-deep-2nd); }

@media (max-width: 1023px) {
  .lg-root.is-panel-left,
  .lg-root.is-panel-right {
    grid-template-columns: 1fr; }
  .lg-panel {
    display: none; }
  .lg-form {
    padding: 26px 24px 22px; }
  .lg-form__inner {
    max-width: 360px; }
  .lg-mobile-only {
    display: block; } }

.lg-mobile-only {
  display: none; }
