[hidden] { display: none !important; }

.access-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: clamp(20px, 5vw, 72px);
  background: radial-gradient(ellipse at 15% 12%, #e5f2ee, transparent 55%), #f5f8f7;
}

.access-layout {
  display: grid;
  width: min(100%, 950px);
  grid-template-columns: 1fr 1.03fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 24px 64px #173f4b14, 0 4px 16px #173f4b0a;
}

.access-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 90px;
  padding: clamp(34px, 5vw, 64px);
  background: radial-gradient(ellipse at 94% 96%, #d3ebe3, transparent 67%), #eef6f3;
  border-right: 1px solid var(--border);
}

.access-brand img {
  display: block;
  width: min(100%, 244px);
  height: auto;
}

.access-brand-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.access-brand-copy p {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.access-card {
  align-self: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 64px);
}

.access-card h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.access-intro {
  margin: 10px 0 28px;
  color: var(--secondary);
}

.access-form, .access-form label {
  display: grid;
}

.access-form { gap: 18px; }
.access-form label { gap: 7px; font-size: .9rem; font-weight: 700; }

.access-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #b8cac6;
  border-radius: 9px;
  background: #f8fbfa;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.access-form input:focus-visible, .access-form button:focus-visible {
  outline: 3px solid #4a8b7e;
  outline-offset: 2px;
}

.access-form .button {
  min-height: 49px;
  margin-top: 4px;
}

.access-status {
  margin: 14px 0 0;
  color: var(--secondary);
  font-size: .88rem;
}

.access-status:empty { margin: 0; }
.access-status[data-kind="error"] {
  padding: 10px 12px;
  border: 1px solid #f1b4ae;
  border-radius: 8px;
  background: #fff1f0;
  color: var(--danger);
}

.dashboard-logo { width: min(36vw, 175px); height: auto; }

.form-grid select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #b8cac6;
  border-radius: 8px;
  background: #f7faf9;
  color: var(--text);
  font: inherit;
}

.form-grid select:focus-visible { outline: 3px solid #4a8b7e; outline-offset: 2px; }
#sales-search { margin-bottom: 24px; }
#sales-pages { margin-top: 14px; }
.commission-pages { margin-top: 16px; }
.settlement-check { display: flex; align-items: center; gap: 9px; width: fit-content; }
.settlement-check input { width: 18px; height: 18px; accent-color: var(--primary); }

@media (max-width: 680px) {
  .access-page { padding: 20px 14px; }
  .access-layout { grid-template-columns: 1fr; border-radius: 18px; }
  .access-brand {
    gap: 22px;
    padding: 27px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .access-brand img { width: min(100%, 180px); }
  .access-brand-copy span { margin-bottom: 6px; }
  .access-brand-copy p { font-size: clamp(1.6rem, 7vw, 2.15rem); }
  .access-desktop-break { display: none; }
  .access-card { padding: 28px 24px 32px; }
}
