:root {
  font-family: Inter, Arial, sans-serif;
  color: #172235;
  background: #eef2f5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr minmax(380px, 520px);
  max-width: 1200px;
  margin: auto;
}
.auth-brand {
  padding: 70px 60px;
  background: #0c1726;
  color: #f6f8fb;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-brand > a,
.account-shell header > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.auth-logo {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: #9be22d;
  color: #10210a;
  font-weight: 900;
  border-radius: 7px;
}
.auth-brand h1 {
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
  max-width: 650px;
}
.auth-brand p {
  color: #c3ceda;
  line-height: 1.6;
}
.auth-brand li {
  margin: 10px 0;
}
.auth-card {
  background: #fff;
  padding: 34px;
  border: 1px solid #d5dde5;
}
.auth-main {
  margin: auto;
  width: 100%;
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid #d5dde5;
  margin-bottom: 28px;
}
.auth-tabs button {
  flex: 1;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  padding: 12px;
}
.auth-tabs button.active {
  border-color: #17704b;
  font-weight: 800;
}
.auth-card form {
  display: grid;
  gap: 16px;
}
.auth-card label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.auth-card input {
  min-height: 46px;
  border: 1px solid #9facb9;
  padding: 10px;
}
.auth-card select { min-height: 46px; border: 1px solid #9facb9; padding: 10px; background: #fff; }
.account-type { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-type legend { font-weight: 800; margin-bottom: 8px; }
.account-type label { position: relative; display: block; }
.account-type input { position: absolute; opacity: 0; pointer-events: none; }
.account-type span { min-height: 78px; display: flex; flex-direction: column; gap: 5px; padding: 13px; border: 2px solid #d5dde5; cursor: pointer; }
.account-type input:checked + span { border-color: #17704b; background: #eef8f2; color: #145d40; }
.account-type input:focus-visible + span { outline: 3px solid rgba(23,112,75,.24); }
.business-fields { display: grid; gap: 16px; }
.business-fields[hidden] { display: none; }
.auth-card small {
  font-weight: 400;
  color: #667085;
}
.auth-check {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: center;
  font-weight: 400 !important;
}
.auth-check input {
  min-height: auto;
}
.auth-primary {
  display: inline-block;
  border: 0;
  background: #17704b;
  color: #fff;
  padding: 13px 18px;
  text-decoration: none;
  text-align: center;
  font-weight: 800;
}
.auth-link {
  border: 0;
  background: none;
  color: #175b9b;
}
.auth-status {
  min-height: 24px;
}
.auth-status.success {
  color: #17704b;
}
.auth-status.error {
  color: #b4232b;
}
.account-shell {
  max-width: 1150px;
  margin: auto;
  padding: 20px;
}
.account-shell header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 24px;
}
.account-shell header > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-hero {
  background: #0c1726;
  color: #fff;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.account-hero h1 {
  font-size: 32px;
  margin: 5px 0;
}
.account-hero p {
  color: #c3ceda;
}
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.account-card {
  background: #fff;
  border: 1px solid #d5dde5;
  padding: 22px;
}
.module-access {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.module-access > div {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #cbd3dc;
  color: #667085;
}
.module-access > div.enabled {
  border-color: #17704b;
  background: #eef8f2;
  color: #145d40;
}
.module-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid #17704b;
  border-radius: 4px;
  background: #17704b;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.module-buy:hover,
.module-buy:focus-visible {
  border-color: #0f593b;
  background: #0f593b;
  color: #fff;
  transform: translateY(-1px);
}
.module-buy:focus-visible {
  outline: 3px solid rgba(23, 112, 75, .24);
  outline-offset: 2px;
}
.trial-active {
  color: #145d40;
  font-weight: 800;
}
.session-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 12px;
}
@media (max-width: 800px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    padding: 36px 24px;
  }
  .auth-brand h1 {
    font-size: 34px;
  }
  .auth-main {
    margin: 0;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-hero {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}
