:root {
  color: #1f2937;
  background: #f7f7fb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }

.panel {
  min-height: 100vh;
  padding: 28px 24px;
}

.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: white;
  background: #f06a6a;
  font-size: 25px;
  font-weight: 800;
}

h1 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
h2 { margin: 0 0 8px; font-size: 17px; }
p { line-height: 1.5; }
.lead { margin: 0 0 22px; color: #5b6472; }

.card {
  padding: 18px;
  border: 1px solid #e3e5eb;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgb(31 41 55 / 6%);
}

.card p { margin: 8px 0 16px; color: #5b6472; font-size: 14px; }
.hidden { display: none !important; }

button, .task-link {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

button { border: 0; padding: 10px 14px; }
button:disabled { cursor: wait; opacity: .6; }
.primary { color: white; background: #4262ff; }
.primary:hover { background: #3451dc; }
.secondary { margin-top: 8px; color: #4b5563; background: #eef0f4; }

.task-link {
  display: grid;
  place-items: center;
  margin-top: 8px;
  color: #3451dc;
  text-decoration: none;
  background: #edf0ff;
}

.status { margin-bottom: 10px; font-size: 14px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: #22a06b; }

.message {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 14px;
}
.message.success { color: #12633f; background: #e3fcef; }
.message.error { color: #9f2d2d; background: #ffe8e8; }

.oauth-page { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.oauth-card { width: min(440px, 100%); padding: 28px; border-radius: 16px; background: white; box-shadow: 0 12px 40px rgb(31 41 55 / 12%); text-align: center; }
.oauth-card p { color: #5b6472; }
