:root {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #17211b;
  background: #eef3ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;

  min-height: 100vh;

  background:
    linear-gradient(
      180deg,
      #edf4ef 0%,
      #f8faf8 100%
    );
}

button,
input {
  font: inherit;
}

.login-shell {
  width: min(100%, 430px);

  min-height: 100vh;

  margin: 0 auto;

  display: grid;
  align-items: center;

  padding:
    max(22px, env(safe-area-inset-top))
    16px
    max(22px, env(safe-area-inset-bottom));
}

.login-card {
  width: 100%;

  padding: 26px 20px;

  border:
    1px solid #dce5de;

  border-radius: 22px;

  background: #fff;

  box-shadow:
    0 16px 42px
    rgba(26, 55, 36, .09);
}

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-bottom: 30px;
}

.brand-mark {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  background: #235f3d;
  color: #fff;

  font-size: 17px;
  font-weight: 800;
}

.brand-name {
  margin: 0 0 2px;

  font-size: 16px;
  font-weight: 800;
}

.brand-subtitle {
  margin: 0;

  color: #78827b;

  font-size: 12px;
}

.eyebrow {
  margin: 0 0 6px;

  color: #66736a;

  font-size: 11px;
  font-weight: 750;

  letter-spacing: .08em;

  text-transform: uppercase;
}

h1 {
  margin: 0;

  font-size: 27px;
  line-height: 1.2;
}

.intro {
  margin:
    8px
    0
    24px;

  color: #69756d;

  font-size: 13px;
  line-height: 1.5;
}

.field {
  display: grid;

  gap: 7px;

  margin-bottom: 14px;
}

.field span {
  color: #4f5b53;

  font-size: 12px;
  font-weight: 700;
}

.field input {
  width: 100%;

  min-height: 48px;

  padding: 0 13px;

  border:
    1px solid #d5dfd8;

  border-radius: 12px;

  outline: none;

  background: #fff;

  color: #17211b;
}

.field input:focus {
  border-color: #276643;

  box-shadow:
    0 0 0 3px
    rgba(39, 102, 67, .08);
}

.message {
  min-height: 20px;

  margin: 0 0 8px;

  color: #b23b31;

  font-size: 12px;
}

.login-button,
.logout-button {
  width: 100%;

  min-height: 48px;

  border: 0;

  border-radius: 12px;

  font-weight: 750;

  cursor: pointer;
}

.login-button {
  background: #235f3d;
  color: #fff;
}

.login-button:disabled {
  opacity: .65;
  cursor: wait;
}

.workspace-card {
  text-align: center;
}

.success-mark {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  margin:
    0 auto
    18px;

  border-radius: 50%;

  background: #e9f6ed;
  color: #21643d;

  font-size: 28px;
  font-weight: 800;
}

.workspace-details {
  display: grid;

  gap: 9px;

  margin: 22px 0;
}

.workspace-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 12px;

  padding: 12px;

  border:
    1px solid #e0e7e2;

  border-radius: 12px;

  background: #f8faf8;

  text-align: left;
}

.workspace-details span {
  color: #6c776f;

  font-size: 12px;
}

.workspace-details strong {
  font-size: 13px;
}

.workspace-note {
  margin:
    0
    0
    18px;

  color: #68736b;

  font-size: 12px;
}

.logout-button {
  border:
    1px solid #d5dfd8;

  background: #fff;

  color: #26322a;
}

[hidden] {
  display: none !important;
}