:root {
  color-scheme: light;
  --team-ink: #102a43;
  --team-green: #123d38;
  --team-teal: #0f8177;
  --team-teal-soft: #e8f5f2;
  --team-gold: #d7a839;
  --team-paper: #ffffff;
  --team-ground: #edf3f1;
  --team-line: #cedbd6;
  --team-muted: #687872;
  --team-danger: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--team-ground);
  color: var(--team-ink);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hidden {
  display: none !important;
}

.team-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(380px, 42%) minmax(460px, 1fr);
  background: var(--team-paper);
}

.team-brand-panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--team-green);
  color: #fff;
  padding: clamp(34px, 5vw, 76px);
}

.team-brand-lockup,
.team-workspace-brand,
.team-mobile-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.team-brand-mark {
  width: 70px;
  height: 70px;
}

.team-brand-product {
  margin: 0;
  color: #cbded8;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.team-brand-lockup h1 {
  margin: 1px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
}

.team-brand-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-block: auto;
  padding-block: 70px;
}

.team-eyebrow {
  margin: 0 0 8px;
  color: var(--team-teal);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-brand-copy .team-eyebrow {
  color: #f0c766;
}

.team-brand-copy h2 {
  margin: 0;
  max-width: 520px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.team-brand-copy > p:last-child {
  max-width: 470px;
  margin: 22px 0 0;
  color: #cbded8;
  font-size: 16px;
  line-height: 1.6;
}

.team-brand-signature {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
}

.team-brand-signature span {
  width: 32px;
  height: 4px;
  background: #fff;
}

.team-brand-signature span:nth-child(2) {
  background: var(--team-gold);
}

.team-brand-signature span:nth-child(3) {
  background: #65b5a7;
}

.team-access-panel {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #fff;
  padding: 40px;
}

.team-access-content {
  width: min(430px, 100%);
}

.team-mobile-brand {
  display: none;
}

.team-form-panel h2 {
  margin: 0;
  color: var(--team-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

.team-form-lead {
  margin: 12px 0 0;
  color: var(--team-muted);
  line-height: 1.55;
}

.team-form-panel form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.team-form-panel label {
  display: grid;
  gap: 7px;
  color: #27463f;
  font-size: 13px;
  font-weight: 850;
}

.team-form-panel input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--team-line);
  border-radius: 6px;
  background: #fff;
  color: var(--team-ink);
  padding: 10px 12px;
}

.team-form-panel input:focus {
  border-color: var(--team-teal);
  outline: 3px solid rgba(15, 129, 119, 0.14);
}

.team-primary-button,
.team-secondary-button,
.team-text-button {
  border-radius: 6px;
  font-weight: 850;
}

.team-primary-button {
  min-height: 46px;
  border: 1px solid var(--team-teal);
  background: var(--team-teal);
  color: #fff;
  padding: 10px 16px;
}

.team-primary-button:hover,
.team-primary-button:focus-visible {
  background: #0b6d65;
  outline: 3px solid rgba(15, 129, 119, 0.18);
}

.team-secondary-button {
  min-height: 38px;
  border: 1px solid var(--team-line);
  background: #fff;
  color: #27463f;
  padding: 8px 13px;
}

.team-text-button {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: var(--team-teal);
  padding: 6px 0;
}

.team-form-status {
  display: none;
  margin: 18px 0 -8px;
  border-left: 3px solid var(--team-danger);
  background: #fff2f0;
  color: #92261e;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
}

.team-form-status.visible {
  display: block;
}

.team-form-status.info {
  border-left-color: var(--team-teal);
  background: var(--team-teal-soft);
  color: #17665e;
}

.team-access-note,
.team-access-footer {
  color: var(--team-muted);
  font-size: 11px;
}

.team-access-note {
  margin: 14px 0 0;
}

.team-access-footer {
  display: flex;
  gap: 8px;
  margin-top: 50px;
  border-top: 1px solid #e5ece9;
  padding-top: 16px;
}

.team-workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  background: var(--team-ground);
}

.team-workspace-sidebar {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--team-line);
  background: var(--team-green);
  color: #fff;
  padding: 24px 18px;
}

.team-workspace-mark,
.team-mobile-mark {
  width: 42px;
  height: 42px;
}

.team-workspace-brand div {
  display: grid;
  gap: 1px;
}

.team-workspace-brand strong {
  font-size: 15px;
}

.team-workspace-brand span {
  color: #bcd2cc;
  font-size: 12px;
  text-transform: uppercase;
}

.team-workspace-sidebar nav {
  margin-top: 44px;
}

.team-nav-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #cfe0dc;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
}

.team-nav-item.active {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.team-workspace-account {
  margin-top: auto;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  padding-top: 18px;
}

.team-account-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--team-gold);
  color: #352907;
  font-size: 11px;
  font-weight: 950;
}

.team-workspace-account div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.team-workspace-account strong,
.team-workspace-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-workspace-account strong {
  font-size: 12px;
}

.team-workspace-account small {
  color: #bcd2cc;
  font-size: 10px;
}

.team-workspace-main {
  min-width: 0;
  padding: 28px 34px;
}

.team-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--team-line);
  padding-bottom: 22px;
}

.team-workspace-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: 0;
}

.team-workspace-ready {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: #fff;
  margin-top: 26px;
  border: 1px solid var(--team-line);
  border-radius: 8px;
  padding: 40px;
}

.team-ready-mark {
  width: 82px;
  height: 82px;
}

.team-workspace-ready h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  letter-spacing: 0;
}

.team-workspace-ready > div > p:last-child {
  max-width: 520px;
  margin: 10px 0 0;
  color: var(--team-muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .team-auth-shell {
    grid-template-columns: 1fr;
  }

  .team-brand-panel {
    display: none;
  }

  .team-access-panel {
    min-height: 100vh;
    padding: 28px 20px;
  }

  .team-mobile-brand {
    display: flex;
    margin-bottom: 50px;
    color: var(--team-green);
  }

  .team-workspace {
    grid-template-columns: 1fr;
  }

  .team-workspace-sidebar {
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 12px 16px;
  }

  .team-workspace-sidebar nav {
    margin: 0;
  }

  .team-workspace-account {
    margin: 0;
    border: 0;
    padding: 0;
  }

  .team-workspace-main {
    padding: 22px 18px;
  }
}

@media (max-width: 580px) {
  .team-workspace-sidebar {
    grid-template-columns: 1fr auto;
  }

  .team-workspace-sidebar nav {
    display: none;
  }

  .team-workspace-account div {
    display: none;
  }

  .team-workspace-account {
    grid-template-columns: auto;
  }

  .team-workspace-ready {
    align-items: flex-start;
    flex-direction: column;
    min-height: 300px;
    padding: 28px;
  }
}
